@font-face {
  font-family: "Barlow Condensed";
  src: url("/barlow-condensed-extrabold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Oswald;
  src: url("/oswald-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-synthesis: none;
  color: #17294c;
  background: #fbfaf5;
  --paper: #fbfaf5;
  --navy: #183675;
  --muted: #505b6e;
  --rule: #c4c9d1;
  --rule-light: #deded6;
  --accent: #a5442b;
  --selected: #f4e8dd;
  --lift: #a32f39;
  --trail: #236c83;
  --display: Oswald, "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; }
body, h1, h2 { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:where(button, a, input, summary, .map-stage):focus-visible {
  outline: 2px solid #176ca0;
  outline-offset: 2px;
}
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.wrap { width: min(1540px, calc(100% - 80px)); margin-inline: auto; }
.masthead { border-top: 5px solid var(--navy); border-bottom: 1px solid var(--navy); color: var(--navy); }
.mast-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-lockup { display: flex; align-items: center; gap: 4px; }
.brand-icon { display: block; width: 79px; height: auto; margin-inline-start: -7px; }
.brand { font: 800 2.45rem/1 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .027em; }
.mast-region { font-size: .85rem; font-weight: 700; }
.site-footer { border-top: 1px solid var(--rule); padding: 4px 0 12px; background: var(--paper); }
.site-footer a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px;
  color: var(--navy); font-size: .875rem; font-weight: 650;
  text-underline-offset: 3px;
}
.control-icon {
  width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round;
}
.chevron {
  display: inline-block; width: 7px; height: 7px; margin-top: -3px; flex: none;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
[aria-expanded="true"] > .chevron { transform: rotate(225deg); margin-top: 4px; }

.workspace {
  display: grid;
  grid-template-columns: minmax(145px, 190px) minmax(0, 1fr) minmax(205px, 250px);
  grid-template-areas: "heading heading heading" "directory map rail";
  gap: 16px 19px;
  align-items: start;
  padding-block: 17px 28px;
}
.heading { grid-area: heading; min-width: 0; display: flex; justify-content: space-between; align-items: end; gap: 9px 18px; }
.heading > div { min-width: 0; }
.heading .region {
  margin: 0 0 5px; color: var(--accent); font: 700 .78rem/1.25 ui-monospace, monospace;
  letter-spacing: .06em; text-transform: uppercase;
}
h1 {
  color: var(--navy); font: 700 clamp(2.8rem, 5.4vw, 5.55rem)/1 var(--display);
  letter-spacing: -.025em; text-transform: uppercase; overflow-wrap: anywhere;
}
#report-date { color: var(--muted); font-size: .8rem; flex: 0 0 auto; max-width: 19.5rem; text-align: end; margin: 0 0 3px; }
#report-date.report-warning { color: #81331c; font-weight: 700; }

.resorts { grid-area: directory; min-width: 0; border-top: 2px solid var(--navy); padding-top: 9px; }
.directory-title, .webcam-panel h2, .terrain-heading h2 {
  color: var(--navy); font: 700 1.4rem/1.15 var(--display); letter-spacing: .04em; text-transform: uppercase;
}
.directory-picker { margin-top: 11px; }
.resort-search { position: relative; min-width: 0; }
.resort-search .control-icon {
  position: absolute; inset-inline-start: 9px; top: 50%; transform: translateY(-50%); color: var(--navy); pointer-events: none;
}
.resort-search input {
  display: block; width: 100%; min-height: 42px; border: 1px solid #9daec5;
  border-radius: 0; background: #fffdfa; padding: 8px 8px 8px 34px; font-size: .875rem;
}
.resort-search input::placeholder { color: var(--navy); font-weight: 650; opacity: 1; }
#directory-toggle { display: none; }
#resort-count { margin: 11px 0 3px; color: var(--muted); font-size: .8rem; }
.resort-groups { max-height: min(68dvh, 700px); overflow: auto; scrollbar-gutter: stable; padding: 1px 3px 3px 0; }
.resort-groups details details { margin-inline-start: 7px; }
.resort-groups summary {
  cursor: pointer; display: list-item; padding: 8px 3px;
  border-bottom: 1px solid var(--rule); color: var(--navy); font-size: .85rem; font-weight: 700;
  overflow-wrap: anywhere;
}
.resort-groups summary small { float: right; color: var(--muted); margin-inline-start: 4px; font-size: .75rem; font-weight: 500; }
.resort-groups button {
  display: block; width: 100%; padding: 8px 7px; margin-block: 2px;
  border: 0; border-inline-start: 3px solid transparent;
  background: transparent; text-align: start; font-size: .875rem; overflow-wrap: anywhere;
}
.resort-groups :is(button, summary):hover { background: #eceff5; }
.resort-groups button[aria-pressed="true"] { border-inline-start-color: var(--navy); background: #e5eaf4; font-weight: 700; }

.map-card { grid-area: map; min-width: 0; }
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--navy); color: #fff; }
.numbers:has(#weather[hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.numbers > div {
  min-height: 58px; display: flex; align-items: baseline; justify-content: center;
  align-content: center; flex-wrap: wrap; gap: 1px 7px; padding: 9px 8px;
}
.numbers > div + div { border-inline-start: 1px solid #8298c3; }
.numbers span { font-size: .82rem; }
.metric { font: 700 2rem/1.05 var(--display); white-space: nowrap; }
.metric small { font: 550 .88rem/1 system-ui, sans-serif; color: #e5eaf7; }
.numbers #weather { position: relative; flex-direction: column; align-items: center; gap: 1px; flex-wrap: nowrap; }
#weather-toggle {
  display: flex; align-items: baseline; gap: 5px; padding: 0; border: 0; background: transparent; text-align: start;
}
#weather-toggle:focus-visible { outline-color: #fff; }
#weather-toggle .chevron { display: none; }
#weather:has(#weather-sky:not([hidden])) .chevron { display: inline-block; align-self: center; }
#weather-detail { text-align: center; line-height: 1.2; color: #e5eaf7; }
#weather-detail:has([hidden]) { display: none; }
.conditions-message {
  margin: 0; padding: 10px 12px; border: 1px solid #d8bb91; border-top: 0;
  background: #fbf0dc; color: #713516; font-size: .875rem;
}
.map-figure { position: relative; border: 1px solid var(--rule); border-top: 0; }
.map-choices { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border-bottom: 1px solid var(--rule); }
.map-choices button {
  background: var(--paper); color: var(--navy); border: 1px solid #a9b6cb;
  padding: 6px 9px; font-size: .875rem;
}
.map-choices button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.map-stage {
  position: relative; overflow: hidden; width: 100%; aspect-ratio: var(--map-ratio, 1280 / 1035);
  min-height: 360px; max-height: 960px; background: #dce5eb; cursor: grab; touch-action: none;
}
.map-stage.dragging, .dragging .map-hit { cursor: grabbing; }
#map { position: absolute; inset: 0; display: block; width: 100%; height: 100%; user-select: none; }
.has-map-overlay.terrain-overlay-ready #artwork { filter: saturate(.18) contrast(.82) brightness(1.13); }
.reported-closed #artwork, .reported-closed #official-map-frame { filter: saturate(.12) contrast(.84) brightness(1.08); }
#mobile-map-veil { display: none; fill: #e5ebef; fill-opacity: .58; pointer-events: none; }
@media (max-width: 880px) {
  .has-map-overlay.terrain-overlay-ready #artwork,
  .has-map-overlay.reported-closed #artwork { filter: none; }
  .has-map-overlay.terrain-overlay-ready #mobile-map-veil,
  .has-map-overlay.reported-closed #mobile-map-veil { display: inline; }
  #open-artwork { display: none; }
  .terrain-highlight-outline, .terrain-highlight-path { vector-effect: non-scaling-stroke; }
  #map .terrain-highlight-outline { stroke-width: 4.5px; opacity: .95; }
  #map .terrain-highlight-path { stroke-width: 2.75px; opacity: 1; }
  #map .map-hit:not(.map-area) { vector-effect: non-scaling-stroke; stroke-width: 16px; }
}
.map-path { opacity: .84; pointer-events: none; }
.map-hit { pointer-events: stroke; cursor: pointer; }
.map-hit.map-area { pointer-events: fill; }
.map-path.selection-path { opacity: 1; }
#official-map-frame, #official-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#map-stage:has(#map[hidden]) { cursor: default; touch-action: auto; }
.map-unavailable { position: absolute; inset: 40% 12% auto; padding: 12px; background: var(--paper); border: 1px solid var(--rule); text-align: center; }
.map-unavailable p { margin: 0 0 8px; }
.map-unavailable a { color: var(--navy); }
.zoom { position: absolute; bottom: 12px; right: 12px; display: grid; background: var(--paper); border: 1px solid #a9b6cb; color: var(--navy); }
.zoom button { height: 37px; width: 38px; display: grid; place-items: center; border: 0; background: transparent; font-size: 1.32rem; }
.zoom button + button { border-top: 1px solid var(--rule); }
.zoom button:hover:not(:disabled) { background: #e5eaf4; }
.zoom button:disabled { color: #6c7488; }
.map-footer { display: flex; flex-wrap: wrap; gap: 5px 16px; min-height: 32px; padding: 6px 10px; align-items: center; background: #efede4; color: var(--muted); font-size: .76rem; }
.map-footer:not(:has(#map-legend:not([hidden]), #map-status:not([hidden]))) { display: none; }
.map-legend, .map-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend { flex-wrap: wrap; column-gap: 14px; }
.line { display: inline-block; width: 14px; height: 3px; }
.trail-line { background: var(--trail); }
.lift-line { background: var(--lift); }
.muted-line { background: #7b8794; }
.map-tip {
  position: absolute; bottom: 46px; inset-inline-start: 12px; max-width: calc(100% - 76px);
  background: var(--paper); border: 1px solid var(--navy); color: var(--navy);
}
.selection-row {
  display: flex; align-items: center; gap: 8px; padding-inline: 9px 3px;
  min-height: 34px; font-size: .875rem; border-inline-start: 3px solid var(--accent);
}
.selection-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 9px; min-width: 0; }
.selection-copy strong { overflow-wrap: anywhere; }
#tip-detail { color: #7c301d; font-size: .78rem; font-weight: 650; }
#tip-close { margin-inline-start: auto; border: 0; background: transparent; font-size: 1.25rem; min-width: 32px; min-height: 32px; }

.right-rail { grid-area: rail; display: grid; align-content: start; gap: 15px; min-width: 0; }
.rail-actions { border-top: 2px solid var(--navy); }
.rail-action {
  display: flex; align-items: center; gap: 8px; width: 100%; min-height: 42px; padding: 8px 5px;
  background: transparent; border: 0; border-bottom: 1px solid var(--rule);
  color: var(--navy); font-size: .875rem; font-weight: 700; line-height: 1.25; text-align: start; text-decoration: none;
}
.rail-action:hover:not(:disabled) { background: #e9edf5; }
.rail-action:disabled { cursor: progress; }
.refresh-status { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.refresh-status:not(:empty) { padding: 6px 5px; }
#refresh[aria-busy="true"] .control-icon { animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #refresh[aria-busy="true"] .control-icon { animation: none; } }

.webcam-panel h2 { display: flex; align-items: center; gap: 7px; margin: 0 0 6px; }
.webcam-buttons { display: flex; flex-wrap: wrap; border-block: 1px solid var(--rule); }
.webcam-buttons button {
  flex: 0 1 auto; background: transparent; border: 0; padding: 7px 7px;
  min-height: 34px; font-size: .8rem; color: var(--navy); font-weight: 650;
}
.webcam-buttons button + button { border-inline-start: 1px solid var(--rule); }
.webcam-buttons button:hover { background: #e9edf5; }
.webcam-buttons p { color: var(--muted); margin: 8px 0; font-size: .85rem; }
.terrain-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px; border-bottom: 1px solid var(--rule); }
.terrain-heading h2 { margin-bottom: 5px; }
.tabs { display: flex; gap: 8px; }
.tabs button {
  padding: 4px 1px; border: 0; border-bottom: 2px solid transparent;
  background: transparent; color: var(--muted); font-size: .78rem; font-weight: 650;
}
.tabs button[aria-pressed="true"] { border-color: var(--navy); color: var(--navy); }
.terrain-list { overflow-y: auto; max-height: min(54dvh, 540px); scrollbar-gutter: stable; }
.terrain-list h2 {
  color: var(--muted); font: 700 .72rem/1.2 ui-monospace, monospace; letter-spacing: .07em;
  text-transform: uppercase; margin: 9px 0 3px;
}
.terrain-row {
  width: 100%; min-height: 32px; display: grid; grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 6px; align-items: center; padding: 5px 3px;
  background: transparent; text-align: start; border: 0; border-bottom: 1px solid var(--rule-light);
  border-inline-start: 3px solid transparent; font-size: .875rem; font-weight: 600;
}
.terrain-row span { overflow-wrap: anywhere; }
button.terrain-row:hover { background: #e9edf5; }
button.terrain-row.selected { color: var(--navy); border-inline-start-color: var(--accent); background: var(--selected); }
.terrain-row small { font-size: .76rem; color: var(--muted); font-weight: 500; }
.kind { display: inline-block; flex: none; margin-inline-start: 1px; width: 8px; height: 8px; }
.kind.easy { border-radius: 50%; background: #248451; }
.kind.more { background: #2577ad; }
.kind.most, .kind.expert { background: #24323b; transform: rotate(45deg); width: 6px; height: 6px; }
.kind.expert { box-shadow: 5px -5px 0 #24323b; }
.kind.lift { border-bottom: 2px solid var(--lift); border-left: 2px solid var(--lift); }
.kind.other { border: 1px solid #63788b; border-radius: 50%; }
.list-message { font-size: .875rem; color: var(--muted); }
.sample-ad p {
  margin: 2px 0 5px; color: var(--muted); text-transform: uppercase;
  font: 650 .72rem/1.2 ui-monospace, monospace; letter-spacing: .045em;
}
.ad-creative {
  position: relative; isolation: isolate; overflow: hidden; min-height: 100px; padding: 12px 13px;
  background: #edba46; color: #292319; text-transform: uppercase;
}
.ad-creative::after {
  content: ""; position: absolute; z-index: -1; bottom: -46px; right: -27px;
  width: 125px; height: 118px; transform: rotate(-33deg);
  background: repeating-linear-gradient(90deg, #293b3f 0 14px, #f1dd9f 14px 18px, #aa3e2d 18px 23px, transparent 23px 29px);
}
.ad-creative strong { display: block; font: 700 1.8rem/.9 var(--display); letter-spacing: .02em; }
.ad-creative span { display: block; margin-top: 7px; font: 750 .7rem/1.2 ui-monospace, monospace; }

.camera { width: min(830px, calc(100% - 30px)); max-height: 92dvh; padding: 0; background: var(--paper); border: 1px solid var(--rule); color: inherit; }
.camera::backdrop { background: #102a3ac4; }
.camera-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; }
.camera-top h2 { font-size: 1rem; }
.camera-top button { background: #e9edf5; border: 0; width: 39px; height: 39px; font-size: 1.6rem; }
.camera-player { width: 100%; aspect-ratio: 16 / 9; max-height: 70dvh; background: #091823; }
.camera-player iframe { width: 100%; height: 100%; display: block; border: 0; }
.camera-footer { padding: 9px 14px; font-size: .875rem; }
.camera-footer a { color: var(--navy); text-underline-offset: 3px; }
.camera-player.camera-handoff { aspect-ratio: auto; padding: 18px; }
.camera-handoff p { margin: 0; color: #eef7fa; }

@media (max-width: 1090px) {
  .wrap { width: calc(100% - 40px); }
  .workspace { grid-template-columns: 146px minmax(0, 1fr) 210px; column-gap: 12px; }
}
@media (max-width: 880px) {
  .wrap { width: calc(100% - 24px); }
  .mast-inner { min-height: 54px; }
  .brand-icon { width: 57px; margin-inline-start: -5px; }
  .brand { font-size: 1.95rem; }
  .mast-region, .directory-title { display: none; }
  .workspace {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "directory" "heading" "map" "ad" "actions" "webcams" "terrain";
    gap: 13px;
    padding-top: 11px;
  }
  .heading { display: grid; gap: 6px; }
  .heading .region { margin-bottom: 4px; }
  h1 { font-size: clamp(1.85rem, 8.4vw, 4.3rem); }
  #report-date { max-width: none; text-align: start; margin: 0; }
  .resorts { border: 0; padding: 0; }
  .directory-picker { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 0; }
  .resort-search input { font-size: 1rem; }
  #directory-toggle {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 8px 10px; background: #eaeef5; border: 1px solid #9daec5; margin-inline-start: -1px;
    color: var(--navy); font-size: .875rem; font-weight: 750;
  }
  .resorts:not(:has(#directory-toggle[aria-expanded="true"])) .directory-results { display: none; }
  .directory-results { border: 1px solid var(--rule); border-top: 0; padding: 2px 9px 6px; }
  .resort-groups { max-height: 240px; }
  .right-rail { display: contents; }
  .rail-actions { grid-area: actions; }
  .webcam-panel { grid-area: webcams; }
  .terrain { grid-area: terrain; }
  .sample-ad { grid-area: ad; }
  .ad-creative { min-height: 80px; }
  .ad-creative strong { font-size: 1.55rem; }
  .ad-creative span { margin-top: 5px; }
  .ad-creative::after { right: -10px; }
  .map-stage { min-height: 234px; max-height: 60dvh; touch-action: pan-y; }
  .map-stage.is-zoomed { touch-action: none; }
  .selection-outline { vector-effect: non-scaling-stroke; stroke-width: 4.2px; }
  .selection-path { vector-effect: non-scaling-stroke; stroke-width: 2.6px; }
  .map-tip { position: static; max-width: none; margin: 8px 0 0; border: 0; background: var(--selected); }
  .map-figure:has(.map-tip:not([hidden])) { border-bottom: 0; }
  .selection-copy { flex: 1 1 auto; justify-content: space-between; }
  #tip-close { min-height: 36px; min-width: 36px; }
  .zoom { right: 8px; bottom: 8px; }
  .zoom button { width: 36px; height: 35px; }
  .map-footer { padding-inline: 7px; }
  .terrain-list { max-height: 460px; }
}
@media (max-width: 535px) {
  .numbers > div { align-items: flex-start; flex-direction: column; justify-content: center; align-content: start; flex-wrap: nowrap; gap: 3px; padding: 7px; min-height: 60px; }
  .metric { font-size: 1.6rem; }
  .numbers span { font-size: .76rem; }
  .numbers #weather { align-items: start; }
  #weather-toggle { align-items: start; flex-direction: column; gap: 3px; }
  #weather:has(#weather-sky:not([hidden])) .chevron { position: absolute; inset-inline-end: 6px; top: 12px; }
  #weather-detail { text-align: start; }
}
.brand-lockup { color: inherit; text-decoration: none; }
.resort-groups a {
  display: block; width: 100%; padding: 8px 7px; margin-block: 2px;
  border-inline-start: 3px solid transparent; color: var(--navy);
  text-align: start; text-decoration: none; font-size: .875rem; overflow-wrap: anywhere;
}
.resort-groups a:hover { background: #eceff5; text-decoration: underline; }
.resort-groups a[aria-current="page"] { border-inline-start-color: var(--navy); background: #e5eaf4; font-weight: 700; }
.directory-home .workspace { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "directory"; }
.directory-home .resort-groups { max-height: none; }
.directory-home .directory-picker { max-width: 35rem; }
.directory-home .resort-groups > details { max-width: 60rem; }
.directory-home .heading p { margin: 10px 0 0; }
@media (max-width: 880px) {
  .directory-home .workspace { grid-template-areas: "directory" "heading"; }
  .directory-home .resorts .directory-results { display: block; }
  .directory-home #directory-toggle { display: none; }
  .directory-home .directory-picker { grid-template-columns: minmax(0, 1fr); }
}
