/* Snow reports (src/snow-reports.js): the long-press bubble, the report form, the pin's card and the recording tab.
   Same look as the other low cards: theme surface, petrol (accent) the only action colour, radii 10/14/22/pill. */
html body #app#app#app#app#app .snow-bubble{position:fixed;z-index:60;display:flex;gap:4px;padding:6px;border-radius:22px;background:var(--g-surface,#fff);
  box-shadow:0 6px 22px rgba(var(--g-shadow-rgb,18,56,75),.28);animation:snowPop .16s ease-out}
html body #app#app#app#app#app .snow-bubble::after{content:'';position:absolute;left:calc(var(--tip,50%) - 6px);bottom:-6px;width:12px;height:12px;background:var(--g-surface,#fff);transform:rotate(45deg);border-radius:2px}
html body #app#app#app#app#app .snow-bubble.below::after{bottom:auto;top:-6px}
@keyframes snowPop{from{opacity:0;transform:translateY(6px) scale(.96)}to{opacity:1;transform:none}}
html body #app#app#app#app#app .snow-bubble .sb-opt{position:relative;z-index:1;display:flex!important;flex-direction:column;align-items:center;gap:5px;min-width:92px;min-height:0!important;margin:0!important;padding:9px 10px 8px!important;
  border:0!important;border-radius:16px!important;background:transparent!important;color:var(--g-ink,#183746)!important;font:600 13px/1.1 var(--font-sans,Inter),sans-serif!important;white-space:nowrap;box-shadow:none!important}
html body #app#app#app#app#app .snow-bubble .sb-report{background:rgba(var(--g-accent-rgb,24,102,118),.1)!important;color:var(--g-accent,#186676)!important}
html body #app#app#app#app#app .snow-bubble .sb-opt i{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--g-ink,#183746)}
html body #app#app#app#app#app .snow-bubble .sb-pin .ui-icon{stroke:var(--g-surface,#fff)!important}
html body #app#app#app#app#app .snow-bubble .sb-opt .ui-icon{width:19px;height:19px;stroke:#fff;fill:none;stroke-width:2.1}

/* The form and the card: a low sheet above the bottom bar, as the spot report. */
html body #app#app#app#app#app .snow-sheet:not([hidden]){position:fixed;z-index:48;left:0;right:0;bottom:var(--nav-h,0px);display:block;max-height:calc(100dvh - var(--nav-h,0px) - 120px);overflow-y:auto;overscroll-behavior:contain;
  margin:0;padding:6px 16px calc(14px + env(safe-area-inset-bottom,0px));border-radius:22px 22px 0 0;background:var(--g-surface,#f3f9fc);color:var(--g-ink,#183746);
  box-shadow:0 -6px 24px rgba(var(--g-shadow-rgb,24,55,70),.2);font-family:var(--font-sans,Inter),sans-serif;animation:snowUp .2s ease-out}
@keyframes snowUp{from{transform:translateY(24px);opacity:.4}to{transform:none;opacity:1}}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .snow-sheet:not([hidden]){z-index:120}
html body #app#app#app#app#app .snow-sheet .ss-grab{width:36px;height:4px;margin:2px auto 8px;border-radius:2px;background:rgba(var(--g-ink-rgb,24,55,70),.2)}
html body #app#app#app#app#app .snow-sheet .ss-head{position:sticky;top:-6px;z-index:2;display:flex;align-items:flex-start;gap:10px;margin:0 -16px;padding:4px 16px 4px;background:var(--g-surface,#f3f9fc)}
html body #app#app#app#app#app .snow-sheet .ss-title{flex:1;min-width:0}
html body #app#app#app#app#app .snow-sheet h2{margin:2px 0 0;font:600 20px/1.2 var(--font-headline,Outfit),Inter,sans-serif;color:var(--g-ink,#183746);letter-spacing:0}
html body #app#app#app#app#app .snow-sheet .ss-title small{display:inline;font:400 13px/1.35 var(--font-sans,Inter),sans-serif;color:var(--g-muted,#526e7b)}
html body #app#app#app#app#app .snow-sheet .ss-here{display:inline-flex;align-items:center;gap:4px;margin:5px 6px 0 0;padding:2px 9px 2px 6px;border-radius:999px;background:rgba(var(--g-accent-rgb,24,102,118),.1);color:var(--g-accent,#186676);font:600 12px/1.5 var(--font-sans,Inter),sans-serif;vertical-align:middle}
html body #app#app#app#app#app .snow-sheet .ss-here .ui-icon{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2.4}
html body #app#app#app#app#app .snow-sheet .ss-x{flex:none;display:grid!important;place-items:center;width:36px!important;height:36px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;
  background:var(--g-raised,#e1edf1)!important;color:var(--g-ink,#183746)!important;font:400 22px/1 var(--font-sans,Inter),sans-serif!important;box-shadow:none!important}
html body #app#app#app#app#app .snow-sheet .ss-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}
html body #app#app#app#app#app .snow-sheet .ss-tile{display:flex!important;flex-direction:column;align-items:center;gap:5px;min-height:0!important;margin:0!important;padding:10px 4px 8px!important;border:1px solid var(--g-line,rgba(24,55,70,.14))!important;border-radius:14px!important;
  background:var(--g-base,#fff)!important;color:var(--g-ink,#183746)!important;font:500 13px/1.15 var(--font-sans,Inter),sans-serif!important;box-shadow:none!important}
html body #app#app#app#app#app .snow-sheet .ss-tile[aria-checked="true"]{border:2px solid var(--g-accent,#186676)!important;padding:9px 3px 7px!important;background:rgba(var(--g-accent-rgb,24,102,118),.08)!important;font-weight:600!important}
html body #app#app#app#app#app .snow-sheet .ss-tile i{display:grid;place-items:center;width:32px;height:32px;border-radius:50%}
html body #app#app#app#app#app .snow-sheet .ss-tile .ui-icon{width:17px;height:17px;stroke:#fff;fill:none;stroke-width:2.2}
html body #app#app#app#app#app .snow-sheet .ss-q{margin:14px 0 0;font:600 13px/1.3 var(--font-sans,Inter),sans-serif;color:var(--g-ink,#183746)}
html body #app#app#app#app#app .snow-sheet .ss-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
html body #app#app#app#app#app .snow-sheet .ss-chip{min-height:34px!important;margin:0!important;padding:6px 12px!important;border:1px solid var(--g-line,rgba(24,55,70,.16))!important;border-radius:999px!important;background:var(--g-base,#fff)!important;
  color:var(--g-ink,#183746)!important;font:500 13px/1.2 var(--font-sans,Inter),sans-serif!important;box-shadow:none!important}
html body #app#app#app#app#app .snow-sheet .ss-chip.warn{border-color:rgba(199,106,10,.45)!important;color:var(--g-warning,#8a570b)!important}
html body #app#app#app#app#app .snow-sheet .ss-chip[aria-pressed="true"]{background:var(--g-ink,#183746)!important;border-color:var(--g-ink,#183746)!important;color:var(--g-surface,#fff)!important}
html body #app#app#app#app#app .snow-sheet .ss-chip.warn[aria-pressed="true"]{background:#c76a0a!important;border-color:#c76a0a!important;color:#fff!important}
html body #app#app#app#app#app .snow-sheet .ss-note{display:block;box-sizing:border-box;width:100%;margin:12px 0 0;padding:10px 12px;border:1px solid var(--g-line,rgba(24,55,70,.16));border-radius:14px;background:var(--g-base,#fff);color:var(--g-ink,#183746);
  font:400 16px/1.35 var(--font-sans,Inter),sans-serif;resize:none;outline:none}
html body #app#app#app#app#app .snow-sheet .ss-note:focus{border-color:var(--g-accent,#186676)}
html body #app#app#app#app#app .snow-sheet .ss-priv{display:flex;gap:7px;align-items:flex-start;margin:10px 0 0;font:400 12.5px/1.35 var(--font-sans,Inter),sans-serif;color:var(--g-muted,#526e7b)}
html body #app#app#app#app#app .snow-sheet .ss-priv .ui-icon{flex:none;width:15px;height:15px;margin-top:1px;stroke:currentColor;fill:none;stroke-width:2}
html body #app#app#app#app#app .snow-sheet .ss-actions{display:flex;gap:8px;align-items:center;margin-top:12px}
html body #app#app#app#app#app .snow-sheet .ss-post{flex:1;min-height:48px!important;margin:0!important;padding:0 16px!important;border:0!important;border-radius:999px!important;background:var(--g-accent,#186676)!important;color:var(--g-on-accent,#fff)!important;font:600 16px var(--font-sans,Inter),sans-serif!important;box-shadow:none!important}
html body #app#app#app#app#app .snow-sheet .ss-post:disabled{opacity:.4}
html body #app#app#app#app#app .snow-sheet :is(.ss-skip,.sc-vote,.sc-del){min-height:46px!important;margin:0!important;padding:0 16px!important;border:1px solid var(--g-line,rgba(24,55,70,.16))!important;border-radius:999px!important;background:var(--g-base,#fff)!important;
  color:var(--g-ink,#183746)!important;font:500 15px var(--font-sans,Inter),sans-serif!important;box-shadow:none!important}
html body #app#app#app#app#app .snow-sheet .ss-err{margin:8px 0 0;font:500 13px var(--font-sans,Inter),sans-serif;color:var(--g-danger,#b83243)}

/* The pin's card */
html body #app#app#app#app#app .snow-card .sc-badge{flex:none;display:grid;place-items:center;width:40px;height:40px;margin-top:2px;border-radius:50%}
html body #app#app#app#app#app .snow-card .sc-badge .ui-icon{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2.2}
html body #app#app#app#app#app .snow-card .sc-warn{display:flex;align-items:center;gap:7px;margin:10px 0 0;font:600 14px/1.3 var(--font-sans,Inter),sans-serif;color:#b45f0b}
html body #app#app#app#app#app .snow-card .sc-warn .ui-icon{flex:none;width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2}
html body #app#app#app#app#app .snow-card .sc-calm{margin:10px 0 0;font:500 13.5px var(--font-sans,Inter),sans-serif;color:var(--g-muted,#526e7b)}
html body #app#app#app#app#app .snow-card .sc-text{margin:8px 0 0;font:400 15px/1.45 var(--font-sans,Inter),sans-serif;color:var(--g-ink,#183746);white-space:pre-wrap;overflow-wrap:anywhere}
html body #app#app#app#app#app .snow-card .sc-who{margin:10px 0 0;font:400 13px var(--font-sans,Inter),sans-serif;color:var(--g-muted,#526e7b)}
html body #app#app#app#app#app .snow-card .sc-on{display:inline-flex;align-items:center;gap:3px;font-weight:600;color:var(--g-accent,#186676)}
html body #app#app#app#app#app .snow-card .sc-on .ui-icon{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2.6}
html body #app#app#app#app#app .snow-card .sc-votes .sc-vote{flex:1;padding:0 10px!important;font-size:14.5px!important}
html body #app#app#app#app#app .snow-card .sc-vote[aria-pressed="true"]{background:var(--g-accent,#186676)!important;border-color:var(--g-accent,#186676)!important;color:var(--g-on-accent,#fff)!important;font-weight:600!important}
html body #app#app#app#app#app .snow-card .sc-count{flex:1;font:400 13px var(--font-sans,Inter),sans-serif;color:var(--g-muted,#526e7b)}
html body #app#app#app#app#app .snow-card .sc-foot{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin:12px 0 0;font:400 11.5px/1.35 var(--font-sans,Inter),sans-serif;color:var(--g-muted,#526e7b)}
html body #app#app#app#app#app .snow-card .sc-foot span{flex:1 1 auto}
html body #app#app#app#app#app .snow-card .sc-flag{min-height:28px!important;margin:0!important;padding:0!important;border:0!important;background:none!important;color:var(--g-muted,#526e7b)!important;font:500 12px var(--font-sans,Inter),sans-serif!important;text-decoration:underline;box-shadow:none!important}

/* While a snow sheet is open the map buttons on the right step aside: a card never covers a button. */
html.snow-sheet-open body #app#app#app#app#app :is(#thumbRail,.shell-hint){visibility:hidden}

/* The recording bar's "Report snow" tab, sitting on the bar's top edge on the left. */
/* The bar keeps layout containment but not paint, so the tab on its top edge shows. */
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app #activeSession{overflow:visible!important;contain:layout!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .snow-rec-tab{position:absolute;z-index:2;left:14px;bottom:100%;display:inline-flex!important;align-items:center;gap:6px;min-height:0!important;height:30px;margin:0 0 -1px!important;padding:0 12px 0 10px!important;
  border:0!important;border-radius:12px 12px 0 0!important;background:var(--g-accent,#186676)!important;color:var(--g-on-accent,#fff)!important;font:600 12.5px/1 var(--font-sans,Inter),sans-serif!important;box-shadow:0 -2px 8px rgba(var(--g-shadow-rgb,18,56,75),.15)!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .snow-rec-tab .ui-icon{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.3}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app #activeSession .snow-rec-tab .ui-icon{stroke:currentColor!important;fill:none!important;color:inherit!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app #activeSession .snow-rec-tab span{color:inherit!important;font:inherit!important;letter-spacing:0!important;text-transform:none!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .snow-rec-tab[hidden]{display:none!important}

/* Locals tab: the row above the posts. */
html body #app#app#app#app#app .snow-locals-row{display:flex!important;align-items:center;gap:12px;width:100%;min-height:58px!important;margin:4px 0 6px!important;padding:8px 2px!important;border:0!important;border-bottom:1px solid var(--g-line,rgba(24,55,70,.12))!important;border-radius:0!important;background:none!important;
  color:var(--g-ink,#183746)!important;text-align:left!important;box-shadow:none!important}
/* The row is hidden when there are no snow reports near the place; display:flex!important above must not show it empty. */
html body #app#app#app#app#app .snow-locals-row[hidden]{display:none!important}
html body #app#app#app#app#app .snow-locals-row i{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#3d86c6}
html body #app#app#app#app#app .snow-locals-row i .ui-icon{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:2.2}
html body #app#app#app#app#app .snow-locals-row>span{flex:1;min-width:0;display:block}
html body #app#app#app#app#app .snow-locals-row b{display:block;font:600 15px/1.25 var(--font-sans,Inter),sans-serif}
html body #app#app#app#app#app .snow-locals-row small{display:block;margin-top:2px;font:400 12.5px/1.3 var(--font-sans,Inter),sans-serif;color:var(--g-muted,#526e7b)}
/* Show on map: the same petrol text link as elsewhere, arrow on the same line (Bjorn 2026-11-22). */
html body #app#app#app#app#app .snow-locals-row em{flex:none;display:inline-flex;align-items:center;gap:2px;white-space:nowrap;font-style:normal;font:600 14px/1 var(--ripa-font-text,Inter),sans-serif;color:var(--acc,#186676)}
html body #app#app#app#app#app .snow-locals-row em>span{display:inline-flex}

@media (min-width:900px){html body #app#app#app#app#app .snow-sheet:not([hidden]){left:calc(var(--dp,0px) + 48px);right:auto;bottom:12px;width:380px;border-radius:22px}}
/* Tour feedback after a tour (src/tour-feedback.js): "as RIPA said?" and the tour's stars. */
html body #app#app#app#app#app .snow-sheet .ss-said{margin:2px 0 0;font:500 12px/1.3 var(--font-sans,Inter),sans-serif;color:var(--g-ink-2,#4a6470)}
html body #app#app#app#app#app .snow-sheet .ss-assaid .ss-chip[aria-checked="true"]{background:var(--g-ink,#183746)!important;border-color:var(--g-ink,#183746)!important;color:var(--g-surface,#fff)!important}
html body #app#app#app#app#app .snow-sheet .ss-stars{display:flex;gap:4px;margin-top:6px}
html body #app#app#app#app#app .snow-sheet .ss-stars button{width:40px;height:40px;border:0;background:none;padding:0;font-size:28px;line-height:1;color:var(--g-line,#c9d6dc);cursor:pointer}
html body #app#app#app#app#app .snow-sheet .ss-stars button.on{color:#f2b51d}
