/* Archean theme (Romain, 6 Nov 2026): Caroline's wireframe look, white, black and simple, with the glass kept.
   Tokens are read from her wireframe (claude.ai artifact NDYoDdTz7QUK4NoAnAvt7i: Explore, Report, Top 10, Menu, Pricing,
   Favorites): ink #111111, muted #56625b, page #f2f5f8, white cards, 14 px cards / 10 px controls, accent #b9636b (heart,
   alerts) with #a8505a for text, IBM Plex Sans. The glass is ours: frosted white cards with a hairline of light on the edge.
   Loaded last (site.html), after every page's own CSS. No Apple Weather sky or dark glass any more; the old layer is still in
   b2pages.css under .b2-root.apple and skyfx.js, switched off, so going back is one class on the page root. */

:root {
  --font: 'Geist', 'Inter', 'Helvetica Neue', Arial, sans-serif; /* Geist everywhere (brand guide, 11 Nov 2026) */
  --th-ink: #2a3036;
  --th-mute: #56625b;
  --th-page: #f3f1ec; /* limewash (pigment palette, 7 Nov 2026) */
  --th-accent: #b9636b;
  --th-accent-ink: #a8505a;
  --th-hair: rgba(17, 17, 17, .09);

  --r-card: 10px;
  --r-menu: 10px;
  --r-btn: 8px;
  --r-pill: 8px;
  --r-pill-item: 6px;
  --r-pop: 8px;

  --ink: #111111;
  --ink-2: #333333;
  --ink-3: #56625b;
  --border: #e2e4e8;
  --border-soft: #ececec;

  --b2-ink: #2a3036;
  --b2-mute: #7a848d;
  --b2-line: #e9edf0;
  --b2-red: #b9636b;
  --b2-crim: #a8505a;
  --b2-bg: #f3f1ec;

  --glass-r: 10px;
  --glass-bg: linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .62));
  --glass-edge: 1px solid rgba(255, 255, 255, .92);
  --glass-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(17, 17, 17, .03), 0 1px 2px rgba(20, 30, 40, .06), 0 8px 28px rgba(20, 30, 40, .10);
}

body { font-family: var(--font); }

/* Page: a pale cool wash with two soft highlights, so the frosted cards have light to catch. Fixed behind everything. */
.b2-root {
  background: var(--th-page) !important;
  color: var(--th-ink) !important;
  font-family: var(--font) !important;
  isolation: isolate;
}
.b2-root::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 8% -6%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 62%),
    radial-gradient(820px 620px at 104% 6%, rgba(226, 216, 200, .55), rgba(226, 216, 200, 0) 62%),
    linear-gradient(180deg, #f6f4ef 0%, #ebe6dd 100%);
}

/* Cards, rows and panels: gloss. */
.b2-root .v2-card, .b2-root .b2-card, .b2-root .lb-card, .b2-root .f2-row, .b2-root .tm-box,
.b2-root .l2-board, .b2-root .s2-card, .b2-root .ac-tile {
  background: var(--glass-bg);
  border: var(--glass-edge);
  border-radius: var(--glass-r);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: var(--glass-shadow);
  color: var(--th-ink);
}
.b2-root .f2-row:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .74)); }
.b2-root .v2-pill, .b2-root .ht { background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .85); border-radius: 10px; box-shadow: inset 0 1px 0 #fff; }

/* Text: black and muted grey-green, nothing white-on-sky. */
.b2-root .v2-sh, .b2-root .v2-sh .v2-where, .b2-root .v2-src, .b2-root .v2-where, .b2-root .v2-hlab { color: var(--th-mute); }
.b2-root .v2-sub, .b2-root .v2-upd { color: var(--th-mute); }
.b2-root .v2-h1 { color: var(--th-ink); }

/* Controls: black when on, white glass when off. */
.b2-root .lb-seg, .b2-root .v2-trt, .b2-root .b2-switch button, .b2-root .tm-tab, .b2-root .l2-chip, .b2-root .s2-chip {
  background: rgba(255, 255, 255, .7);
  border-color: rgba(17, 17, 17, .1);
  color: var(--th-ink);
}
.b2-root .lb-seg button[aria-pressed="true"], .b2-root .l2-chip[aria-pressed="true"], .b2-root .v2-trt[aria-pressed="true"],
.b2-root .b2-switch button[aria-pressed="true"], .b2-root .tm-tab[aria-selected="true"] {
  background: var(--th-ink) !important;
  border-color: var(--th-ink) !important;
  color: #fff !important;
}

/* The heart, accent red. */
.v2 .rs-star svg { stroke: var(--th-ink); }
.v2 .rs-star[aria-pressed="true"] svg { fill: var(--th-accent); stroke: var(--th-accent); }

/* Menu button: small, three lines, see-through glass (Romain, 6 Nov 2026). */
.b2n .as-acct-pill, .b2-root .b2n .as-acct-pill {
  width: 40px;
  height: 40px;
  padding: 0 !important;
  border-radius: 12px;
  background: rgba(255, 255, 255, .38) !important;
  border: .5px solid rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 .5px 0 rgba(255, 255, 255, .9), 0 4px 16px rgba(20, 30, 40, .10);
  color: var(--th-ink);
}
.b2n .as-acct-pill:hover, .b2n .as-acct[open] .as-acct-pill { background: rgba(255, 255, 255, .6) !important; }
.b2n .as-acct-burger svg { width: 18px; height: 18px; }
.b2n { top: 12px; }

