/* The bar at the bottom of every page on a phone (snow/includes/phone_bar.html; Caroline, 1 Dec 2026). Up to 700 px wide only: a computer never sees it.
   Pages keep their last lines clear of it (body padding); the map page's own controls move up by its height (--ps-bar). */
.rp-bot { display: none; }
.fp-foot, .pz-ph, .ac-join, .ps-acct, .tp-eh, .tp-join, .ac-pw-ph { display: none; }

@media (max-width: 700px) {
  :root { --ps-bar: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .rp-bot { display: grid; }
  body { padding-bottom: var(--ps-bar); }
  /* the map page (/map/, romainmap.css .as-root: the whole screen) ends just above the bar, so its time bar and buttons stay in view; a map in a frame has no bar */
  html:not(.as-embed) body .as-root { height: calc(100dvh - var(--ps-bar)) !important; }
  .rp-bot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 4px 8px calc(4px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid rgba(11, 11, 12, .12); }
  .rp-bot > a, .rp-botmore { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 50px; padding: 0; border: 0; background: none; font: inherit; color: #2b3035; text-decoration: none; cursor: pointer; }
  .rp-bot > a span, .rp-botmore span { font-size: 11px; font-weight: 500; white-space: nowrap; }
  /* Find snow (Caroline, 1 Dec 2026, option C): blue, with a "5,000+" badge on its icon */
  .rp-bot .rp-ic { position: relative; display: block; height: 22px; line-height: 0; font-weight: inherit; } /* the badge adds no height: every label on one line */
  .rp-bot .rp-badge { position: absolute; top: -6px; left: 12px; padding: 1px 5px; border-radius: 99px; background: #1d4ed8; color: #fff; font-size: 9.5px; font-style: normal; font-weight: 700; line-height: 13px; white-space: nowrap; box-shadow: 0 0 0 2px #fff; }
  /* the tab of the page you are on (Romain, 3 Dec 2026): Explore's blue (Caroline's option C) and its bold word, on that tab only; More when the page is one of its links;
     on the map, the favourites view (as-favs-open, or ps-favs-boot from /map/#favs before it opens) moves it from Explore to Favorites */
  .rp-bot > a[aria-current="page"], .rp-botmore:has(~ .rp-botmenu a[aria-current="page"]),
  html:is(.as-favs-open, .ps-favs-boot) .rp-bot > a[data-track-to="favorites"] { color: #1d4ed8; }
  .rp-bot > a[aria-current="page"] span, .rp-botmore:has(~ .rp-botmenu a[aria-current="page"]) span,
  html:is(.as-favs-open, .ps-favs-boot) .rp-bot > a[data-track-to="favorites"] span { font-weight: 600; }
  html:is(.as-favs-open, .ps-favs-boot) .rp-bot > a[data-track-to="search"] { color: #2b3035; }
  html:is(.as-favs-open, .ps-favs-boot) .rp-bot > a[data-track-to="search"] span { font-weight: 500; }
  .rp-botmenu a[aria-current="page"] { color: #1d4ed8; font-weight: 600; }
  .rp-bot a:focus-visible, .rp-botmore:focus-visible { outline: 2px solid #0b0b0c; outline-offset: -2px; border-radius: 8px; }
  .rp-botmore[aria-expanded="true"] { color: #0b0b0c; font-weight: 600; }
  /* More's menu: above the bar, at its right end */
  .rp-botmenu { position: absolute; right: 8px; bottom: calc(100% + 8px); min-width: 210px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(31, 42, 36, .2); border: 1px solid rgba(11, 11, 12, .08); }
  .rp-botmenu[hidden] { display: none; }
  .rp-botmenu form { margin: 0; }
  .rp-botmenu button { width: 100%; border: 0; background: none; font: inherit; cursor: pointer; text-align: left; }
  .rp-botmenu a, .rp-botmenu button { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 12px; border-radius: 10px; color: #0b0b0c; text-decoration: none; font-size: 15px; font-weight: 500; }
  /* no menu button at the top on a phone (Caroline, 2 Dec 2026): the bar's More holds the same links; the map's buttons move up into its place */
  html:not(.as-embed) .as-head-menu, html:not(.as-embed) .b2n .as-acct, html:not(.as-embed) [data-acct-slot] .as-acct { display: none !important; }
  html:not(.as-embed) body .as-root.as-root .as-ctrls, html.as-favs-open:not(.as-embed) body .as-root.as-root .as-ctrls { top: calc(10px + env(safe-area-inset-top, 0px)) !important; }
  /* the units switch and the map's (i) credits follow the column up: units 8 px under Zoom, the (i) 8 px under the units, centred on the column (as on the resort page's Weather map) */
  html:not(.as-embed):has(.as-ctrls) .ps-units { top: calc(160px + env(safe-area-inset-top, 0px)) !important; } /* under Zoom; Data layers under the units (Caroline, 2 Dec 2026: its note clear of the top card) */
  html:not(.as-embed):not(.as-favs-open) .as-mlmap .maplibregl-ctrl-bottom-right.maplibregl-ctrl-bottom-right.maplibregl-ctrl-bottom-right { top: calc(263px + env(safe-area-inset-top, 0px)); bottom: auto !important; right: 12px; }
  /* the location note over everything, readable, above the time bar and the bottom bar (phonebar.js copies it; R20) */
  html:not(.as-embed) .as-ctrls span[role="status"] { display: none !important; }
  .ps-locnote { position: fixed; left: 12px; right: 12px; bottom: calc(var(--ps-bar) + 112px); z-index: 90; margin: 0; padding: 8px 12px; border-radius: 8px; background: rgba(31, 42, 36, .92); color: #fff; font-size: 13px; line-height: 1.35; text-align: center; }
  .ps-locnote[hidden] { display: none; }
  html:not(.as-embed):has(.as-tl > .as-tl-chips[style*="display: flex"] ~ .as-lens-wrap[style*="display: block"]) .ps-locnote { bottom: calc(var(--ps-bar) + 164px); } /* above the stacked picker + time bar */
  /* the time bar the screen's width, 8 px from each edge (Romain, PR 1013 review, 2 Dec 2026: "time bar goes wider on the screen closer to edge"):
     timelens.js pads .as-tl-lensmode 20 px each side inside romainmap.css's 8 px; the hour track and the day pills get that width */
  html:not(.as-embed) body .as-root .as-tl.as-tl-lensmode { left: 8px !important; right: 8px !important; padding-left: 0 !important; padding-right: 0 !important; }
  /* a range picker and the time bar together (Snowfall's 'over the next' / 'in the last' with a timed layer such as Wind): stacked, the picker on its own
     full-width row right above the time bar, which keeps the full width (Romain, PR 1013 review, 2 Dec 2026: "maybe you should stack them"); one alone: as before */
  html:not(.as-embed) body .as-root .as-tl:has(> .as-tl-chips[style*="display: flex"] ~ .as-lens-wrap[style*="display: block"]) { flex-wrap: wrap !important; row-gap: 6px; }
  html:not(.as-embed) body .as-root .as-tl:has(> .as-tl-chips[style*="display: flex"] ~ .as-lens-wrap[style*="display: block"]) > .as-tl-chips { flex: 1 1 100% !important; margin-right: 0 !important; max-width: none !important; }
  html:not(.as-embed) body .as-root .as-tl:has(> .as-tl-chips[style*="display: flex"] ~ .as-lens-wrap[style*="display: block"]) > .as-lens-wrap { flex: 1 1 100% !important; }
  /* P5-27 (Romain, 3 Dec 2026: "this should be centered"): the range picker alone ("Forecast snowfall over the next" and its chips) in the middle of the phone's width */
  html:not(.as-embed) body .as-root .as-tl > .as-tl-chips { margin-left: auto !important; margin-right: auto !important; }
  /* the search (tripbar.js .tb-sheet: Where, When, Pass, More filters, Clear, Find snow) opens as a card over the map, never over the whole screen (Caroline, 2 Dec 2026:
     "I always want it to look like a search popup"): the map shows round it and under it, the bar at the bottom stays; its inside scrolls when the phone is short */
  html body .tb-sheet.tb-show { inset: auto; top: calc(10px + env(safe-area-inset-top, 0px)); left: 10px; right: 10px; bottom: auto; height: auto;
    max-height: calc(100dvh - var(--ps-bar) - 96px - env(safe-area-inset-top, 0px)); border-radius: 18px; overflow: hidden; background: #fff;
    box-shadow: 0 0 0 1px rgba(11, 11, 12, .08), 0 18px 48px rgba(11, 11, 12, .28); }
  html body .tb-sheet.tb-show > .tb-sh { flex: none; height: 44px; min-height: 0; }
  html body .tb-sheet.tb-show > .tb-sb { flex: 0 1 auto; min-height: 0; padding-top: 0 !important; }
  html body .tb-sheet.tb-show .tb-list { max-height: 168px; }
  html body .tb-sheet.tb-show > .tb-sf { padding-bottom: 12px; }
  /* "Powered by boreas2" and its (i), as on the resort pages (passes_box.js on the Leaderboard) */
  .ps-by { margin: 2px 0 8px; font-size: 12.5px; color: #6b7075; } .ps-by p { margin: 0; } .ps-by b { font-weight: 600; color: #0b0b0c; }
  .ps-bi { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 28px; margin: -6px 0; padding: 0; border: 0; background: none; color: #1d4ed8; vertical-align: middle; cursor: pointer; }
  .ps-bi[aria-expanded="true"] { color: #0b0b0c; }
  .ps-bitx { margin: 6px 0 2px !important; padding: 10px 12px; border-radius: 12px; background: #f2f0eb; font-size: 12.5px; line-height: 1.45; color: #3b4148; }
  .ps-bitx[hidden] { display: none; }
  /* the bar beside a list that scrolls inside its box (phonebar.js psRail): a light track, a dark thumb, a wide strip for the finger */
  .lbr-sc, .lbb-sc { scrollbar-width: none; } .lbr-sc::-webkit-scrollbar, .lbb-sc::-webkit-scrollbar { display: none; } /* the bar beside them does the job; a computer's own bar took 15 px and pushed the numbers off their headings */
  .ps-rail { position: absolute; right: 0; width: 14px; z-index: 2; touch-action: none; }
  .ps-rail[hidden] { display: none; }
  .ps-rail::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 4px; border-radius: 2px; background: #e4e2dc; }
  .ps-rail i { position: absolute; left: 3px; top: 0; width: 8px; border-radius: 4px; background: #6b7075; }
  /* the Leaderboard's headings, one size, each on one line where it can be (Caroline, 2 Dec 2026) */
  html:has(.lbb) main .lbb h2, html:has(.lbb) main section > h3 { font-size: clamp(15px, 4.4vw, 17px) !important; white-space: nowrap; letter-spacing: -.01em; }
  html:has(.lbb) main .pm-sub > h4 { font-size: clamp(15px, 4.4vw, 17px) !important; letter-spacing: -.01em; line-height: 1.3; }
  /* the Leaderboard's foot: "Powered by boreas2", centred, as at the foot of the resort page's tabs (resortphone.css .rp-pow) */
  .lb-pow { position: relative; margin: 18px 12px 6px; text-align: center; }
  .lb-pow > p:first-child { display: inline-block; padding: 4px 4px 4px 12px; border-radius: 99px; background: rgba(255, 255, 255, .92); } /* readable on the map behind */
  .lb-pow .ps-bitx { max-width: 330px; margin: 8px auto 0 !important; background: #fff; text-align: left; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
  /* every page but the map (Caroline, 2 Dec 2026): the units switch on one row at the top right, exactly as on the resort pages (resortphone.css), and no
     search or heart button beside it: the bar at the bottom has Find snow and Favorites */
  html:not(:has(.as-ctrls)) .ps-fav, html:not(:has(.as-ctrls)) .ps-srch { display: none !important; }
  html:not(:has(.as-ctrls)) .ps-units { position: absolute !important; top: 9px !important; right: 12px !important; height: 30px !important; width: auto !important; flex-direction: row !important; padding: 2px !important; }
  html:not(:has(.as-ctrls)) .ps-units button { height: 24px !important; padding: 0 8px !important; font-size: 12px !important; }
  /* the map: no heart in its column (Favorites is in the bar; phonebar.js still opens the panel through it) */
  html:not(.as-embed) .as-root .as-ctrls .as-favbtn, html:not(.as-embed) .as-root .as-ctrls > :has(> .as-favbtn) { display: none !important; }
  /* Data layers at the bottom of the map's column (Caroline, 2 Dec 2026), and on a first visit a violet note beside it saying what it does (phonebar.js) */
  html:not(.as-embed) .as-root .as-ctrls > :has(button[aria-label="Data layers"]) { order: 9; margin-top: 61px; } /* room for the units switch (53 px) above it */
  .ps-laytip { position: fixed; z-index: 25; right: 64px; padding: 7px 12px; border-radius: 99px; background: #7455da; color: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 18px rgba(65, 40, 150, .35); cursor: pointer; }
  .ps-laytip-full { width: 210px; padding: 10px 30px 10px 12px; border-radius: 12px; font-size: 13px; font-weight: 400; line-height: 1.35; white-space: normal; }
  .ps-laytip-full b { display: block; font-size: 14px; font-weight: 700; }
  .ps-laytip-full button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 8px; background: none; color: #fff; font-size: 17px; line-height: 1; cursor: pointer; }
  .ps-laytip::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: #7455da; transform: rotate(45deg); border-radius: 2px; }
  html:not(.as-embed) .as-tour, html:not(.as-embed) .as-ftour { display: none !important; } /* Romain's older first-visit call-outs on the map and the favourites ("Got it"): the violet note replaces them on a phone */ /* the map's older first-visit call-outs (romainmap.js tour): the violet note replaces them on a phone */
  /* the search map (body.s2-showmap): the units switch at the foot of the map's button column (Location, Zoom, Data layers), as on /map/, and the header at the top */
  html body.s2-showmap .ps-units { top: 210px !important; right: 12px !important; flex-direction: column !important; height: auto !important; width: 44px !important; }
  html body.s2-showmap .ps-units button { height: 24px !important; padding: 0 2px !important; font-size: 10.5px !important; }
  .ps-shd { position: fixed; z-index: 50; top: 10px; left: 10px; right: 66px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .97); box-shadow: 0 6px 20px rgba(20, 30, 40, .14); }
  .ps-shd > b { display: block; font-size: 15px; line-height: 1.25; font-weight: 650; letter-spacing: -.01em; color: #0b0b0c; }
  /* the logo row (Caroline, 2 Dec 2026): the peaksignal name in one purple, and the tag at the right */
  .ps-shd-top { display: flex; align-items: center; justify-content: space-between; margin: 0 0 6px; }
  .ps-shd-logo .brand-word { display: inline-flex; align-items: center; gap: 5px; color: #7455da; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; }
  .ps-shd-logo .brand-word svg { flex: none; width: 23px; height: 15px; }
  .ps-shd-logo .brand-word b, .ps-shd-logo .brand-word i { color: inherit !important; }
  .ps-shd-logo .brand-word b { display: inline !important; font-size: inherit !important; font-weight: 500; }
  .ps-shd-logo .brand-word i { font-style: normal; font-weight: 300; margin-left: -5px; }
  .ps-shd-tag { font-style: normal; font-size: 11px; font-weight: 600; color: #5f43c4; background: #efeafc; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
  .ps-shd .ps-shd-who { display: block; margin-top: 1px; font-size: 12.5px; color: #6b7075; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body:not(.s2-showmap) .ps-shd { display: none; }
  /* the Leaderboard's ski areas read as links (Caroline, 2 Dec 2026: "make it very obvious ... clicking on it connects to the individual ski resort pages"):
     a light violet underline and a violet arrow after each name; a tap opens the resort's page */
  html:has(.lbb) .lbb-nm a, html:has(.lbb) .lbr-ol li a[href^="/resort/"] { text-decoration: underline !important; text-decoration-color: #b9a7ff !important; text-decoration-thickness: 1.5px !important; text-underline-offset: 3px; }
  html:has(.lbb) .lbb-nm a::after, html:has(.lbb) .lbr-ol li a[href^="/resort/"]::after { content: "\203A"; display: inline-block; margin-left: 5px; color: #7455da; font-weight: 700; text-decoration: none; }
  /* the legal line (as at the Leaderboard's foot) */
  .ps-legal { margin: 10px 0 0; text-align: center; font-size: 11.5px; color: #6b7075; } .ps-legal a { color: inherit; }
  /* the favourites view on a phone (Caroline, 2 Dec 2026): the search to add resorts at the top; the list ends above the bar at the bottom; the Map / List button
     centred on the screen above the bar; in the list, no map buttons (the units switch alone, top right), and the list's foot; on the map, the buttons as on /map/ */
  html.as-favs-open:not(.as-embed) .as-favpanel { bottom: calc(var(--ps-bar) + 8px) !important; max-height: none !important; }
  html.as-favs-open:not(.as-favs-map):not(.as-embed) .as-favpanel { right: 8px !important; }
  html:not(.as-embed) .as-favpanel .fp-find { order: -1; margin: 0 0 8px; }
  html:not(.as-embed) .as-favpanel .fp-res { top: calc(100% + 6px); bottom: auto; }
  html:not(.as-embed) .as-favpanel .fp-body { padding-bottom: 72px; }
  html:not(.as-embed) .as-favpanel .fp-map { position: fixed !important; left: 50% !important; bottom: calc(var(--ps-bar) + 14px) !important; transform: translateX(-50%) !important; }
  html.as-favs-map:has(.as-tl[style*="display: flex"]) .as-favpanel .fp-map { bottom: calc(var(--ps-bar) + 118px) !important; }
  html:not(.as-embed):has(.as-tl > .as-tl-chips[style*="display: flex"] ~ .as-lens-wrap[style*="display: block"]).as-favs-map .as-favpanel .fp-map { bottom: calc(var(--ps-bar) + 170px) !important; } /* above the stacked picker + time bar */
  html.as-favs-open:not(.as-favs-map):not(.as-embed) .as-root .as-ctrls { display: none !important; }
  /* the map's credits (OSM, and the weather's) in the list (hard rule: credits on every public page): no (i) at the top by the logo (Romain, 3 Dec 2026: "the I button
     should only be at the bottom here on these pages"); the list's foot carries them under its own (i), in the list's flow, so open they cover nothing (favpanel.js .fp-cred) */
  html.as-favs-open:not(.as-favs-map):not(.as-embed) .as-mlmap .maplibregl-ctrl-bottom-right { display: none !important; }
  .fp-foot .fp-cred:empty { display: none; }
  html.as-favs-open:not(.as-favs-map):not(.as-embed) .ps-units { top: 14px !important; flex-direction: row !important; width: auto !important; height: 30px !important; padding: 2px !important; }
  html.as-favs-open:not(.as-favs-map):not(.as-embed) .ps-units button { height: 24px !important; padding: 0 8px !important; font-size: 12px !important; }
  .fp-foot { display: block; margin: 18px 4px 4px; text-align: center; }
  .fp-foot .ps-by > p:first-child { display: inline-block; padding: 4px 4px 4px 12px; border-radius: 99px; background: rgba(255, 255, 255, .92); }
  .fp-foot .ps-bitx { text-align: left; background: #fff; }
  .fp-foot .ps-legal { display: inline-block; padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .92); }
  /* the favourites' map: the (i) under the button column, as on /map/ */
  html.as-favs-open.as-favs-map:not(.as-embed) .as-mlmap .maplibregl-ctrl-bottom-right.maplibregl-ctrl-bottom-right.maplibregl-ctrl-bottom-right { top: calc(263px + env(safe-area-inset-top, 0px)); bottom: auto !important; right: 12px; }
  /* Account and Saved Searches on a phone (Caroline, 2 Dec 2026): no units switch at the top; on Account no Favorites tile (the bar has Favorites) and less space between the parts */
  html:has(#ac-me-h) .ps-units, html:has(main.tp) .ps-units { display: none !important; }
  html:has(#ac-me-h) main.st { padding-top: 56px !important; padding-bottom: 16px !important; }
  html:has(#ac-me-h) .st-card { padding: 16px 14px !important; }
  html:has(#ac-me-h) .st-sec { margin-top: 14px !important; padding-top: 12px !important; }
  html:has(#ac-me-h) .st-sec .lb-h2 { margin-bottom: 2px !important; }
  html:has(#ac-me-h) .ac-grid { margin-top: 8px !important; gap: 8px !important; }
  html:has(#ac-me-h) .pr-plans { gap: 12px !important; }
  html:has(#ac-me-h) .pr-plans > section { padding: 14px 14px !important; row-gap: 6px !important; }
  /* the plans on a phone (snow/includes/plans_table_phone.html; Caroline, 2 Dec 2026, mock-up 2D): banner, one table, two buttons, instead of the three long cards */
  .pz-ph { display: block; }
  html:has(.pz-ph) .pr-thanks, html:has(.pz-ph) .pr-plans { display: none !important; }
  .pz-hero { position: relative; overflow: hidden; margin-bottom: 10px; padding: 16px 14px 42px; border-radius: 16px; background: linear-gradient(135deg, #8a6cf0, #5b3fc4); color: #fff; }
  .pz-hero b { display: block; font-size: 18px; letter-spacing: -.01em; } .pz-hero span { display: block; font-size: 13px; opacity: .92; }
  /* the peaksignal mark in a violet card (Romain, 3 Dec 2026: the faded mark behind the words "doesn't look very visually good"): one thin signal line along the card's bottom,
     in its own 26 px band under the words, coming in from the left and ending in the mark at the right; it never crosses a word or a button. The same on Saved Searches below. */
  .pz-w { position: absolute; right: -4px; bottom: 2px; height: 40px; opacity: .5; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%); mask-image: linear-gradient(90deg, transparent, #000 55%); }
  .pz-card { padding: 6px 10px; border-radius: 14px; background: #fff; border: 1px solid #e4e2dc; }
  .pz-tbl { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.35; }
  .pz-tbl th { padding: 6px 2px; font-size: 12px; font-weight: 600; text-align: center; vertical-align: bottom; } .pz-tbl th b { font-size: 16px; font-weight: 500; } .pz-tbl th.pz-v { color: #7455da; }
  .pz-tbl td { padding: 7px 2px; border-top: 1px solid #e4e2dc; vertical-align: top; } .pz-tbl td.pz-c { width: 52px; text-align: center; color: #7455da; font-weight: 700; } .pz-tbl td.pz-no { color: #b8b5ad; font-weight: 400; } .pz-tbl td small { font-size: 10px; font-weight: 600; }
  .pz-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pz-btn { display: flex; align-items: center; justify-content: center; height: 46px; margin-top: 10px; border-radius: 12px; background: #7455da; color: #fff !important; font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 14px rgba(116, 85, 218, .3); }
  .pz-btn.pz-ink { background: #0b0b0c; box-shadow: none; }
  /* under the two buttons (Romain, 3 Dec 2026: "better align that bottom text"; the family plans "have icons and look fun", not "terms and conditions"): the family passes as two tiles,
     each one link (a family of four in winter hats, the pass's own words, the plan's name), in the colour of the button of their plan; then the season line, in two even lines */
  .pz-fam { display: flex; gap: 8px; margin-top: 10px; }
  .pz-fam-a { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px 10px; border-radius: 14px; background: #f2f0eb; color: #0b0b0c !important; text-align: center; text-decoration: none; }
  .pz-fam-a.pz-fam-v { background: #f1edfc; }
  .pz-fam-a svg { width: 64px; height: 32px; }
  .pz-fam-a b { max-width: 8em; font-size: 13px; font-weight: 600; line-height: 1.3; text-wrap: balance; }
  .pz-fam-a small { padding: 2px 9px; border-radius: 99px; background: #0b0b0c; color: #fff; font-size: 11px; font-weight: 600; }
  .pz-fam-a.pz-fam-v small { background: #7455da; }
  .pz-terms { max-width: 270px; margin: 10px auto 0; text-align: center; font-size: 12px; line-height: 1.45; color: #6b7075; text-wrap: balance; }
  /* the signed-out Account page: the free account first (mock-up 3B) */
  /* Romain, 3 Dec 2026 ("too much purple, too big"): one white card, the words in ink and grey, the button the only violet and as wide as its words */
  /* one sign-in link (Romain, 3 Dec 2026: "I don't need 2 sign-in buttons ... At the top it should say not signed in, period"): the You row keeps its words only; the card's "Already have one? Sign in" is the link */
  .ac-me .ac-me-in { display: none; }
  .ac-join { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; margin: 10px 0 4px; padding: 12px 14px; border: 1px solid #e4e2dc; border-radius: 14px; background: #fff; }
  .ac-join-h { flex: 0 0 100%; color: #0b0b0c; } .ac-join-h b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; } .ac-join-h span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: #6b7075; }
  .ac-join-b { display: inline-flex; align-items: center; justify-content: center; height: 38px; margin-top: 10px; padding: 0 16px; border-radius: 10px; background: #7455da; color: #fff !important; font-size: 14px; font-weight: 600; text-decoration: none; }
  .ac-join-s { margin: 10px 0 0; font-size: 13px; color: #6b7075; } .ac-join-s a { color: #7455da; font-weight: 600; }
  /* "Create a free account to save" (phonebar.js psNeedAccount; mock-up 3A): a sheet from the bottom over a dimmed page */
  .ps-acct { display: block; position: fixed; inset: 0; z-index: 3000; background: rgba(11, 11, 12, .38); }
  .ps-acct[hidden] { display: none; }
  .ps-acct-s { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px calc(18px + env(safe-area-inset-bottom, 0px)); border-radius: 20px 20px 0 0; background: #fff; box-shadow: 0 -10px 30px rgba(0, 0, 0, .18); }
  .ps-acct-g { width: 40px; height: 4px; margin: 0 auto 12px; border-radius: 2px; background: #d6d3cc; }
  .ps-acct-s b { display: block; font-size: 17px; font-weight: 600; } .ps-acct-s p { margin: 4px 0 12px; font-size: 14px; line-height: 1.4; color: #6b7075; }
  .ps-acct-s a.ps-acct-b { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 12px; background: #7455da; color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 14px rgba(116, 85, 218, .3); }
  .ps-acct-s .ps-acct-i { margin: 10px 0 0; text-align: center; font-size: 13.5px; } .ps-acct-s .ps-acct-i a { color: #7455da; font-weight: 600; }
  .ps-acct-s button { display: block; width: 100%; margin-top: 6px; padding: 10px 0 0; border: 0; background: none; font: inherit; font-size: 14px; color: #6b7075; cursor: pointer; }
  /* the search's When on a phone (tripbar.js; Caroline, 2 Dec 2026: "cleaner and more sleek ... clearer that next 15 days, seasonal, and see plans are distinct
     options"): two cards side by side, Next 15 days with a Free tag, Seasonal in peaksignal violet with its lock, See plans as a violet link under it; all 15 days
     in three rows of five, so none is off screen; the passes' search box words at the size of the pass names */
  html body .tb-sheet .tb-cv .tb-span { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0; border-radius: 0; background: none; margin: 0 0 12px; }
  html body .tb-sheet .tb-cv .tb-span > .tb-spn { align-self: start; } /* the same height as Seasonal beside it, See plans under that */
  html body .tb-sheet .tb-cv .tb-spw { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
  html body .tb-sheet .tb-cv .tb-spn { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 52px; padding: 8px 12px !important; border: 1.5px solid #e4e2dc !important; border-radius: 12px !important; background: #fff !important; box-shadow: none !important; text-align: left; }
  html body .tb-sheet .tb-cv .tb-spn.tb-on { border-color: #0b0b0c !important; box-shadow: inset 0 0 0 1px #0b0b0c !important; }
  html body .tb-sheet .tb-cv .tb-spn b { display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: #0b0b0c !important; white-space: nowrap; }
  html body .tb-sheet .tb-cv .tb-spn span { display: none; }
  html body .tb-sheet .tb-cv .tb-spn .tb-free { display: inline-block; padding: 1px 7px; border-radius: 99px; background: #e9f5ec; color: #1f6b35; font-size: 10.5px; font-style: normal; font-weight: 700; letter-spacing: .04em; }
  html body .tb-sheet .tb-cv .tb-spw .tb-spn { border-color: #d9cffb !important; background: #f6f3fe !important; }
  html body .tb-sheet .tb-cv .tb-spw .tb-spn b { color: #4a33a8 !important; }
  html body .tb-sheet .tb-cv .tb-spw .tb-spn.tb-on { border-color: #7455da !important; box-shadow: inset 0 0 0 1px #7455da !important; }
  html body .tb-sheet .tb-seeplans { align-self: flex-start; height: auto; padding: 0 2px; border-radius: 0; background: none; color: #7455da !important; font-size: 12.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
  html body .tb-sheet .tb-dayhead span { display: inline; }
  html body .tb-sheet .tb-dayrow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; overflow: visible; }
  html body .tb-sheet .tb-dayrow .tb-day { width: auto; min-width: 0; }
  html body .tb-sheet input.tb-passq::placeholder { font-size: 13px; font-weight: 500; color: #3b4148; } /* the pass names: 13 px, 500 */
  /* the units switch only where the page shows snow, temperatures, or heights (Caroline, 2 Dec 2026: "no need here", e.g. the Blog and sign-in); phonebar.js marks the rest */
  html.ps-nounits .ps-units { display: none !important; }
  /* Saved Searches with none saved (trips.html; Caroline, 2 Dec 2026: "a nicer page ... using our colors"): a violet card, its heading, a white button; signed out, the
     free account first (saving needs one on a phone) and the grey "Saved on this device" line gone */
  .tp-start-card .pk-h1 { margin: 0 0 10px !important; color: #fff !important; font-size: 12px !important; font-weight: 600 !important; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
  .tp-start-card { position: relative; overflow: hidden; border: 0 !important; border-radius: 18px !important; background: linear-gradient(135deg, #8a6cf0, #5b3fc4) !important; color: #fff; padding: 22px 18px 48px !important; }
  .tp-start-card::after { content: ""; position: absolute; left: 0; right: -4px; bottom: 2px; height: 40px; opacity: .5; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%); mask-image: linear-gradient(90deg, transparent, #000 55%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-520 0 592 48' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M-520 36 H14 L24 10 L34 36 C37 43 40 43 43 36 C46 29 49 29 52 36 C54 40 56 40 58 36 H72'/%3E%3C/svg%3E") no-repeat right bottom / auto 100%; }
  .tp-eh { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 6px; }
  .tp-start-card .pk-text { color: rgba(255, 255, 255, .92) !important; margin: 0 0 14px !important; }
  .tp-start-card .pk-btn { display: flex; align-items: center; justify-content: center; height: 46px; border: 0 !important; border-radius: 12px !important; background: #fff !important; color: #4a33a8 !important; font-weight: 600; }
  .tp-join { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; margin-bottom: 8px; padding: 8px 14px; box-sizing: border-box; border-radius: 12px; background: #0b0b0c; color: #fff !important; font-size: 14.5px; font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none; white-space: normal; }
  .tp-start-card .pk-btn { width: 100%; box-sizing: border-box; }
  html:has(#tp-empty:not([hidden])) .tp-device-note { display: none !important; }
  /* signed out with none saved: the card centred on the page's map background, as the empty page of a signed-in visitor (Caroline, 2 Dec 2026) */
  html:has(main.tp-device) body .pg-bg { display: block !important; } /* pk.css hides the map behind white pages; this one starts it (map_bg.html never starts a hidden one) */
  html:has(#tp-empty:not([hidden])), html:has(#tp-empty:not([hidden])) body { background: transparent !important; }
  html:has(#tp-empty:not([hidden])) main.tp { display: flex; align-items: center; justify-content: center; min-height: calc(100dvh - var(--ps-bar) - 120px); background: transparent !important; box-shadow: none !important; }
  html:has(#tp-empty:not([hidden])) main.tp .tp-list { width: 100%; background: transparent !important; }
  html:has(main.tp-empty) main.tp-empty { display: flex; align-items: center; justify-content: center; min-height: calc(100dvh - var(--ps-bar) - 120px); }
  html:has(main.tp-empty) main.tp-empty .tp-start-card { width: 100%; }
  /* Account: Upgrade in peaksignal violet (account_plan.html) */
  html:has(#ac-me-h) .ac-btn[data-ac-open="ac-up"] { background: #7455da !important; border-color: #7455da !important; color: #fff !important; box-shadow: 0 4px 14px rgba(116, 85, 218, .3); }
  /* Units and language (/settings/): the same tighter spacing as Account */
  html:has(#st-preset) main.st { padding-top: 56px !important; padding-bottom: 16px !important; }
  html:has(#st-preset) .st-card { padding: 16px 14px !important; }
  html:has(#st-preset) .st-sec { margin-top: 14px !important; padding-top: 12px !important; }
  html:has(#st-preset) .st-row { margin: 6px 0 !important; }
  html:has(#st-preset) .st-langs { gap: 8px !important; }
  html:has(#st-preset) .st-lang { padding: 9px 12px !important; }
  html:has(#st-preset) .st-eg { margin-top: 10px !important; }
  /* Account: no Password section; one small line above Delete account instead (account.html .ac-pw-ph) */
  html:has(#ac-me-h) #sign-in { display: none !important; }
  .ac-pw-ph { display: block; margin: 14px 0 0; font-size: 13px; color: #6b7075; } .ac-pw-ph a { color: #0b0b0c; text-underline-offset: 3px; }
  /* Terms and Privacy (terms.html, privacy.html: sizes set on each element): the sizes of the other pages (Caroline, 2 Dec 2026: "It all feels very big") */
  .lg-root main h1 { font-size: 28px !important; }
  .lg-root main h2 { font-size: 18px !important; font-weight: 500 !important; padding-top: 18px !important; }
  .lg-root main h3 { font-size: 15px !important; }
  .lg-root main article p, .lg-root main article li, .lg-root main article td, .lg-root main article div { font-size: 14px !important; line-height: 1.55 !important; }
  .lg-root main aside a, .lg-root main aside span { font-size: 13px !important; }
  /* the search results' Map / List pill (search_v2.css .s2-flip, 22 px from the bottom) above the bar, not under it (Caroline, 2 Dec 2026) */
  html body .s2 > .s2-flip.s2-flip, html body .s2-flip.s2-flip { bottom: calc(var(--ps-bar) + 14px) !important; }
  /* on the map: above the map's time bar and a range picker stacked on it (mapframe.js liftOver measures them; Romain, PR 1013 review pass 2, F4, as the favourites' pill) */
  html body.s2-showmap .s2 > .s2-flip.s2-flip, html body.s2-showmap .s2-flip.s2-flip { bottom: max(calc(var(--ps-bar) + 14px), var(--mf-tl-up, 0px)) !important; }
  .rp-botmenu a:active, .rp-botmenu a:focus-visible, .rp-botmenu button:active, .rp-botmenu button:focus-visible { background: #f3f2ee; outline: 0; }
}
/* a computer (Romain, 3 Dec 2026, laptop: the phone's behaviour carried over, P5-29): the same "Create a free account to save favorites" box before
   a favourite is added (phonebar.js psNeedAccount), as a card in the middle of the page instead of the phone's sheet */
@media (min-width: 701px) {
  .ps-acct { display: block; position: fixed; inset: 0; z-index: 3000; background: rgba(11, 11, 12, .38); }
  .ps-acct[hidden] { display: none; }
  .ps-acct-s { position: absolute; left: 50%; top: 50%; width: 400px; transform: translate(-50%, -50%); padding: 22px 24px 16px; border-radius: 16px; background: #fff; box-shadow: 0 12px 40px rgba(0, 0, 0, .22); font-family: Geist, "Helvetica Neue", Arial, sans-serif; color: #0b0b0c; }
  .ps-acct-g { display: none; }
  .ps-acct-s b { display: block; font-size: 17px; font-weight: 600; } .ps-acct-s p { margin: 4px 0 12px; font-size: 14px; line-height: 1.4; color: #6b7075; }
  .ps-acct-s a.ps-acct-b { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 12px; background: #7455da; color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
  .ps-acct-s .ps-acct-i { margin: 10px 0 0; text-align: center; font-size: 13.5px; } .ps-acct-s .ps-acct-i a { color: #7455da; font-weight: 600; }
  .ps-acct-s button { display: block; width: 100%; margin-top: 6px; padding: 8px 0 0; border: 0; background: none; font: inherit; font-size: 14px; color: #6b7075; cursor: pointer; }
}
