
:root {
  --ink:#102f40; --deep:#155e76; --muted:#4b6979;
  --ice:#f4f8f9; --line:#cddfe7; --cyan:#0a7593;
  --open:#145e6b; --soon:#cbe6ec; --closed:#f0f5f7;
  --surface:#fafdfe; --shadow:0 14px 35px #153d5012,0 2px 6px #153d5008;
}
body {background:#e6eff3; font-variant-numeric:tabular-nums; -webkit-font-smoothing:antialiased;}
.landscape {background-image:linear-gradient(180deg,#f4f8f9f5 0%,#edf5f9b5 28%,#e6eff31f 64%,#e6eff3 100%),url(assets/rider_landscape.png);background-position:center bottom;background-size:cover;transition:none;}
.masthead {border-bottom:1px solid #8baebb42;}
.brand {letter-spacing:-1.2px;}
.brand svg {stroke-width:2;}
.brand small {letter-spacing:2px;}
.variants {border-color:#b4cbd64d;background:#ffffff5c;border-radius:24px;}
.variants a {border-radius:20px;}
.study {font-size:12px;}
.intro {margin:28px 0 25px;align-items:flex-end;}
.eyebrow {font-size:12px;letter-spacing:2.3px;color:var(--deep);}
h1 {font-size:clamp(36px,3.3vw,60px);font-weight:600;letter-spacing:-2.6px;line-height:1.08;}
.intro p {font-size:15px;line-height:1.65;padding-bottom:3px;}
.toolbar {gap:12px;}
.segmented {padding:5px;background:#ffffffba;border:1px solid #fff;border-radius:15px;box-shadow:0 2px 6px #143c5008;}
.segmented button {border-radius:10px;min-height:44px;transition:background .16s,color .16s;}
.segmented button[aria-pressed=true] {background:#163f51;box-shadow:0 3px 7px #153d5026;}
.search,.favourite-filter {border:1px solid #ffffffde;background:#ffffffb8;border-radius:12px;box-shadow:0 2px 6px #143c5007;}
.search:focus-within {border-color:#0a7593;box-shadow:0 0 0 3px #0a75931a;}
.search input {font-size:16px;}
.search input:focus-visible {outline:none;}
.favourite-filter[aria-pressed=true] {background:#163f51;}
.reading {padding:8px 0;min-height:52px;}
#legend {gap:12px 22px;}
.swatch {border-radius:4px;width:13px;height:13px;}
.reading button {border-bottom:1px dotted #5f8698;}
.reading-help {background:#fafdfe;box-shadow:var(--shadow);border-color:#fff;font-size:16px;}
.atlas-meta {font-size:12px;letter-spacing:1.3px;}
.region {background:#fafdfeeb;border:1px solid #fff;border-radius:22px;box-shadow:var(--shadow);backdrop-filter:blur(12px);padding:16px;}
.region h2 {font-size:22px;letter-spacing:-.7px;}
.region-head {gap:8px;}
.region-count {font-size:13px;}
.chart-caption {font-size:12px;margin-top:12px;}
.mini-graph {margin-top:7px;margin-bottom:12px;}
.mini-chart .dayline {stroke:#155e76;stroke-width:2.3;}
.mini-chart .nightline {stroke:#6895a8;stroke-width:1.8;}
.mini-chart .forecast-bg {fill:#dceef373;}
.mini-chart .zero {stroke:#9bbac8;}
.resort-grid {gap:8px;}
.resort-tile {border-radius:12px;border-color:#d8e5eb;min-height:116px;transition:border-color .16s,box-shadow .16s,transform .16s;}
.resort-open {padding:13px 11px;}
.resort-name {font-size:16px;letter-spacing:-.25px;font-weight:600;}
.resort-state {font-size:14px;line-height:1.4;opacity:1;margin-top:7px;}
.resort-tile.open {background:linear-gradient(145deg,#1b6c78,#145666);border-color:#155c6b;}
.resort-tile.soon {background:linear-gradient(145deg,#d5edf1,#c6e3e9);border-color:#b2d8e2;}
.resort-tile.riding-green {background:#dceee5;border-color:#b9d9c9;}
.resort-tile.riding-yellow {background:#f4e9d6;border-color:#e1cfac;}
.resort-tile.riding-red {background:#f3e0e4;border-color:#dfbac3;}
.resort-tile.selected {outline:2px solid var(--cyan);outline-offset:3px;box-shadow:0 0 0 5px #ffffffa6;}
.star {font-size:21px;color:inherit;}
.star[aria-pressed=false] {opacity:.72;}
.star:hover {opacity:1;}
.compact {margin-top:auto;padding-top:10px;gap:6px;border-top-color:#6e97aa30;}
.resort-state+.compact {margin-top:11px;}
.tile-weather+.compact {margin-top:11px;}
.compact .sb-caption {font-size:13px;}
.compact .sb-track {width:48px;}
.tile-weather {font-size:16px;}
.sb-track {gap:3px;}
.sb-marker {border-radius:3px;}
.open .compact {border-top-color:#c7edf238;}
.open .sb-caption {color:#e5f4f7;}
.highlands {border-radius:16px;box-shadow:0 5px 20px #143c5008;background:#fafdfee8;padding:14px 18px;}
.highland-link {border-bottom-style:dotted;}
.highlands-label {font-size:16px;}
.overview-note,footer {color:#476576;font-size:12px;}
.detail {background:var(--surface);border-radius:24px;box-shadow:0 20px 65px #153d5029;border:1px solid white;padding:24px;scrollbar-color:#acc6d3 transparent;}
.detail-top {background:var(--surface);}
.detail-top button,.warning-heading button {background:#e8f1f5;transition:background .16s;}
.detail-top button:hover,.warning-heading button:hover {background:#d5e8ef;}
.detail h2 {font-size:40px;letter-spacing:-1.5px;}
.detail .detail-location {font-size:14px;}
.detail .current-strip {border-color:#d6e4eb;padding:14px 0;}
.current-strip strong {font-size:16px;}
.source-info,.method-note {font-size:14px;}
.now-panel {background:linear-gradient(130deg,#e1eff5,#eef6f9);border:1px solid #d2e4ed;border-radius:18px;padding:17px;margin:20px 0 26px;}
.now-heading {margin-bottom:18px;}
.now-heading h3 {font-size:23px;letter-spacing:-.5px;}
.now-levels>strong {font-size:28px;letter-spacing:-.9px;}
.now-label,.now-level-heading,.now-levels>span[data-now-snowmaking] {font-size:14px;}
.now-levels .sb-reading strong {font-size:12px;}
.now-weather {border-color:#bed7e3;}
.now-weather>div>span {font-size:12px;}
.now-weather strong {font-size:18px;}
.now-heading>span {font-size:12px;}
.forecast-section {border-top-color:#b9d2df;}
.forecast-section>h3 {font-size:26px;letter-spacing:-.6px;}
.chart-legend {font-size:13px;}
.day-choices {gap:8px;}
.day-choice {background:#eef4f7;border:1px solid #e0ebf0;border-radius:13px;padding:13px 4px;transition:background .16s;}
.day-choice strong {font-size:24px;letter-spacing:-.6px;}
.day-choice[aria-pressed=true] {background:#163f51;border-color:#163f51;box-shadow:0 4px 10px #173f511b;}
.level-choices {gap:0;border:1px solid #d4e3eb;border-radius:10px;padding:3px;width:fit-content;background:#f0f5f7;}
.level-choices button {border:0;border-radius:7px;font-size:14px;padding:9px 12px;}
.level-choices button[aria-pressed=true] {background:white;box-shadow:0 1px 5px #153d501f;}
.interval-box {border-radius:16px;border-color:#d3e4ed;background:#fff;padding:16px 14px;}
.interval-heading>span {font-size:14px;}
.interval-heading strong {font-size:40px!important;letter-spacing:-1.7px;}
.interval-box .accuracy .accuracy-row b {font-size:20px;}
.interval-box .accuracy .accuracy-row>span {font-size:13px!important;}
.range-labels {font-size:13px;}
.fact {padding:15px 11px;border-radius:10px;border-top-color:#d6e4eb;}
.fact>span {font-size:14px;}
.fact>strong {font-size:18px;}
.fact .accuracy .accuracy-row>span {font-size:13px!important;}
.accuracy p {font-size:14px;}
.daily-base {border-radius:14px;background:#edf5f8;border:1px solid #d9e8ef;padding:16px;}
.daily-base .sb-caption {font-size:15px;}
.detail .favourite-filter {border-color:#cadfe8;background:#eff6f9;}
.detail .favourite-filter[aria-pressed=true] {background:#163f51;}
.status-warning {background:var(--surface);border-radius:22px;}
.status-warning p {font-size:16px;}
@media(hover:hover) {
  .resort-tile:hover {transform:translateY(-2px);border-color:#78aabd;box-shadow:0 6px 15px #153d501c;}
  .resort-tile.open:hover {border-color:#8dc6d4;}
  .favourite-filter:hover,.highland-link:hover {box-shadow:0 3px 12px #153d5018;}
}
@media(min-width:1800px) {
  .detail-top {box-shadow:0 -25px 0 var(--surface),0 8px 12px #fafdfef2;}
  body.has-detail .region {padding:12px;}
  body.has-detail .region h2 {font-size:20px;}
  body.has-detail .resort-name {font-size:14px;}
  body.has-detail .resort-state {font-size:13px;}
  body.has-detail .resort-open {padding:12px 6px;}
  body.has-detail .compact .sb-caption {font-size:12px;}
  body.has-detail .compact .sb-track {width:37px;}
  body.has-detail .tile-weather {font-size:14px;}
}
@media(min-width:761px) and (max-width:1400px) {
  .resort-grid {grid-template-columns:1fr;}
  .region {padding:13px;}
  .region-head {display:block;}
  .region-count {margin-top:5px;display:block;}
  .region h2 {font-size:21px;}
}
@media(max-width:760px) {
  .site {padding:0 14px;}
  .masthead {height:76px;}
  .intro {margin:26px 0 22px;}
  h1 {font-size:39px;letter-spacing:-1.8px;max-width:360px;}
  .eyebrow {font-size:12px;}
  .intro p {display:none;}
  .brand {font-size:24px;}
  .brand small {font-size:9px;letter-spacing:1.4px;}
  .segmented button {font-size:14px;padding:10px 6px;}
  .favourite-filter {font-size:14px;}
  .reading {padding:14px 0 8px;}
  .reading #legend {font-size:13px;gap:7px 12px;}
  .reading button {font-size:13px;}
  .atlas-meta {font-size:11px;letter-spacing:.8px;}
  .mobile-map {gap:6px;}
  .mobile-map a {font-size:14px;border-radius:10px;min-height:48px;background:#fafdfee0;}
  .mobile-map a small {font-size:12px;}
  .atlas {gap:18px;}
  .region {padding:14px;border-radius:20px;background:#fafdfeef;box-shadow:var(--shadow);}
  .region h2 {font-size:24px;}
  .region-count {font-size:12px;}
  .chart-caption {margin-top:12px;}
  .resort-open {padding:13px 9px;}
  .resort-name {font-size:15px;}
  .resort-state {font-size:14px;}
  .resort-tile {min-height:126px;}
  .compact .sb-caption {font-size:13px;}
  .compact .sb-track {width:40px;}
  .tile-weather {font-size:15px;}
  .highlands {padding:16px;}
  .highland-link {font-size:14px;}
  .detail-full .site {padding:0 10px;}
  .detail-full .detail {padding:17px;margin-top:12px;border-radius:22px;}
  .detail-full .detail h2 {font-size:38px;}
  .now-panel {padding:12px;}
  .now-heading h3 {font-size:22px;}
  .now-levels {grid-template-columns:minmax(78px,.9fr) repeat(2,minmax(0,1fr));gap:12px 7px;}
  .now-label,.now-level-heading {font-size:13px;}
  .now-levels>span[data-now-snowmaking] {font-size:12px;}
  .now-levels>strong {font-size:25px;}
  .now-weather>div>span {font-size:12px;}
  .now-weather strong {font-size:16px;}
  .forecast-section>h3 {font-size:25px;}
  .interval-box {padding:14px 10px;}
  .fact {padding:14px 8px;}
  .fact>span {font-size:14px;}
  .fact>strong {font-size:17px;}
  .landscape {background-position:center bottom;background-size:auto 100vh;}
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {animation:none!important;transition:none!important;scroll-behavior:auto!important;}
}

@media(max-width:380px) { .site {padding:0 10px;} .region {padding:12px;} }

.tile-weather>span:first-child {min-width:0;flex:1;}
.tile-weather>.sky-icon {flex:0 0 24px;width:24px;text-align:center;}
.level-choices button[aria-pressed=true] {font-weight:600;box-shadow:inset 0 0 0 1px #71a6bb,0 1px 5px #153d5014;color:#0f516b;}