/* Menu card: white, as in the wireframe. */
.b2-root .as-mcard { background: #fff; border: 1px solid #ececec; border-radius: 14px; box-shadow: 0 8px 28px rgba(20, 30, 40, .16); }
.b2-root .as-mrow[aria-current="page"] { background: #f2f5f8; box-shadow: inset 3px 0 0 var(--th-ink); }

/* Resort page: heart and name up, level with the menu button (phones keep the page under the fixed menu otherwise). */
.v2 { padding-top: 12px; }
.v2-head { margin-top: 0; }
@media (max-width: 700px) {
  body:has(.v2-head) { padding-top: 0; }
  .v2 { padding-top: 15px; }
}

/* Leaderboard podium: glossy black and graphite in place of the blues. */
.l2-step.p1 .l2-blk { background: linear-gradient(180deg, #34383d, #111111); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 8px 20px rgba(17, 17, 17, .18); }
.l2-step.p2 .l2-blk { background: linear-gradient(180deg, #666c73, #3f454b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.l2-step.p3 .l2-blk { background: linear-gradient(180deg, #9aa0a7, #737a81); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }

/* Science page: it was written for the white-on-dark layer; here it takes the black-on-glass colours. */
.sc { --sc-ink: var(--th-ink); --sc-mute: var(--th-mute); --sc-quiet: #8d8d89; --sc-line: rgba(17, 17, 17, .1); --sc-fill: rgba(255, 255, 255, .55); }
.sc-card { background: var(--glass-bg); border: var(--glass-edge); border-radius: var(--glass-r); box-shadow: var(--glass-shadow); }
.sc-tabs { background: rgba(255, 255, 255, .7); border-color: rgba(17, 17, 17, .1); }
.sc-tabs button:hover { color: var(--th-ink); }
.sc-tabs button[aria-selected="true"], .sc-tag { background: var(--th-ink); color: #fff; }
.sc-tabs button:focus-visible, .sc-more summary:focus-visible { outline-color: var(--th-ink); }
.sc-ours > * { background: rgba(17, 17, 17, .05); }

/* Everything inside a black "on" control is white (the Trends chips hold a bold line and a small line of their own). */
.b2-root .lb-seg button[aria-pressed="true"] *, .b2-root .l2-chip[aria-pressed="true"] *, .b2-root .v2-trt[aria-pressed="true"] *,
.b2-root .b2-switch button[aria-pressed="true"] *, .b2-root .tm-tab[aria-selected="true"] * { color: #fff !important; }
.b2-root .v2-trt[aria-pressed="true"] small { color: rgba(255, 255, 255, .7) !important; }

/* Pricing, Checkout and Checkout success (class th-plain on the page root): their colours are inline, so the new look is applied by
   attribute: the serif headings become Inter, the green fills and ticks become black, the plan cards become glass. */
.th-plain [style*="Source Serif"] { font-family: var(--font) !important; font-weight: 500 !important; letter-spacing: -.03em !important; }
.th-plain [style*="background: #0b0b0c"] { background: var(--th-ink) !important; }
.th-plain [style*="1px solid #0b0b0c"] { border-color: var(--th-ink) !important; }
.th-plain [style*="color: #0b0b0c"] { color: var(--th-ink) !important; }
.th-plain svg[stroke="#0b0b0c"] { stroke: var(--th-ink); }
.th-plain a:not([style*="background"]) { color: var(--th-ink); }
.th-plain section[style*="padding: 28px"], .th-plain [style*="border: 1px solid #d8d2c4"][style*="border-radius: 4px"], .th-plain [style*="border: 1px solid #0b0b0c"][style*="border-radius: 4px"] {
  background: var(--glass-bg) !important; border-radius: var(--glass-r) !important; box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
}
.th-plain section[style*="padding: 28px"]:not([style*="1px solid #d8d2c4"]) { border-color: var(--th-ink) !important; }
.th-plain section[style*="padding: 28px"][style*="1px solid #d8d2c4"] { border-color: rgba(255, 255, 255, .92) !important; }
.th-plain [style*="border-radius: 4px"] { border-radius: 10px !important; }
.th-plain select, .th-plain input { border-radius: 10px !important; font-family: var(--font); }
.th-plain h1[style*="52px"] { font-size: clamp(32px, 9vw, 52px) !important; }
.th-plain [style*="color: #0b0b0c"] { color: var(--th-mute) !important; }

/* The map (.as-root): Inter, black ink, and the menu button the same small see-through glass as on the other pages. */
.as-root { font-family: var(--font) !important; color: var(--th-ink); }
.as-root .as-head-menu .as-acct-pill, .as-root .as-acct-pill {
  width: 40px !important; height: 40px !important; padding: 0 !important; justify-content: center; border-radius: 8px !important;
  background: rgba(255, 255, 255, .38) !important; border: .5px solid rgba(255, 255, 255, .75) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.4) !important; backdrop-filter: blur(18px) saturate(1.4) !important;
  box-shadow: inset 0 .5px 0 rgba(255, 255, 255, .9), 0 4px 16px rgba(20, 30, 40, .10) !important;
}
.as-root .as-acct-pill:hover, .as-root .as-acct[open] .as-acct-pill { background: rgba(255, 255, 255, .6) !important; }

/* Pigment palette (Romain, 7 Nov 2026: "natural colours from real pigments", as Swiss natural-pigment paint makers): the accents
   moved to mineral tones (ochre, sienna, ultramarine, terre verte, madder, cobalt violet) and the page to a warm limewash.
   The weather sky icons keep their own colours. */
:root { --pg-ochre: #d2a65a; --pg-sienna: #c1784f; --pg-ultramarine: #7d92c2; --pg-cerulean: #6f93bf; --pg-terreverte: #8fb08a;
  --pg-madder: #b9636b; --pg-rose: #b56a86; --pg-violet: #8a7fb0; --pg-umber: #6f6152; }

/* Liquid glass (Romain, 7 Nov 2026, from Apple Weather on iOS: "this is the glossy effect I want across the entire app on bars,
   buttons etc"): a dark see-through pill, the page blurred and saturated behind it, a bright rim on top, a faint one below,
   white ink. Used on every floating bar and button (menu, search, map controls, legends, time bars) and on "on" controls. */
:root {
  --lg-bg: linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(247, 245, 239, .6));
  --lg-bg-hover: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(250, 248, 243, .78));
  --lg-edge: 1px solid rgba(255, 255, 255, .95);
  --lg-shadow: inset 0 1px 1px #fff, inset 0 -1px 1px rgba(20, 24, 30, .06), inset 0 0 12px rgba(255, 255, 255, .5), 0 0 0 .5px rgba(30, 34, 40, .09), 0 5px 18px rgba(30, 34, 44, .14);
  --lg-blur: blur(22px) saturate(1.6);
  --lg-ink: #16191d;
  --lg-mute: rgba(22, 25, 29, .6);
}
.lg,
.as-root .as-head-menu .as-acct-pill, .as-root .as-acct-pill, .b2n .as-acct-pill, .b2-root .b2n .as-acct-pill,
#as-tripbar .tb-mini, #as-tripbar .tb-bar,
.as-ctrls > div, .as-ctrls > button, .as-ctrls > sc-if > div, .as-ctrls > sc-if > button,
.as-root .as-legend, .mk-leg.v2-legtl,
.tlz, .mk-lay, .mk-zoom, .v2-mbar {
  background: var(--lg-bg) !important;
  border: var(--lg-edge) !important;
  -webkit-backdrop-filter: var(--lg-blur) !important;
  backdrop-filter: var(--lg-blur) !important;
  box-shadow: var(--lg-shadow) !important;
  color: var(--lg-ink) !important;
}
.as-root .as-acct-pill:hover, .as-root .as-acct[open] .as-acct-pill, .b2n .as-acct-pill:hover, .b2n .as-acct[open] .as-acct-pill,
.mk-lay:hover, .as-ctrls button:hover { background: var(--lg-bg-hover) !important; }
.as-ctrls > div button, .as-ctrls > sc-if > div button, .mk-zoom button { background: transparent !important; color: var(--lg-ink) !important; }
.as-ctrls > div > span[aria-hidden], .mk-zoom > span { background: rgba(22, 25, 29, .14) !important; }
.as-ctrls > div, .as-ctrls > button, .mk-lay, .mk-zoom { border-radius: 8px !important; overflow: hidden; }
.as-root .as-legend, .mk-leg.v2-legtl { border-radius: 8px !important; }
.as-root .as-legend *, .mk-leg.v2-legtl * { color: var(--lg-ink) !important; }
.as-root .as-legend small, .mk-leg.v2-legtl small, .mk-leg.v2-legtl .mk-lcap, .as-root .as-legend .rm-lrt small { color: var(--lg-mute) !important; }
/* The search: a long pill with white ink, as the iOS search field. */
#as-tripbar .tb-mini, #as-tripbar .tb-bar { border-radius: 10px !important; }
#as-tripbar .tb-mini *, #as-tripbar .tb-bar * { color: var(--lg-ink) !important; }
#as-tripbar .tb-mini small, #as-tripbar .tb-mini span span, #as-tripbar .tb-bar small { color: var(--lg-mute) !important; }
.as-root .as-acct-pill, .b2n .as-acct-pill { border-radius: 8px !important; }
.tlz { border-radius: 8px !important; }
/* "On" controls: the glass, not flat black. */
.b2-root .lb-seg button[aria-pressed="true"], .b2-root .l2-chip[aria-pressed="true"], .b2-root .v2-trt[aria-pressed="true"],
.b2-root .b2-switch button[aria-pressed="true"], .b2-root .tm-tab[aria-selected="true"] {
  background: var(--lg-bg) !important; border: var(--lg-edge) !important; box-shadow: var(--lg-shadow) !important;
}

/* Time bars, one shape on both maps (Romain, 7 Nov 2026): as wide as the map allows, the play button over the layer setting at the
   left, both small, the glass tight round the line, the numbers a touch larger. */
.mk-time{width:calc(100% - 16px) !important;max-width:none !important;padding:0 !important}
#v2-mtime{bottom:8px}
.as-lens-wrap{width:100%}
.as-tl{left:8px !important;right:8px !important;padding:0 !important;justify-content:stretch !important}
.as-tl .as-lens-wrap{width:100%}
.tlz{gap:6px !important;padding:3px 10px 2px 5px !important;border-radius:8px !important;align-items:center !important}
.tlz-side{flex-direction:column !important;gap:3px !important;margin:0 !important;align-self:center}
/* one time bar on every map (Romain, 12 Nov 2026: "one time bar, stop switching around"): the same buttons everywhere, the main map's sizes */
.tlz-play{width:34px !important;height:34px !important}
.tlz-play svg{width:12px !important;height:14px !important}
.tlz-view{width:34px !important;height:24px !important;border:.5px solid rgba(22,25,29,.16);border-radius:12px;background:rgba(255,255,255,.7)}
.tlz-view svg{width:16px !important;height:16px !important}
.mk-time .tlz-view{display:flex !important}
.tlz-read{height:15px !important;font-size:12px !important;line-height:15px !important}
.tlz-track{height:18px !important}
.tlz-knob{left:-6px !important;top:0 !important;width:13px !important;height:13px !important}
.tlz-dates{height:15px !important;font-size:12.5px !important;line-height:15px !important}
.tlz-dates span.on{font-weight:700}

/* Card headings in the Claude look (Romain, 7 Nov 2026: "change these to claude font and look"): Inter, sentence case, medium
   weight in ink, no small capitals and no rule under them; the icon sits quietly beside. */
.v2-sh, .b2-root .v2-sh { font-size: 15px !important; font-weight: 600 !important; letter-spacing: -.01em !important; text-transform: none !important;
  color: var(--th-ink) !important; border-bottom: 0 !important; padding-bottom: 2px !important; margin: 0 0 8px !important; gap: 8px !important; }
.v2-sh svg { width: 16px; height: 16px; opacity: .6; }
.v2-sh .v2-where, .b2-root .v2-sh .v2-where { font-size: 12px !important; font-weight: 400 !important; letter-spacing: 0 !important; color: var(--th-mute) !important; }

/* The map scale on dark glass, white ink (Romain, 7 Nov 2026: "really hard to see the scale legend"). The glass is the inner box. */
.mk-leg.v2-legtl, .mk-leg.v2-legtl:has(.mk-legc) { background: none !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.mk-legc { background: var(--lg-bg) !important; border: var(--lg-edge) !important; -webkit-backdrop-filter: var(--lg-blur) !important; backdrop-filter: var(--lg-blur) !important;
  box-shadow: var(--lg-shadow) !important; border-radius: 8px !important; padding: 6px 9px !important; gap: 4px !important; }
.mk-legc, .mk-legc * { color: var(--lg-ink) !important; }
.mk-legc .mk-lrl, .mk-legc .mk-lrt { font-size: 10.5px !important; font-weight: 600 !important; }
.mk-legc .mk-lcap, .mk-legc .mk-lcap * { color: var(--lg-mute) !important; font-size: 9px !important; }

/* Apple order on the explore map (Romain, 7 Nov 2026): my location on top, then the layers, then zoom. */

/* White glass (Romain, 7 Nov 2026: "back to the white theme, a bit sharper, keep the glossy translucent glass, just not dark"):
   the time bar's own white ink from timelens.js is turned to dark ink here. */
.tlz, .as-lens-wrap { color: var(--lg-ink) !important; text-shadow: none !important; }
.tlz-play { background: rgba(255,255,255,.7) !important; border: .5px solid rgba(22,25,29,.16) !important; color: var(--lg-ink) !important; box-shadow: 0 1px 2px rgba(20,24,30,.14) !important; }
.tlz-play:hover { background: #fff !important; }
.tlz-play svg { filter: none !important; }
.tlz-knob { background: #fff !important; box-shadow: 0 1px 4px rgba(20,24,30,.4), 0 0 0 .5px rgba(20,24,30,.18) !important; }
.tlz-dates span { color: rgba(22,25,29,.62) !important; }
/* the time bar's hours and days rows (timelens.js `rows`, main map): dark ink on the light glass, like the readout and the dates above (seen unreadable in white ink, 11 Nov 2026) */
.tlz-hs::after { background: rgba(22,25,29,.5) !important; }
.tlz-hs.n::after { background: rgba(22,25,29,.24) !important; }
.tlz-hs.on::after { background: #16191d !important; }
.tlz-hs.now::after, .tlz-hs.now.on::after { background: #2f6bff !important; } /* the present hour (Romain, 14 Nov 2026): accent fill, also when it is the chosen hour */
.tlz-hsel { background: #fff !important; box-shadow: 0 1px 4px rgba(20,24,30,.4), 0 0 0 .5px rgba(20,24,30,.18) !important; }
.tlz-hl { color: rgba(22,25,29,.62) !important; }
.tlz-d { background: rgba(22,25,29,.07) !important; color: rgba(22,25,29,.82) !important; }
.tlz-d.on { background: transparent !important; color: #16191d !important; }
.tlz-dsel { background: #fff !important; box-shadow: 0 1px 4px rgba(20,24,30,.4), 0 0 0 .5px rgba(20,24,30,.18) !important; } /* the day marker: glassy white like the hour handle, slides (18 Nov 2026) */
/* the loading ring on the play button was white on the white button (an empty circle): dark ring (seen at 390 and 1440, 11 Nov 2026) */
.tlz-play.tlz-load::after { border-color: rgba(22,25,29,.22) !important; border-top-color: #16191d !important; }
.tlz-dates span.on { color: var(--lg-ink) !important; }
.tlz-view, .tlz-view:hover { color: var(--lg-mute) !important; }
.tlz-read { color: var(--lg-ink) !important; }

/* Sharper still (Romain, 7 Nov 2026: "even less round edge on bar graphs, everything"): corners are 2 to 4 px everywhere, bars are
   square, only true circles (the knob, the play dot, the location dot) stay round. */
.as-root .as-ctrls>div,.as-root .as-ctrls>button:not(.as-uflip),.as-root .as-ctrls>sc-if>div,.as-root .as-ctrls>sc-if>button,
.as-root .tb-bar,.as-root .tb-mini,.as-root .as-legend,.as-root .as-tl-card,.as-root .as-acct-pill,.tb-find,.mk-legc,
.f2-find form,.f2-res,.f2-res li,.f2-uv,.f2-locmsg,.f2-fav,.f2-row,.v2-pill,.b2-root .ht,.b2-root .v2-pill,
.pt-pop .maplibregl-popup-content,.mk-laym.mk-laym-t,.as-lt,.as-lt *,.b2-root .v2-card .v2-mapbox,.tm-stage,.tm-img { border-radius: 8px !important; }
.f2-row,.f2-find form,.f2-res,.pt-pop .maplibregl-popup-content,.mk-laym.mk-laym-t,.b2-root .v2-card .v2-mapbox,.tm-stage,.tm-img { border-radius: 10px !important; }
.f2-gr i, .f2-gr u, .f2-sb i, .f2-lock, .v2-drtr, .v2-drtr i { border-radius: 2px !important; }
.f2-mic { border-radius: 50% !important; }
.v2-card, .b2-root .v2-card, .b2-root .as-mcard, .sc-card, .b2-root section.v2-card { border-radius: 10px !important; }
.tlz-view { border-radius: 6px !important; }.tlz-play { border-radius: 50% !important; }
/* One time bar look on the weather map (/map/ and the resort page's weather card, which is /map/?embed=1) and the 3D terrain map (Romain, 18 Nov 2026:
   "the same time bar on the main map too same vibe ... style should be the same exact consistent"): near-white and neutral with a plain blur and a grey edge
   (P6, 13 Nov 2026: the theme's glass ends in a warm beige stop and saturates the map behind it). One rule, so the maps cannot drift; sizes may differ per map. */
.as-root .tlz,.tm .tlz{background:rgba(255,255,255,.94) !important;-webkit-backdrop-filter:blur(12px) !important;backdrop-filter:blur(12px) !important;border:1px solid rgba(22,25,29,.1) !important;box-shadow:0 0 0 .5px rgba(22,25,29,.06),0 5px 18px rgba(22,25,29,.14) !important}
/* ...and one size of rows, taken from that small bar in the weather card (Romain, 18 Nov 2026: "lets make the main map time bar same time bar that we are
   building for 3d terrain map full view"): on /map/ and the 3D map at laptop width the hour strip, its ticks and labels and the day tiles (weekday over date)
   are the card's compact ones; the card itself (/map/?embed=1, a narrow frame) keeps timelens.js's own narrow sizes, which these follow. Phones unchanged.
   Was the 3D map's own block (resortv2.css, #519 "can we make the timebar smaller"). */
@media (min-width:701px){
html:not(.as-embed) .as-root .tlz-hrs,.tm .tm-time .tlz-hrs{height:24px !important}
html:not(.as-embed) .as-root .tlz-hs::after,.tm .tm-time .tlz-hs::after{height:12px !important}
html:not(.as-embed) .as-root .tlz-hs.on::after,.tm .tm-time .tlz-hs.on::after{height:14px !important}
html:not(.as-embed) .as-root .tlz-hl,.tm .tm-time .tlz-hl{height:11px !important;font-size:9.5px !important;line-height:11px !important}
html:not(.as-embed) .as-root .tlz-d,.tm .tm-time .tlz-d{padding:2px 0 2px !important;line-height:1.05}
html:not(.as-embed) .as-root .tlz-d b,.tm .tm-time .tlz-d b{font-size:8.5px !important;letter-spacing:-.02em}
html:not(.as-embed) .as-root .tlz-d i,.tm .tm-time .tlz-d i{font-size:11.5px !important}
}
.v2-topcard, .tm-box, .wc-st, .v2-r3, .v2-r3dial, .v2-lts { border-radius: 10px !important; }
.v2-dr, .v2-dr.v2-hit { border-radius: 6px !important; }.v2-drb, .v2-scd, .b2-passb { border-radius: 2px !important; }
/* Same corners on every page: cards 10, controls and small panels 8, list rows 6, bars 2. */
.l2-board, .lb-card, .ac-tile, .f2-mapbox, .v2-card { border-radius: 10px !important; }
.as-mrow, .l2-blk, .mk-leg { border-radius: 6px !important; }

/* legend bars: the numbers above a thin colour bar; the freezing mark on the temperature scale */
.mk-legc .mk-lr{display:grid !important;grid-template-columns:44px minmax(0,1fr) !important;gap:6px !important;align-items:end}
.mk-legc .mk-lr.mk-lrw{grid-template-columns:auto minmax(96px,1fr) !important;gap:8px !important;align-items:center}
.mk-legc .mk-lr.mk-lrw .mk-lrl{white-space:nowrap}
.mk-lrb{position:relative;display:block;min-width:220px} /* twice as long, the middle number at its colour (Romain, 10 Nov 2026) */
.mk-lrn{position:relative;display:flex;justify-content:space-between;height:12px;line-height:12px}
.mk-lrb>i{display:block;height:7px;border-radius:2px}
.mk-lrn em{font-style:normal;font-size:9.5px;font-weight:700;color:var(--lg-ink) !important;white-space:nowrap}
.mk-lrn em small{font-size:8.5px;font-weight:600;color:var(--lg-mute) !important}
.mk-lrn .mk-lrm{position:absolute;transform:translateX(-50%)}
.mk-lrk{position:absolute;top:10px;width:1.5px;height:11px;margin-left:-.75px;background:#16191d;opacity:.8}
.mk-gc{white-space:nowrap}


/* ---- One menu button and one control column on every page (Romain, 11 Nov 2026: "the menu bar isn't aligned with the map buttons") ----
   Both are 44 px squares, 16 px from the right edge, so their centres share a line; the menu sits level with the search bar
   (its centre 36 px from the top), the controls start 12 px under it. */
:root{--ctl:44px;--edge:16px;--ctl-top:14px}
.b2n,[data-acct-slot] .b2n{position:fixed !important;z-index:60;top:var(--ctl-top) !important;right:var(--edge) !important;gap:0 !important}
.b2n .as-acct,.as-head-menu .as-acct{margin:0 !important}
.b2n .as-acct-pill,.as-root .as-head-menu .as-acct-pill,.as-root .as-acct-pill{width:var(--ctl) !important;height:var(--ctl) !important;min-width:var(--ctl);box-sizing:border-box;border-radius:12px !important}
.as-root .as-head-menu{position:fixed;top:var(--ctl-top);right:var(--edge);z-index:30;margin:0 !important}
.as-root header{height:72px;box-sizing:border-box}
.as-root .as-ctrls{right:var(--edge) !important;top:calc(var(--ctl-top) + var(--ctl) + 10px) !important} /* 10 px under the menu button, as the gap inside the column */
.as-root .as-ctrls>div,.as-root .as-ctrls>button,.as-root .as-ctrls>sc-if>div,.as-root .as-ctrls>sc-if>button{width:var(--ctl)}
/* phone: the same 44 px buttons as the menu, column centre on the menu centre */
@media(max-width:860px){
  .as-root .as-ctrls button:not(.as-uflip){width:var(--ctl) !important;height:var(--ctl) !important}
  .as-root .as-ctrls{align-items:flex-end !important;right:var(--edge) !important;left:auto !important}
  .as-root .as-ctrls>div{width:var(--ctl) !important}
}
@media(max-width:860px){
  /* the search bar stops before the menu button instead of running under it */
  .as-root header{padding-right:calc(var(--edge) + var(--ctl) + 8px) !important}
}

/* ---- Black and white buttons and header (Romain, 11 Nov 2026: "remove the red colors from all the buttons and the green colors too, from the
   header too, our brand is staying black and white"). One block, last, so it wins on every page. Data colours (weather ramps, UV, the map's own
   hearts and dots) are not buttons and keep theirs. ---- */
:root{--brand:#111;--as-green:#111;--as-green-dark:#111}
/* the red Find snow buttons */
.s2-find,:is(#s2-main,#ss-main) .s2-find,.tb-find,.tb-sheet:has(.tb-cv) .tb-find{background:#111 !important;color:#fff !important}
.s2-find:hover,:is(#s2-main,#ss-main) .s2-find:hover,.tb-find:hover{background:#000 !important}
/* heart and star buttons: outline and fill in ink, not rose or red */
.f2-fav.on,.f2-fav:hover{color:#111 !important}
:is(#s2-main,#ss-main) .s2-fav:hover,:is(#s2-main,#ss-main) .s2-fav[aria-pressed="true"]{color:#111 !important;border-color:#111 !important}
.v2 .rs-star[aria-pressed="true"] svg{fill:#111 !important;stroke:#111 !important}
/* the green selected state of the layer tiles, chips and pickers */
.as-lt[aria-checked="true"] .as-lt-th{box-shadow:inset 0 0 0 2px #111,0 0 0 2px rgba(0,0,0,.14) !important}
.as-lt[aria-checked="true"] .as-lt-lab{color:#111 !important}
.as-lt-on{background:#111 !important}
.v2-mwin button[aria-pressed="true"],.mk-laym .v2-mwin.v2-mwin-m button[aria-pressed="true"]{background:#111 !important;color:#fff !important}
[style*="background: #0b0b0c"],[style*="background:#0b0b0c"],[style*="background: rgb(59, 74, 64)"],[style*="background-color: rgb(59, 74, 64)"],[style*="background: #0b0b0c"],[style*="background: rgb(28, 51, 38)"]{background:#111 !important}
[style*="border-color: #0b0b0c"],[style*="border: 1px solid #0b0b0c"],[style*="border-color: rgb(59, 74, 64)"],[style*="border: 1px solid rgb(59, 74, 64)"]{border-color:#111 !important}
[style*="color: #0b0b0c"],[style*="color: rgb(59, 74, 64)"]{color:#111 !important}
[style*="rgba(28, 51, 38"]{background:rgba(17,17,17,.82) !important}
/* sign-in */
/* white label on the black email button: signin.css's glass block sets color #111, which read as #111 on #111 (Romain, 11 Nov 2026:
   "sign in page button seems to be missing text") */
.si-btn-email{background:#111 !important;border-color:#111 !important;color:#fff !important}
.si-btn-email:hover,.si-btn-email:focus-visible{background:#2b2b2b !important;border-color:#2b2b2b !important;color:#fff !important}
.si-email input:focus{outline-color:#111 !important}

/* The Find snow button (Romain, 11 Nov 2026: "improve this button"): white words and icon on black (a rule that made everything in the search bar dark ink had
   turned them black on black), a little more room, a firmer weight, a pressed state and a clear keyboard ring. */
#as-tripbar .tb-bar .tb-find,#as-tripbar .tb-bar .tb-find *,#as-tripbar .tb-mini .tb-find,#as-tripbar .tb-mini .tb-find *{color:#fff !important}
#as-tripbar .tb-bar .tb-find{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 20px;font-weight:600;letter-spacing:.01em;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:background .15s,transform .1s,box-shadow .15s}
#as-tripbar .tb-bar .tb-find:hover{box-shadow:0 3px 10px rgba(0,0,0,.28)}
#as-tripbar .tb-bar .tb-find:active{transform:scale(.97);box-shadow:none}
#as-tripbar .tb-bar .tb-find:focus-visible{outline:2px solid #fff;outline-offset:-4px;box-shadow:0 0 0 2px #111}
#as-tripbar .tb-bar .tb-find svg{flex:none;width:15px;height:15px}

/* Brand guide sizes (11 Nov 2026, picked for Romain): four corners, three button heights, two shadows. New and changed parts use these;
   older rules move over as they are touched. */
:root{--r-xs:4px;--r-sm:8px;--r-md:14px;--r-pill:999px;--h-btn-s:32px;--h-btn-m:40px;--h-btn-l:48px;
  --sh-1:0 1px 3px rgba(11,11,12,.08),0 1px 2px rgba(11,11,12,.05);--sh-2:0 8px 28px rgba(11,11,12,.14)}
body{font-variant-numeric:tabular-nums}
/* The peaksignal logo, ONE look on every page (snow/includes/brand_link.html; Romain, 11 Nov 2026, B2: same size, font, position and
   background everywhere; the reference is the sign-in page's logo, A4 "slightly bigger and move it up a little": 17 -> 18 px, its top
   34 -> 28 px on a computer, 22 -> 14 px on a phone). Fixed top left, bare type on no background, ink; a 32 px row, contents centred.
   Used on sign-in, the map, the 15-day and seasonal searches and the favourites. Never on the background or embedded maps. */
.ps-logo{position:absolute;left:16px;top:22px;z-index:60;display:inline-flex;align-items:center;height:32px;margin:0;padding:0;box-sizing:border-box;
  color:#0b0b0c;text-decoration:none;background:none;border:0;box-shadow:none;font-family:'Geist','Helvetica Neue',Arial,sans-serif;font-size:18px;
  font-weight:400;line-height:1;letter-spacing:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.ps-logo .brand-word{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;letter-spacing:-.01em}
.ps-logo .brand-word svg{flex:none;width:27px;height:18px}
.ps-logo .brand-word b{font-weight:500}.ps-logo .brand-word i{font-style:normal;font-weight:300;margin-left:-6px}
.ps-logo:focus-visible{outline:2px solid #0b0b0c;outline-offset:3px;border-radius:4px}
/* Team call 12 Nov 2026: on pages that scroll the logo scrolls away with the page top (absolute); on the full-screen map pages that do not scroll
   (the map home, the sign-in map) it stays put (fixed). */
html:has(.as-hello) .ps-logo,html:has(.si-lede) .ps-logo{position:fixed}
/* A barely visible soft blur of the map behind the name (Romain, 12 Nov 2026: "a very subtle blur ... barely noticeable ... help you read it better"):
   a pseudo-element a little larger than the text, backdrop-filter blur 3 px, an elliptical mask feathered from 35 % so no edge shows, no tint
   no white wash. Nothing shows in a browser without backdrop-filter. The same recipe sits under the map's headline and
   its line (romainmap.css .as-hello, .as-powered). */
.ps-logo::before{content:"";position:absolute;inset:-12px -22px;z-index:-1;pointer-events:none;border-radius:999px;background:rgba(255,255,255,.38);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);-webkit-mask-image:radial-gradient(ellipse closest-side,#000 35%,transparent 100%);mask-image:radial-gradient(ellipse closest-side,#000 35%,transparent 100%)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.ps-logo::before{display:none}}
@media (max-width:860px){.ps-logo{left:16px;top:calc(8px + env(safe-area-inset-top));font-size:17px}.ps-logo .brand-word svg{width:25px;height:17px}}
html.as-bg .ps-logo,html.as-embed .ps-logo,html.ps-framed .ps-logo{display:none}
/* sign-in page only (A4, Romain 11 Nov 2026: "slightly bigger and move it up a little"): 18 -> 22 px, 28 -> 22 px from the top. The one exception. */
.ps-logo-lg{top:16px;font-size:22px}.ps-logo-lg .brand-word svg{width:33px;height:22px}
@media (max-width:860px){.ps-logo-lg{top:calc(5px + env(safe-area-inset-top));font-size:20px}.ps-logo-lg .brand-word svg{width:30px;height:20px}}
/* the search pages: the logo is fixed now, so the pinned column leaves its row clear (a computer 48 px, a phone 32 px) */
:is(#s2-main,#ss-main) > .s2-pin::before{content:"";flex:none;height:48px}
@media (max-width:860px){:is(#s2-main,#ss-main) > .s2-pin::before{height:32px}}
/* resort card PASSES chips stay inside the card: a long name is cut with an ellipsis, never past the edge (review C22; resortcard.js holds the base rules) */
.rc-tile .rc-chips{min-width:0;max-width:100%}
.rc-tile .rc-chip{min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
/* N16 (Romain, 12 Nov 2026: "you see that black square that pops up when i type its so ugly, remove on all search bars"): a text or search input draws no ring of its own;
   focus shows on the rounded box around it as a darker border */
input:not([type]):focus,input:not([type]):focus-visible,input[type="text"]:focus,input[type="text"]:focus-visible,input[type="search"]:focus,input[type="search"]:focus-visible,input[type="email"]:focus,input[type="email"]:focus-visible,input[type="number"]:focus,input[type="number"]:focus-visible{outline:0 !important;box-shadow:none !important}
.as-favpanel .fp-find form:focus-within{box-shadow:0 8px 24px rgba(20,30,40,.1) !important;border-color:rgba(12,18,22,.5) !important}

/* phone faults (Romain, 12 Nov 2026, iPhone check): favourite cards' resort names take the row (two lines if needed); the add-resort search box stays clear of the time bar */
@media (max-width:520px){
  .f2-uvw{flex-direction:column;gap:3px;align-items:flex-end}
  .f2-nm h2{-webkit-line-clamp:2 !important}
  /* the 140 px kept under the favourites panel for the time bar is gone (Romain, 13 Nov 2026): the search field is the bottom of the screen; romainmap.css lifts the panel only while a time bar is shown */
}

/* M1 (Romain, 12 Nov 2026: the menu button scrolls away with the page, like the logo): on a phone the account / menu button is not fixed on the scrolling pages; the map page uses .as-head-menu and is not touched */
@media (max-width:600px){
  html body .b2n, html body [data-acct-slot] .b2n, html body nav.b2n{position:absolute !important}
}

/* Units toggle (item 8, 16 Nov 2026): cm · °C | in · °F, in the top corner of every page, level with the menu button and just left of it.
   On the map it joins the round-button column under the zoom buttons (the search bar fills the top row on a phone); where the menu scrolls
   away with the page on a phone, it does too. */
.ps-units{position:fixed;z-index:60;top:calc(var(--ctl-top,14px) + 8px);right:calc(var(--edge,16px) + 2 * var(--ctl,44px) + 16px);display:flex;height:28px;box-sizing:border-box;padding:2px;border-radius:12px;
  background:rgba(255,255,255,.38);border:.5px solid rgba(255,255,255,.75);-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);
  box-shadow:inset 0 .5px 0 rgba(255,255,255,.9),0 4px 16px rgba(20,30,40,.10);font:600 11px/1 Inter,'Helvetica Neue',Arial,sans-serif}
.ps-units button{flex:none;height:22px;padding:0 8px;border:0;border-radius:10px;background:transparent;color:rgba(31,42,36,.55);font:inherit;white-space:nowrap;cursor:pointer}
.ps-units button[aria-pressed="true"]{background:rgba(255,255,255,.95);color:#1f2a24;box-shadow:0 1px 3px rgba(31,42,36,.22)}
.ps-units button:focus-visible{outline:2px solid #0b0b0c;outline-offset:1px}
html:has(.as-ctrls) .ps-units{top:332px;right:var(--edge,16px);flex-direction:column;height:auto;width:var(--ctl,44px)}
html:has(.as-ctrls) .ps-units button{padding:0;height:24px}
html:has(#dc-root:empty) .ps-units,html.as-bg .ps-units,html.as-embed .ps-units,html.ps-framed .ps-units{display:none}
/* The menu open covers the corner: the units toggle (and the heart beside it) sit under the menu panel's edge, so they step aside while it is open (Romain, 18 Nov 2026: "I don't want to see the units toggle show up on top of the menu"). Units stay in the menu's own Units and language row. */
html:has(.as-acct[open]) .ps-units,html:has(.as-acct[open]) .ps-fav{display:none}
@media (max-width:600px){html:not(:has(.as-ctrls)) .ps-units{position:absolute;top:19px;height:24px}html:not(:has(.as-ctrls)) .ps-units button{height:18px;padding:0 6px}}

/* Favourites button (item 24, 16 Nov 2026): a round heart in the menu button's glass look, between the units toggle and the menu button. Where the menu scrolls away on a phone, it does too.
   Not on the map (its column has the heart) nor where the units toggle is hidden. */
.ps-fav{position:fixed;z-index:60;top:var(--ctl-top,14px);right:calc(var(--edge,16px) + var(--ctl,44px) + 8px);width:var(--ctl,44px);height:var(--ctl,44px);box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-radius:12px;
  background:rgba(255,255,255,.38);border:.5px solid rgba(255,255,255,.75);-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);
  box-shadow:inset 0 .5px 0 rgba(255,255,255,.9),0 4px 16px rgba(20,30,40,.10);color:#1f2a24;text-decoration:none}
.ps-fav:hover{background:rgba(255,255,255,.6)}
.ps-fav:focus-visible{outline:2px solid #0b0b0c;outline-offset:1px}
html:has(.as-ctrls) .ps-fav,html:has(#dc-root:empty) .ps-fav,html.as-bg .ps-fav,html.as-embed .ps-fav,html.ps-framed .ps-fav{display:none}
@media (max-width:600px){html:not(:has(.as-ctrls)) .ps-fav{position:absolute}}
/* the search pages carry the live map behind them, with its own heart in its button column: no second heart; the units toggle goes back next to the menu button */
html:has(.s2-mapcard) .ps-fav{display:none}
html:has(.s2-mapcard) .ps-units{right:calc(var(--edge,16px) + var(--ctl,44px) + 8px)}
