/* Winter pages: shared visual layer for /ski, /ski/<slug> and /snow, after /site/site.css (docs/DESIGN.md "Winter pages").
   Tokens only, no hex outside this block. The powder ramp is the app's snow lavender family, so snow is one colour
   everywhere and never the green rating ramp or rain blue. Budget 4,000 B gzip (scripts/size-budget.json). */
:root {
  --pow-0: var(--sc-empty);
  --pow-1: #bccbef; --pow-2: #8f9fe2; --pow-3: #6c6fd6; --pow-4: #5d45c9; --pow-5: #3c2a8f;
  --measured: var(--ink); --model: var(--ink-2); --median: var(--ink-3); --freeze: var(--rain);
  --alert: #ffcc00; --w-outline: rgba(0, 0, 0, .1); --w-notice: #f3ebdd;
  --pin-card: #ffffff; --pin-outline: rgba(0, 0, 0, .22);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --pow-1: #3d4a86; --pow-2: #5a5fc0; --pow-3: #7c6fd6; --pow-4: #a597ee; --pow-5: #ece8ff;
    --w-outline: rgba(255, 255, 255, .1); --w-notice: #2a261f;
    --pin-card: #2c2c2e; --pin-outline: rgba(255, 255, 255, .18);
  }
}
:root[data-theme="dark"] {
  --pow-1: #3d4a86; --pow-2: #5a5fc0; --pow-3: #7c6fd6; --pow-4: #a597ee; --pow-5: #ece8ff;
  --w-outline: rgba(255, 255, 255, .1); --w-notice: #2a261f;
  --pin-card: #2c2c2e; --pin-outline: rgba(255, 255, 255, .18);
}
.w-lede { max-width: 34rem; margin: 0 0 18px; font: 500 clamp(1.35rem, 4.4vw, 1.9rem)/1.2 var(--font-display); letter-spacing: -.01em; text-wrap: balance; }
.w-meta { margin: 4px 0 0; color: var(--ink-3); font-size: .8125rem; font-weight: 500; line-height: 1.35; }
.w-tag--measured, .w-tag--model, .w-tag--analysis { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.w-tag--model { color: var(--model); }
.w-none { color: var(--ink-3); }
.w-stat { display: block; }
.w-stat > :first-child { display: block; margin-bottom: 2px; color: var(--ink-2); font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.w-stat strong { font-size: 1.8125rem; font-weight: 650; font-variant-numeric: lining-nums tabular-nums; line-height: 1.1; }
.w-stat small { font-size: 1rem; }
.w-fig { margin: 24px 0; }
.w-fig figcaption { margin-bottom: 10px; font-size: 1.0625rem; line-height: 1.35; }
.w-fig details { margin-top: 8px; }
.w-fig summary, .w-seg label { min-height: 44px; display: inline-flex; align-items: center; cursor: pointer; }
.w-note--safety { margin: 24px 0; padding: 12px 16px; border-radius: 12px; background: var(--w-notice); color: var(--ink-2); font-size: .875rem; line-height: 1.45; }
.w-chips { display: flex; gap: 8px; margin: 0; padding: 0 0 2px; overflow-x: auto; scrollbar-width: none; list-style: none; -webkit-mask: linear-gradient(90deg, #000 calc(100% - 16px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 16px), transparent); }
.w-chips::-webkit-scrollbar { display: none; }
.w-chip, .w-seg label { box-sizing: border-box; min-height: 44px; padding: 0 16px; border: 1px solid var(--hairline-strong); border-radius: 12px; background: var(--card); color: var(--ink); font: 600 .9375rem/1 var(--font-text); white-space: nowrap; }
.w-chip { display: inline-flex; flex: none; align-items: center; cursor: pointer; }
.w-chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.w-seg { display: inline-flex; padding: 3px; border: 1px solid var(--hairline-strong); border-radius: 14px; background: var(--card); box-shadow: 0 1px 2px #0002, 0 3px 9px #0001; }
.w-seg label, .w-seg button { box-sizing: border-box; min-width: 44px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 11px; background: none; color: var(--ink-2); font: 600 .875rem/1 var(--font-text); cursor: pointer; }
.w-seg [aria-pressed="true"], .w-seg input:checked + span { background: var(--ink); color: var(--bg); }
.w-seg input { position: absolute; opacity: 0; }
.w-board { margin: 0; padding: 0; list-style: none; }
.w-board__row { display: grid; grid-template-columns: 1.5rem 1fr minmax(72px, 34%) 4.5rem; align-items: center; gap: 8px; min-height: 52px; border-bottom: 1px solid var(--hairline); color: inherit; text-decoration: none; font-variant-numeric: lining-nums tabular-nums; }
.w-board__row > :last-child { text-align: right; font-weight: 650; }
.w-board__row > :nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 10px 0 0; padding: 0; color: var(--ink-2); font-size: .8125rem; line-height: 1.3; list-style: none; }
.w-key li { display: inline-flex; align-items: center; gap: 6px; }
.w-swatch { flex: none; width: 22px; height: 14px; box-sizing: border-box; border: 2px solid var(--sw, var(--sc-empty)); border-radius: 7px; background: color-mix(in srgb, var(--sw, var(--sc-empty)) 16%, var(--card)); }
.w-swatch[data-dash] { border-style: dashed; }
.w-scale { display: grid; grid-template-columns: repeat(6, 40px) auto; gap: 3px 2px; align-items: center; }
.w-scale i { height: 10px; border-radius: 3px; background: var(--c); }
.w-scale i[data-s="0"] { box-shadow: inset 0 0 0 1px var(--pow-0); }
.w-scale i[data-s="1"] { --c: var(--pow-1); }
.w-scale i[data-s="2"] { --c: var(--pow-2); }
.w-scale i[data-s="3"] { --c: var(--pow-3); }
.w-scale i[data-s="4"] { --c: var(--pow-4); }
.w-scale i[data-s="5"] { --c: var(--pow-5); }
.w-scale span { grid-row: 2; translate: calc(50% + 1px) 0; text-align: center; color: var(--ink-2); font: 500 .8125rem/1 var(--font-num); font-variant-numeric: lining-nums tabular-nums; }
.w-scale b { grid-area: 1 / 7; margin-left: 6px; color: var(--ink-2); font-size: .8125rem; font-weight: 500; }
@media (max-width: 400px) { .w-scale { grid-template-columns: repeat(6, minmax(0, 1fr)) auto; } }
:where(a, button, summary, input):focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes w-in { from { opacity: 0; transform: translateY(7px); } }
  .w-in { animation: w-in 250ms cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(min(var(--i, 0), 7) * 20ms); }
}
