/* Site styles. Calm and editorial: warm off-white page, white cards with hairline borders, one pine-green
   accent for navigation, selection and buttons. Archivo (variable width and weight) at normal width; condensed
   heavy only for big verdict words and mountain names on detail pages. Verdicts use colours people already
   know from weather apps, always paired with an icon: Go green + sun, Wait amber + part cloud, Skip grey +
   cloud, Closed outlined + lock. */

@font-face {
  font-family: "Archivo";
  src: url("/static/archivo-wdth.woff2") format("woff2-variations"), url("/static/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --bg: #F5F5F1;
  --paper: #FFFFFF;
  --ink: #17221D;
  --ink-2: #44514A;
  --ink-3: #6A756F;
  --rule: #E2E5DF;
  --rule-2: #EEF0EB;
  --brand: #1F4D36;
  --brand-ink: #1F5A3E;
  --brand-soft: #E7F0EA;
  --btn-ink: #FFFFFF;
  --go: #2E8B57;
  --go-ink: #1D6B41;
  --go-soft: #E4F1E8;
  --wait: #E0A100;
  --wait-ink: #855700;
  --wait-soft: #FBF0D5;
  --skip: #A3AAA6;
  --skip-ink: #5A645F;
  --skip-soft: #EEF0EC;
  --buy: #E8590C;
  --buy-hover: #C94A06;
  --buy-ink: #FFFFFF;
  --sun: #F2B33D;
  --cloud: #9BA6AE;
  --fog: rgba(245, 245, 241, 0.86);
  --shadow: 0 1px 2px rgba(23, 34, 29, 0.04);
  --focus: #F2B33D;
  --condensed: 72%;
  --wrap: 78rem;
  --gutter: 1rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111714; --paper: #18211C; --ink: #E7ECE9; --ink-2: #B9C4BE; --ink-3: #8D9993; --rule: #2A352F; --rule-2: #212A25;
    --brand: #7CC49A; --brand-ink: #93D3AE; --brand-soft: #1E3328; --btn-ink: #0D1410;
    --go: #3FB876; --go-ink: #7ADBA3; --go-soft: #173629;
    --wait: #E9B42F; --wait-ink: #F2C866; --wait-soft: #3A301C;
    --skip: #6B756F; --skip-ink: #A9B4AE; --skip-soft: #232C27; --cloud: #8592A0; --buy: #F07A2E; --buy-hover: #F59152; --buy-ink: #1A0E05;
    --fog: rgba(17, 23, 20, 0.82); --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111714; --paper: #18211C; --ink: #E7ECE9; --ink-2: #B9C4BE; --ink-3: #8D9993; --rule: #2A352F; --rule-2: #212A25;
  --brand: #7CC49A; --brand-ink: #93D3AE; --brand-soft: #1E3328; --btn-ink: #0D1410;
  --go: #3FB876; --go-ink: #7ADBA3; --go-soft: #173629;
  --wait: #E9B42F; --wait-ink: #F2C866; --wait-soft: #3A301C;
  --skip: #6B756F; --skip-ink: #A9B4AE; --skip-soft: #232C27; --cloud: #8592A0; --buy: #F07A2E; --buy-hover: #F59152; --buy-ink: #1A0E05;
  --fog: rgba(17, 23, 20, 0.82); --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.55 "Archivo", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
img, svg, iframe { max-width: 100%; }
a { color: var(--brand-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: 1.4rem; font-weight: 750; letter-spacing: -0.01em; margin-top: 2em; }
h3 { font-size: 1.15rem; font-weight: 700; margin-top: 1.4em; }
p { margin: 0 0 1em; }
.num { font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
@media (min-width: 40rem) { :root { --gutter: 1.5rem; } }

.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: 0.5rem 1rem; z-index: 10; }
.skip-link:focus { left: 0.5rem; top: 0.5rem; }
.demo-banner { background: var(--sun); color: #1E2A33; padding: 0.45rem var(--gutter); font-size: 0.95rem; }

/* Per-mountain "Updated 15:25 · Next ~18:45" */
.upd { color: var(--ink-3); font-size: 0.82rem; }
.upd time { white-space: nowrap; }
.upd-stale { color: var(--wait-ink); font-weight: 600; }
.row-upd { flex-basis: 100%; }
.cmp-upd { display: block; font-size: 0.75rem; }
.cmp-upd .upd-next { display: block; }
.cmp-upd .upd-sep { display: none; }
.detail-upd { margin: -0.2rem 0 0.6rem; }
.tile-upd { display: block; }
.tile-upd .upd-next { display: block; }
.tile-upd .upd-sep { display: none; }
.bet-upd { margin: 0.1rem 0 0.4rem; }
.map-pop-upd { color: #5A6772; font-size: 0.85em; }
.updated .upd { font-size: inherit; color: inherit; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 750; font-size: 1.3rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.wordmark b { font-weight: inherit; }
.wordmark-text { display: flex; flex-direction: column; line-height: 1.05; }
.wordmark-strap { font-weight: 500; font-size: 0.7rem; letter-spacing: 0.01em; color: var(--ink-2); margin-top: 0.15rem; }
.wordmark-mark { width: 1.7rem; height: 1.7rem; color: var(--brand-ink); flex: none; }
.nav { list-style: none; display: flex; gap: 1.75rem; margin: 0; padding: 0; align-self: stretch; }
.nav li { display: flex; }
.nav a { display: flex; align-items: center; padding: 0 0.15rem; color: var(--ink-2); text-decoration: none; font-size: 0.97rem; font-weight: 550; white-space: nowrap; border-bottom: 2px solid transparent; border-top: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand); }
.nav .lang-switch { align-self: center; padding: 0.2rem 0.5rem; border: 1px solid var(--rule); border-radius: 999px; font-size: 0.8rem; font-weight: 650; letter-spacing: 0.04em; color: var(--ink-2); cursor: pointer; list-style: none; }
.nav .lang-switch::-webkit-details-marker { display: none; }
.nav .lang-switch:hover, .lang-menu details[open] .lang-switch { border-color: var(--ink-2); color: var(--ink); }
/* Language menu: one small pill with the current language; the other languages open under it. */
.lang-menu { align-items: center; }
.lang-menu details { position: relative; }
.nav .lang-list { position: absolute; right: 0; top: calc(100% + 0.4rem); z-index: 30; margin: 0; padding: 0.25rem; list-style: none; min-width: 8rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 0.6rem; box-shadow: 0 6px 18px rgba(23, 34, 29, 0.12); }
.nav .lang-list li { display: block; }
.nav .lang-list a { min-height: 2.5rem; padding: 0 0.6rem; border: 0; border-radius: 0.4rem; }
.nav .lang-list a:hover { background: var(--bg); }
/* Narrow screens: "How it works" waits in the footer so the header fits; German and French also carry the fog-sea link. */
@media (max-width: 30rem) { html[lang="de"] .nav .nav-extra, html[lang="fr"] .nav .nav-extra { display: none; } html[lang="de"] .nav, html[lang="fr"] .nav { gap: 0.6rem; } .nav .lang-switch { padding: 0.15rem 0.4rem; } }
@media (max-width: 30rem) {
  .wordmark { font-size: 1.15rem; }
  .wordmark-mark { width: 1.45rem; height: 1.45rem; }
  .wordmark-strap { font-size: 0.64rem; }
  .nav { gap: 0.9rem; }
  .nav a { font-size: 0.95rem; }
}

/* Intro */
.intro { padding-top: 2rem; padding-bottom: 0.5rem; }
.intro-title { margin-bottom: 0.3em; }
.intro-lede { color: var(--ink-2); max-width: 44rem; margin-bottom: 0.5rem; }
@media (max-width: 40rem) {
  body { font-size: 1.0625rem; }
  .intro { padding-top: 1.25rem; }
  .intro-lede { font-size: 1rem; }
}

/* Day tabs */
.day-tabs { display: grid; grid-template-columns: repeat(5, minmax(6.4rem, 1fr)); gap: 0.4rem; margin: 1.25rem 0 1rem; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.day-tabs button {
  appearance: none; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; color: var(--ink-2);
  cursor: pointer; padding: 0.55rem 0.6rem; text-align: left; font: inherit; min-width: 0;
}
.day-tabs button[aria-selected="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); color: var(--ink); background: var(--paper); }
@media (max-width: 30rem) {
  .day-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.3rem; }
  .day-tabs button { padding: 0.45rem 0.3rem 0.45rem 0.4rem; border-radius: 8px; }
  .tab-day { font-size: 0.88rem; font-stretch: var(--condensed); font-weight: 750; text-overflow: clip; }
  .tab-sub { font-size: 0.78rem; text-overflow: clip; }
  .tab-sub .ico { display: none; }
}
.day-tabs button:hover { border-color: var(--ink-3); }
.tab-day { display: block; font-weight: 700; font-size: clamp(0.9rem, 3.2vw, 1.05rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab-sub { display: flex; align-items: center; gap: 0.3em; font-size: 0.85rem; font-weight: 600; white-space: nowrap; overflow: hidden; }
.tab-sub.v-go { color: var(--go-ink); }
.tab-sub.v-wait { color: var(--wait-ink); }
.tab-sub.v-skip, .tab-sub.v-closed, .tab-sub.v-none { color: var(--skip-ink); }

/* Planner: Starting from / Max trip / Filters / Show as in one card with aligned labels */
.planner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 0.6rem 0.75rem 0.6rem 1rem; margin: 0 0 1rem; }
.planner .origin-picker { flex: 1 1 32rem; }
.planner-more { flex-basis: 100%; }
.control { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); align-items: center; gap: 0.4rem 0.75rem; }
.control[hidden] { display: none; }
.control-label { font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
@media (max-width: 40rem) {
  .planner { padding: 0.8rem 0.85rem; gap: 0.85rem; }
  .control { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .control-view { grid-template-columns: auto minmax(0, 1fr); gap: 0.75rem; }
}
.pill-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.view-switch button, .pill-group button, .mode-switch button {
  appearance: none; font: inherit; font-size: 0.95rem; cursor: pointer; padding: 0.3rem 0.85rem; min-height: 2.25rem;
  border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink);
}
.view-switch button:hover, .pill-group button:hover { border-color: var(--ink-3); }
.pill-group button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--btn-ink); }
.pill-group button { display: inline-flex; align-items: center; gap: 0.35rem; }
.pill-group .ico, .mode-switch .ico { width: 1.05em; height: 1.05em; flex: none; }
.no-js .control-only, .no-js .control-max { display: none; }
.planner-more { display: grid; gap: inherit; }
.more-toggle {
  display: inline-flex; align-items: center; gap: 0.4rem; justify-self: start; appearance: none; font: inherit; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; padding: 0.3rem 0.85rem; min-height: 2.25rem; border-radius: 999px; border: 1px dashed var(--ink-3); background: transparent; color: var(--ink);
}
.more-toggle:hover { border-style: solid; }
.more-toggle::after { content: "+"; font-weight: 700; }
.more-toggle[aria-expanded="true"]::after { content: "\2212"; }
.more-toggle[hidden], .js-more .planner-more:not(.open) { display: none; }
.planner-more.open { padding: 0.75rem 0 0.15rem; border-top: 1px solid var(--rule); }

/* List / Tiles / Map switch */
.view-switch { display: inline-flex; justify-self: start; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); padding: 3px; }
.view-pane[hidden] { display: none; }
.view-switch button { border: 0; border-radius: 7px; background: transparent; color: var(--ink-2); font-weight: 600; padding: 0.25rem 0.95rem; min-height: 2.1rem; }
.view-switch button[aria-pressed="true"] { background: var(--brand); color: var(--btn-ink); }
/* Starting-from picker */
.origin-field { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.75rem; }
.origin-picker select {
  font: inherit; font-size: 1rem; font-weight: 600; padding: 0.35rem 2.2rem 0.35rem 0.75rem; min-height: 2.4rem; border-radius: 8px;
  border: 1px solid var(--rule); background: var(--bg); color: var(--ink); min-width: 13rem;
}
.origin-picker select:hover { border-color: var(--ink-3); }
@media (max-width: 40rem) { .origin-picker select { width: 100%; } }
.origin-hint { font-size: 0.86rem; color: var(--ink-3); }
/* Use my location */
.locate { display: inline-flex; align-items: center; gap: 0.4rem; appearance: none; font: inherit; font-size: 0.95rem; font-weight: 600; cursor: pointer;
  padding: 0.35rem 0.85rem; min-height: 2.4rem; border-radius: 8px; border: 1px solid var(--rule); background: transparent; color: var(--brand-ink); }
.locate:hover { background: var(--brand); color: var(--btn-ink); }
.locate:disabled { opacity: 0.6; cursor: progress; }
.locate .ico { width: 1.1em; height: 1.1em; }
.locate[hidden] { display: none; }
/* Google place search: a plain field until clicked, then Google's own search box in the same spot */
.place-search { position: relative; display: flex; align-items: center; min-width: 15rem; flex: 0 1 20rem; }
.place-search[hidden], .origin-picker select[hidden] { display: none; }
.place-search > .ico { position: absolute; left: 0.7rem; width: 1rem; height: 1rem; color: var(--ink-3); pointer-events: none; }
.place-search input {
  width: 100%; font: inherit; font-size: 1rem; padding: 0.35rem 0.75rem 0.35rem 2.1rem; min-height: 2.4rem; border-radius: 8px;
  border: 1px solid var(--rule); background: var(--bg); color: var(--ink);
}
.place-search input:hover { border-color: var(--ink-3); }
.place-search gmp-place-autocomplete, .place-search gmp-placeautocomplete { width: 100%; color-scheme: light; }
.place-search:has(gmp-place-autocomplete) > .ico, .place-search:has(gmp-placeautocomplete) > .ico { display: none; }
@media (max-width: 40rem) { .place-search { flex-basis: 100%; min-width: 0; } }

/* Train / Car / Bike: a segmented switch next to the place */
.mode-switch[hidden] { display: none; }
.mode-switch { display: inline-flex; border: 1px solid var(--rule); border-radius: 10px; background: var(--bg); padding: 2px; }
.mode-switch button { display: inline-flex; align-items: center; gap: 0.4rem; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font-weight: 600; padding: 0.3rem 0.9rem; }
.mode-switch button:hover { color: var(--ink); }
.mode-switch button[aria-pressed="true"] { background: var(--brand); color: var(--btn-ink); }
@media (max-width: 40rem) {
  .mode-switch { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .mode-switch button { justify-content: center; }
}

/* Trip pill: mode icon, time, a bar for the time (full at 4 h) and the details */
.travel { display: flex; flex-basis: 100%; margin-top: 0.2rem; }
.travel[hidden] { display: none; }
.trip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 0.45rem; color: var(--brand-ink); font-size: 0.92rem; }
.trip .ico { width: 1.05em; height: 1.05em; flex: none; }
.trip b { font-weight: 750; white-space: nowrap; }
.trip-bar { position: relative; width: 4.5rem; height: 6px; border-radius: 999px; background: var(--rule); overflow: hidden; flex: none; }
.trip-bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--brand); }
.trip-b1 .trip-bar i { opacity: 0.6; }
.trip-b2 .trip-bar i { opacity: 0.7; }
.trip-b3 .trip-bar i { opacity: 0.85; }
.trip-extra { color: var(--ink-3); font-weight: 400; font-size: 0.86rem; }
.trip-none { color: var(--ink-3); font-style: italic; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.list-empty { color: var(--ink-2); }
.list-empty[hidden] { display: none; }


/* Getting there */
.table-scroll { overflow-x: auto; max-width: 46rem; background: var(--paper); border-radius: 12px; border: 1px solid var(--rule); padding: 0.25rem 1rem; }
.travel-table { border-collapse: collapse; width: 100%; max-width: 46rem; font-size: 0.98rem; }
.travel-table th, .travel-table td { text-align: left; padding: 0.45rem 0.9rem 0.45rem 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.travel-table thead th { color: var(--ink-2); font-weight: 600; font-size: 0.9rem; }
.travel-table .num { font-weight: 700; white-space: nowrap; }
.travel-table .sub { color: var(--ink-2); font-size: 0.88rem; }
.travel-table tbody tr:last-child th, .travel-table tbody tr:last-child td { border-bottom: 0; }

.day-headline { font-size: 1.2rem; max-width: 48rem; color: var(--ink-2); }
.day-headline strong { color: var(--ink); }
.section-title { font-size: 1.3rem; margin: 2rem 0 0.75rem; }

/* Badges and chips */
.badge {
  display: inline-flex; align-items: center; gap: 0.35em; font-weight: 800; font-stretch: var(--condensed);
  font-size: 1.05rem; line-height: 1; padding: 0.38em 0.7em 0.38em 0.55em; border-radius: 999px; white-space: nowrap;
}
.badge.v-go { background: var(--go-soft); color: var(--go-ink); }
.badge.v-wait { background: var(--wait-soft); color: var(--wait-ink); }
.badge.v-skip, .badge.v-none { background: var(--skip-soft); color: var(--skip-ink); }
.badge.v-closed { background: transparent; color: var(--skip-ink); box-shadow: inset 0 0 0 1.5px var(--skip); }
.badge.v-go .ico { color: var(--sun); }

.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.3em; font-size: 0.88rem; line-height: 1.3; padding: 0.2em 0.6em;
  border-radius: 6px; background: var(--skip-soft); color: var(--ink-2);
}
.chip-time { background: transparent; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); font-weight: 600; }
.chip-fog { background: #FFF3D1; color: #6B4A00; font-weight: 600; }
.chip-fog .ico { color: #E59A00; }
.chip-closed { background: transparent; box-shadow: inset 0 0 0 1px var(--skip); }
.chip-ski { background: #DDEBFA; color: #123E6B; font-weight: 600; }
.chip-panorama { background: transparent; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink-2); }
.chip-chance { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); font-variant-numeric: tabular-nums; }
.chip-unsure { background: transparent; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--rule); }
.running { display: flex; gap: 0.4rem; align-items: baseline; margin: 0.45rem 0 0; font-size: 0.9rem; color: var(--ink-2); }
.running .ico { width: 1em; height: 1em; flex: none; align-self: center; color: var(--ink-3); }
.running-warn { color: var(--ink); font-weight: 600; }
.running-warn .ico { color: var(--skip-ink); }
.running-src { font-size: 0.8rem; font-weight: 400; color: var(--ink-3); white-space: nowrap; }
.facts { flex-basis: 100%; font-size: 0.86rem; line-height: 1.45; color: var(--ink-3); }
.fact { white-space: nowrap; }
.fact:not(:last-child)::after { content: "\00a0\00a0\00b7"; }
.chips > .facts:first-child { margin-top: 0.1rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em; background: var(--brand); color: var(--btn-ink);
  font-weight: 650; text-decoration: none; padding: 0.65rem 1.1rem; border-radius: 8px; font-size: 0.98rem;
}
.btn .ico { width: 1em; height: 1em; }
.btn-block { display: flex; width: 100%; }
.btn:hover { filter: brightness(1.08); }

/* Grouped rows */
.groups { display: grid; gap: 1.25rem; }
.group[hidden] { display: none; }
.group-title { display: flex; align-items: center; gap: 0.5rem; font-size: 1.05rem; margin: 0 0 0.5rem; color: var(--ink-2); }
.group-go .group-title { color: var(--go-ink); }
.group-wait .group-title { color: var(--wait-ink); }
.group-title .count { font-size: 0.85rem; background: var(--skip-soft); color: var(--ink-2); border-radius: 999px; padding: 0.05em 0.55em; }
.rows { list-style: none; margin: 0; padding: 0; background: var(--paper); border-radius: 12px; border: 1px solid var(--rule); overflow: hidden; }
.row {
  display: grid; grid-template-columns: 5.4rem minmax(0, 1fr) auto; grid-template-areas: "badge main book" "badge chips book";
  column-gap: 0.9rem; row-gap: 0.35rem; align-items: center; padding: 0.8rem 1rem; border-top: 1px solid var(--rule);
}
.row:first-child { border-top: 0; }
.row[hidden] { display: none; }
.row > .badge { grid-area: badge; justify-self: start; }
.row-main { grid-area: main; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.6rem; color: inherit; text-decoration: none; min-width: 0; }
.row-main:hover .row-name { text-decoration: underline; }
.row-name { font-weight: 700; font-size: 1.08rem; }
.row-meta { color: var(--ink-2); font-size: 0.92rem; }
.row > .chips { grid-area: chips; }
.row-book, .row-book-none { grid-area: book; }
.row-book { font-weight: 700; font-size: 0.95rem; text-decoration: none; padding: 0.4rem 0.8rem; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand-ink); white-space: nowrap; }
.row-book:hover { background: var(--brand); color: var(--btn-ink); }
@media (min-width: 56rem) {
  .row { grid-template-columns: 5.4rem minmax(13rem, 1fr) minmax(0, 1.5fr) auto; grid-template-areas: "badge main chips book"; }
}
@media (max-width: 30rem) {
  .row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "badge book" "main main" "chips chips"; }
}

/* Tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.tile { display: flex; flex-direction: column; background: var(--paper); border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); min-width: 0; }
.tile[hidden], .tiles-empty[hidden] { display: none; }
.tile-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.tile-link:hover .tile-name { text-decoration: underline; }
.tile-art { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--skip-soft); }
.tile-art .badge { position: absolute; left: 0.65rem; top: 0.65rem; background: var(--paper); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18); }
.tile-score { position: absolute; right: 0.65rem; bottom: 0.65rem; min-width: 2.2rem; text-align: center; padding: 0.15rem 0.45rem; border-radius: 8px; background: var(--paper); color: var(--ink); font-weight: 800; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18); }
.tile.v-skip .tile-art .postcard-art, .tile.v-closed .tile-art .postcard-art { filter: saturate(0.45); }
.tile-body { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.75rem 0.9rem 0.3rem; }
.tile-name { font-weight: 750; font-size: 1.15rem; line-height: 1.15; letter-spacing: -0.01em; }
.tile-meta { color: var(--ink-2); font-size: 0.92rem; }
.tile-meta .travel { margin-top: 0.3rem; }
.tile-foot { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.3rem 0.9rem 0.85rem; flex: 1; }
.tile-foot .photo-credit { margin-top: auto; }
.tiles-empty { color: var(--ink-2); }
@media (max-width: 37.5rem) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .tile-art .badge { left: 0.4rem; top: 0.4rem; font-size: 0.8rem; }
  .tile-score { right: 0.4rem; bottom: 0.4rem; min-width: 1.8rem; font-size: 0.85rem; }
  .tile-body { padding: 0.5rem 0.6rem 0.2rem; }
  .tile-name { font-size: 1.1rem; }
  .tile-meta { font-size: 0.8rem; }
  .tile-foot { padding: 0.2rem 0.6rem 0.6rem; }
  .tile-foot .chip:not(.chip-time):not(.chip-fog):not(.chip-closed), .tile-foot .facts { display: none; }
  .tile-foot .chip { font-size: 0.75rem; }
}
.photo-credit { margin: 0; font-size: 0.75rem; color: var(--ink-3); }
.photo-credit a { color: inherit; }
.mountain-art { position: relative; }
.mountain-art .photo-credit { position: absolute; right: 0; bottom: 0; padding: 0.15rem 0.5rem; border-top-left-radius: 8px; background: rgba(0, 0, 0, 0.5); color: #fff; }

/* Overview (home): page head, day strip, compare table, selected summit, clearest window, map strip */
.eyebrow { margin: 0 0 0.35rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.5rem 2rem; padding-top: 2rem; padding-bottom: 1.25rem; }
.page-title { margin: 0 0 0.25rem; }
.page-meta { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.page-updated { margin: 0; text-align: right; font-size: 0.85rem; color: var(--ink-3); line-height: 1.45; }
@media (max-width: 40rem) { .page-head { padding-top: 1.25rem; } .page-updated { text-align: left; } }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; margin-bottom: 0.75rem; }
.toolbar .control-view { grid-template-columns: auto; }
.toolbar .control-view .control-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.day-strip { display: flex; gap: 0.4rem; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.day-strip button {
  appearance: none; display: inline-flex; align-items: center; gap: 0.45rem; font: inherit; font-size: 0.95rem; font-weight: 600; white-space: nowrap;
  cursor: pointer; padding: 0.45rem 1.1rem; min-height: 2.5rem; border-radius: 8px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink);
}
.day-strip button:hover { border-color: var(--ink-3); }
.day-strip button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--btn-ink); }
.day-count { display: inline-flex; align-items: center; gap: 0.15rem; font-size: 0.8rem; font-weight: 700; color: var(--go-ink); }
.day-count .ico { width: 0.95em; height: 0.95em; color: var(--sun); }
[aria-selected="true"] .day-count { color: inherit; opacity: 0.9; }
@media (max-width: 40rem) {
  .toolbar { flex-direction: column; align-items: stretch; }
  .day-strip button { padding: 0.4rem 0.75rem; }
  .toolbar .view-switch { display: grid; grid-template-columns: repeat(3, 1fr); }
}

.overview { display: grid; gap: 1rem; align-items: start; }
@media (min-width: 62rem) { .overview { grid-template-columns: minmax(0, 1fr) 21rem; } }
@media (min-width: 72rem) { .overview { grid-template-columns: minmax(0, 1fr) 23rem; } }
.board, .detail { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; min-width: 0; }
.board { padding: 1.1rem 1.1rem 0; }
.board-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1.25rem; margin-bottom: 0.9rem; }
.board-title { margin: 0; font-size: 1.35rem; }
.board-sum { margin: 0; color: var(--ink-2); font-size: 0.95rem; flex: 1 1 16rem; }
.legend { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; font-size: 0.82rem; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 0.3rem; white-space: nowrap; }
.legend li:nth-child(1) .ico { color: var(--sun); }
.legend li:nth-child(2) .ico { color: var(--wait); }
.legend li:nth-child(3) .ico { color: var(--cloud); }
@media (max-width: 40rem) { .board { padding: 0.9rem 0.75rem 0; } .legend { gap: 0.7rem; } }

.cmp-scroll { overflow-x: auto; margin: 0 -1.1rem; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.92rem; }
.cmp th, .cmp td { padding: 0; text-align: center; border-top: 1px solid var(--rule-2); }
.cmp thead th { font-size: 0.78rem; font-weight: 600; color: var(--ink-3); padding: 0.5rem 0.25rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); }
.cmp thead th.cmp-peak { text-align: left; padding-left: 1.1rem; }
.cmp thead th + th { border-left: 1px solid var(--rule-2); }
.cmp tbody tr:first-child > * { border-top: 0; }
.cmp-row { cursor: pointer; }
.cmp-row[hidden] { display: none; }
.cmp-row > * { background: var(--paper); transition: background-color 0.12s ease; }
.cmp-row:hover > * { background: var(--bg); }
.cmp-row.is-selected > * { background: var(--brand-soft); }
.cmp-row.is-selected > th { box-shadow: inset 4px 0 0 var(--brand); }
th.cmp-peak { position: sticky; left: 0; z-index: 1; text-align: left; font-weight: 400; min-width: 15rem; }
.cmp-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0.75rem 0.55rem 1.1rem; color: inherit; text-decoration: none; }
.cmp-thumb { flex: none; width: 4.25rem; height: 3rem; border-radius: 6px; overflow: hidden; background: var(--skip-soft); }
.cmp-thumb .postcard-art { width: 100%; height: 100%; }
.v-skip .cmp-thumb .postcard-art, .v-closed .cmp-thumb .postcard-art { filter: saturate(0.5); }
.cmp-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.cmp-name { font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.cmp-link:hover .cmp-name { text-decoration: underline; }
.cmp-meta { font-size: 0.8rem; color: var(--ink-3); }
.cmp-verdict { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; margin-top: 0.15rem; font-size: 0.82rem; font-weight: 700; }
.cmp-verdict .ico { width: 1em; height: 1em; }
.v-go .cmp-verdict { color: var(--go-ink); }
.v-go .cmp-verdict .ico { color: var(--sun); }
.v-wait .cmp-verdict { color: var(--wait-ink); }
.v-skip .cmp-verdict, .v-closed .cmp-verdict, .v-none .cmp-verdict { color: var(--skip-ink); }
.cmp-score { font-weight: 600; color: var(--ink-3); }
.cmp-chance::before { content: "· "; }
.cmp-chance { color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cmp-fog { font-weight: 600; color: #8A6100; }
.cmp-text .travel { margin-top: 0.2rem; }
.cmp-text .trip { font-size: 0.82rem; }
.cmp-cell { position: relative; min-width: 3.4rem; padding: 0.4rem 0.2rem; white-space: nowrap; border-left: 1px solid var(--rule-2); }
.cmp-cell .ico { display: block; width: 1.4rem; height: 1.4rem; margin: 0 auto 0.1rem; }
.cmp-cell.h-go .ico { color: var(--sun); }
.cmp-cell.h-wait .ico { color: var(--wait); }
.cmp-cell.h-skip .ico { color: var(--cloud); }
.cmp-num { font-size: 0.85rem; font-weight: 650; color: var(--ink-2); }
.cmp-cell.h-skip .cmp-num { color: var(--ink-3); font-weight: 500; }
.cmp-cell.in-window::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--go); }
.v-wait .cmp-cell.in-window::after { background: var(--wait); }
.cmp-closed { color: var(--ink-3); font-size: 0.88rem; font-style: italic; text-align: left !important; padding: 0 1rem !important; border-left: 1px solid var(--rule-2); }
.cmp-closed .ico { width: 1em; height: 1em; margin-right: 0.4rem; vertical-align: -0.15em; }
@media (max-width: 40rem) {
  .cmp-scroll { margin: 0 -0.75rem; }
  th.cmp-peak { min-width: 9.5rem; max-width: 9.5rem; box-shadow: 1px 0 0 var(--rule); }
  .cmp thead th.cmp-peak { padding-left: 0.75rem; }
  .cmp-link { padding: 0.5rem 0.5rem 0.5rem 0.75rem; }
  .cmp-thumb { display: none; }
  .cmp-name { font-size: 0.95rem; }
  .cmp-cell { min-width: 2.9rem; }
  .cmp-cell .ico { width: 1.2rem; height: 1.2rem; }
}
.board .tiles, .board .map { margin-bottom: 1rem; }
.board .tile { border-color: var(--rule-2); }

.clearest { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; margin: 0 -1.1rem; padding: 0.9rem 1.1rem; border-top: 1px solid var(--rule); background: var(--paper); border-radius: 0 0 12px 12px; }
.clearest-label { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; padding-right: 1.5rem; border-right: 1px solid var(--rule); }
.clearest-label .ico { width: 1.6rem; height: 1.6rem; color: var(--sun); }
.v-skip .clearest-label .ico, .v-closed .clearest-label .ico, .v-none .clearest-label .ico { color: var(--cloud); }
.clearest-what { display: flex; flex-direction: column; line-height: 1.35; }
.clearest-what b a { color: inherit; text-decoration: none; }
.clearest-what b a:hover { text-decoration: underline; }
.clearest-what span { font-size: 0.85rem; color: var(--ink-3); }
.clearest-near { flex-basis: 100%; font-size: 0.9rem; font-weight: 650; color: var(--go-ink); }
.clearest-near[hidden] { display: none; }
@media (max-width: 40rem) { .clearest { margin: 0 -0.75rem; padding: 0.8rem 0.75rem; } .clearest-label { border-right: 0; padding-right: 0; } }

.detail { overflow: hidden; }
@media (min-width: 62rem) { .detail { position: sticky; top: 1rem; } }
@media (max-width: 62rem) { .detail { display: none; } }
.detail-art { margin: 0.75rem 0.75rem 0; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--skip-soft); }
.detail-art .postcard-art { width: 100%; height: 100%; }
.detail-body { padding: 0.9rem 1rem 1rem; }
.detail-body .eyebrow { margin-bottom: 0.15rem; }
.detail-name { margin: 0; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; }
.detail-name a { color: var(--ink); text-decoration: none; }
.detail-name a:hover { text-decoration: underline; }
.detail-meta { margin: 0.1rem 0 0.75rem; color: var(--ink-2); font-size: 0.92rem; }
.detail-now { display: flex; align-items: center; gap: 0.75rem; padding: 0.25rem 0 0.85rem; border-bottom: 1px solid var(--rule); }
.detail-icon .ico { width: 3rem; height: 3rem; }
.v-go .detail-icon .ico { color: var(--sun); }
.v-wait .detail-icon .ico { color: var(--wait); }
.v-skip .detail-icon .ico, .v-closed .detail-icon .ico, .v-none .detail-icon .ico { color: var(--cloud); }
.detail-score { font-size: 2.6rem; font-weight: 750; line-height: 1; letter-spacing: -0.03em; }
.detail-score small { font-size: 0.85rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.detail-word { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.detail-word b { font-size: 1.15rem; }
.v-go .detail-word b { color: var(--go-ink); }
.v-wait .detail-word b { color: var(--wait-ink); }
.v-skip .detail-word b, .v-closed .detail-word b { color: var(--skip-ink); }
.detail-word span { font-size: 0.88rem; color: var(--ink-2); }
.detail-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-bottom: 1px solid var(--rule); }
.detail-stats > div { padding: 0.6rem 0; }
.detail-stats > div:nth-child(odd) { padding-right: 0.75rem; border-right: 1px solid var(--rule); }
.detail-stats > div:nth-child(even) { padding-left: 0.9rem; }
.detail-stats > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
.detail-stats dt { display: flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; color: var(--ink-3); }
.detail-stats dt .ico { width: 1em; height: 1em; }
.detail-stats dd { margin: 0; font-weight: 700; font-size: 1rem; }
.detail-trip { display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); font-size: 0.9rem; color: var(--ink-2); }
.detail-trip[hidden] { display: none; }
.detail-trip .ico { color: var(--brand-ink); }
.detail-trip b { color: var(--ink); }
.detail-chart { margin: 0.75rem 0 0.5rem; }
.detail-chart figcaption { font-size: 0.82rem; font-weight: 650; color: var(--ink-2); margin-bottom: 0.2rem; }
.detail-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-window { fill: var(--go-soft); }
.v-wait .chart-window { fill: var(--wait-soft); }
.chart-grid { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 3; }
.chart-area { fill: var(--go); fill-opacity: 0.16; }
.chart-line { fill: none; stroke: var(--go); stroke-width: 2; stroke-linejoin: round; }
.v-wait .chart-area { fill: var(--wait); }
.v-wait .chart-line { stroke: var(--wait); }
.v-skip .chart-area { fill: var(--skip); }
.v-skip .chart-line { stroke: var(--skip); }
.chart-label { font-size: 10px; fill: var(--ink-3); font-family: "Archivo", sans-serif; }
.detail-body .chips { margin: 0.4rem 0 0.9rem; }
.detail-actions { display: grid; gap: 0.6rem; justify-items: center; }
/* Buy tickets: the one warm colour on the page, so it reads as the next step wherever a summit is worth it. */
.buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; background: var(--buy); color: var(--buy-ink);
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap; padding: 0.65rem 1.15rem; border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.buy:hover { background: var(--buy-hover); }
.buy .ico { width: 1.2em; height: 1.2em; }
.buy-block { display: flex; width: 100%; padding: 0.8rem 1.1rem; font-size: 1.05rem; }
.btn-quiet { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.92rem; font-weight: 650; color: var(--brand-ink); text-decoration: none; }
.btn-quiet:hover { text-decoration: underline; }
.btn-quiet .ico { width: 1em; height: 1em; }
.cmp-buy-cell { padding: 0 0.75rem !important; border-left: 1px solid var(--rule-2); }
.cmp-buy-h { min-width: 6.5rem; }
.cmp-buy { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.4rem 0.7rem; border-radius: 7px; background: var(--buy); color: var(--buy-ink); font-size: 0.82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cmp-buy:hover { background: var(--buy-hover); }
.cmp-buy .ico { width: 1.1em; height: 1.1em; }
.cmp-buy > span:not(.visually-hidden) { display: none; }
@media (min-width: 72rem) { .cmp-buy > span:not(.visually-hidden) { display: inline; } }
.clearest .buy { margin-left: auto; }
.tile-foot .buy { margin-top: 0.25rem; padding: 0.6rem 0.9rem; font-size: 0.95rem; }

.map-strip {
  position: relative; margin-top: 1rem; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; min-height: 9rem;
  background-color: #E9EDE6;
  background-image:
    radial-gradient(ellipse at 30% 120%, rgba(120, 150, 125, 0.18), transparent 60%),
    radial-gradient(ellipse at 75% -20%, rgba(120, 140, 160, 0.16), transparent 55%),
    repeating-radial-gradient(circle at 62% 70%, transparent 0 22px, rgba(60, 80, 70, 0.07) 22px 23px),
    repeating-radial-gradient(circle at 18% 30%, transparent 0 26px, rgba(60, 80, 70, 0.06) 26px 27px);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map-strip { background-color: #1B2420; } }
:root[data-theme="dark"] .map-strip { background-color: #1B2420; }
.map-strip-art { display: block; width: 100%; height: auto; max-height: 15rem; }
.strip-pin path { stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.strip-pin.v-go path { fill: var(--go); }
.strip-pin.v-wait path { fill: var(--wait); }
.strip-pin.v-skip path, .strip-pin.v-none path { fill: var(--skip); }
.strip-pin.v-closed path { fill: #fff; stroke: var(--skip); }
.strip-pin text { font: 700 15px "Archivo", sans-serif; fill: var(--ink); paint-order: stroke; stroke: #E9EDE6; stroke-width: 4px; stroke-linejoin: round; }
.strip-pin:hover path { stroke: var(--ink); }
.map-strip-btn {
  position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: 0.35rem; appearance: none; font: inherit; font-size: 0.92rem; font-weight: 650;
  cursor: pointer; padding: 0.5rem 0.9rem; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.map-strip-btn:hover { border-color: var(--ink-3); }
.map-strip-btn .ico { width: 1em; height: 1em; }
.no-js .map-strip-btn { display: none; }
@media (max-width: 40rem) { .strip-pin text { display: none; } .map-strip { min-height: 7rem; } .map-strip-btn { left: 0.6rem; bottom: 0.6rem; } }

/* Map */
.map { height: min(70vh, 34rem); border-radius: 10px; overflow: hidden; background: var(--skip-soft); z-index: 0; }
/* Phones: the summits fill the width long before the height, so a shorter map shows less of Germany and Italy. */
@media (max-width: 40rem) { .map { height: min(60vh, 27rem); } }
.map-note { font-size: 0.85rem; color: var(--ink-3); margin: 0.5rem 0 0; }
.map-note a { color: inherit; }
.map-pin-wrap { background: none; border: 0; }
.map-pin {
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  font: 800 13px/1 "Archivo", sans-serif; color: #fff; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.map-pin.v-go { background: var(--go); }
.map-pin.v-wait { background: var(--wait); color: #2A1E00; }
.map-pin.v-skip, .map-pin.v-none { background: var(--skip); }
.map-pin.v-closed { background: #fff; color: var(--skip-ink); border-color: var(--skip); font-size: 18px; }
.map-pin.map-pin-sm { width: 28px; height: 28px; font-size: 12px; }
.map-pin.map-pin-sm.v-closed { font-size: 16px; }
.map-leader { stroke: #18232C; stroke-opacity: 0.55; }
.map-leader-dot { stroke: #fff; fill: #18232C; fill-opacity: 0.8; }
.leaflet-popup-content p { margin: 0 0 0.3rem; }
.map-pop-name { font-weight: 800; font-size: 1.05rem; }
.map-pop-meta { color: #3E4B56; }

.fog-board { margin-top: 1.5rem; }
.fog-board summary { cursor: pointer; color: var(--brand-ink); font-weight: 600; }

/* Altitude board */
.board-scroll { overflow-x: auto; margin-top: 0.75rem; }
.alt-board { display: block; width: 100%; min-width: 600px; height: auto; font-family: "Archivo", sans-serif; }
.alt-board .tick { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 4; }
.alt-board .tick-label { fill: var(--ink-3); font-size: 10px; }
.alt-board .floor { stroke: var(--ink); stroke-width: 2; }
.alt-board .peak polygon { stroke: var(--bg); stroke-width: 1.5; stroke-linejoin: round; }
.alt-board .peak.v-go polygon { fill: var(--go); }
.alt-board .peak.v-wait polygon { fill: var(--wait); }
.alt-board .peak.v-skip polygon, .alt-board .peak.v-none polygon { fill: var(--skip); }
.alt-board .peak.v-closed polygon { fill: none; stroke: var(--skip); stroke-dasharray: 3 3; }
.alt-board .fog { fill: var(--fog); pointer-events: none; }
.alt-board .fog-label { fill: var(--ink-2); font-size: 12px; font-style: italic; }
.alt-board .peak-score { font-size: 13px; font-weight: 800; }
.alt-board .peak-score.v-go { fill: var(--go-ink); }
.alt-board .peak-score.v-wait { fill: var(--wait-ink); }
.alt-board .peak-score.v-skip { fill: var(--skip-ink); }
.alt-board .sun { fill: var(--sun); }
.alt-board .region-rule { stroke: var(--ink-3); stroke-width: 1; }
.alt-board .region-label { fill: var(--ink-2); font-size: 11px; font-weight: 600; }

/* Explainer */
.explainer { margin-top: 3rem; }
.meanings { display: grid; gap: 1rem; margin: 0 0 1rem; }
@media (min-width: 46rem) { .meanings { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.meanings dt { display: flex; align-items: center; gap: 0.35em; font-stretch: var(--condensed); font-weight: 850; font-size: 1.6rem; line-height: 1; margin-bottom: 0.4rem; }
.meanings .v-go dt { color: var(--go-ink); }
.meanings .v-go dt .ico { color: var(--sun); }
.meanings .v-wait dt { color: var(--wait-ink); }
.meanings .v-skip dt { color: var(--skip-ink); }
.meanings dd { margin: 0; color: var(--ink-2); }

/* Mountain page */
.crumbs { font-size: 0.95rem; color: var(--ink-2); margin: 0 0 0.75rem; }
.mountain-head { display: grid; gap: 1.5rem; padding-top: 1.5rem; align-items: center; }
@media (min-width: 52rem) { .mountain-head { grid-template-columns: 1fr 1.1fr; gap: 2.5rem; } }
.mountain-art { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow); max-width: 100%; }
@media (max-width: 52rem) { .mountain-art { order: -1; } }
.mountain-name { font-weight: 800; font-size: clamp(2.4rem, 7vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; margin: 0; }
.mountain-alt { font-weight: 600; font-size: 1.15rem; color: var(--ink-2); margin: 0.35em 0 0.6em; }
.mountain-tagline { font-size: 1.2rem; max-width: 34rem; }
.today-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0.25rem 0 1.1rem; }
.today-label { font-weight: 700; margin-right: 0.15rem; }

.notices { margin: 1.5rem 0 0.5rem; max-width: 46rem; }
.notice { border-left: 4px solid var(--sun); background: var(--paper); padding: 0.55rem 0.9rem; margin: 0 0 0.5rem; border-radius: 0 8px 8px 0; }
.notice-closed { border-left-color: var(--skip-ink); font-weight: 600; }

.forecast { margin-top: 1.5rem; }
.forecast-grid { display: grid; gap: 1.5rem; align-items: start; margin-bottom: 1rem; background: var(--paper); border-radius: 14px; padding: 1.25rem; border: 1px solid var(--rule); }
@media (min-width: 52rem) { .forecast-grid { grid-template-columns: minmax(16rem, 1fr) 1.3fr; gap: 2.5rem; padding: 1.5rem 1.75rem; } }
.verdict-word { display: flex; align-items: center; gap: 0.25em; font-stretch: 62%; font-weight: 900; font-size: 3rem; line-height: 1; margin: 0 0 0.3em; }
.verdict-big .verdict-word { font-size: clamp(3.4rem, 11vw, 5rem); }
.verdict-word .ico { width: 0.72em; height: 0.72em; }
.verdict.v-go .verdict-word { color: var(--go-ink); }
.verdict.v-go .verdict-word .ico { color: var(--sun); }
.verdict.v-wait .verdict-word { color: var(--wait-ink); }
.verdict.v-skip .verdict-word, .verdict.v-closed .verdict-word, .verdict.v-none .verdict-word { color: var(--skip-ink); }
.verdict-summary { font-size: 1.2rem; margin-bottom: 0.5em; }
.verdict-meta { color: var(--ink-2); font-size: 0.95rem; }

.hourly { margin: 0; }
.hourly-bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.35rem; height: 9rem; align-items: end; border-bottom: 2px solid var(--ink); }
.bar { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; position: relative; }
.bar-fill { display: block; height: calc(var(--h) * 1%); min-height: 2px; background: var(--skip-soft); border-radius: 4px 4px 0 0; box-shadow: inset 0 0 0 1px var(--rule); }
.v-go .bar.in-window .bar-fill, .bar.in-window .bar-fill { background: var(--go); box-shadow: none; }
.v-wait .bar.in-window .bar-fill { background: var(--wait); }
.v-skip .bar.in-window .bar-fill { background: var(--skip); }
.bar-label { position: absolute; bottom: -1.6rem; left: 0; right: 0; text-align: center; font-size: 0.85rem; color: var(--ink-2); }
.hourly figcaption { margin-top: 2.1rem; font-size: 0.9rem; color: var(--ink-2); max-width: 32rem; }

.outlook { list-style: none; padding: 0; margin: 1.5rem 0 1rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.4rem; }
.outlook-day { padding: 0.5rem 0.6rem; display: flex; flex-direction: column; background: var(--paper); border-radius: 10px; border: 1px solid var(--rule); }
.outlook-label { font-size: 0.85rem; color: var(--ink-2); }
.outlook-verdict { font-stretch: var(--condensed); font-weight: 850; font-size: 1.35rem; line-height: 1.1; }
.v-go .outlook-verdict { color: var(--go-ink); }
.v-wait .outlook-verdict { color: var(--wait-ink); }
.v-skip .outlook-verdict, .v-closed .outlook-verdict { color: var(--skip-ink); }
.outlook-score { color: var(--ink-3); min-height: 1.5em; font-size: 0.9rem; }

.updated { font-size: 0.95rem; color: var(--ink-2); }

.book .tours { list-style: none; padding: 0; margin: 0 0 1rem; }
.tour a { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; }
.tour-title { display: block; font-weight: 600; color: var(--brand-ink); }
.tour-meta { font-size: 0.92rem; color: var(--ink-2); }
.book-link { display: inline-block; background: var(--brand); color: var(--btn-ink); text-decoration: none; font-weight: 700; padding: 0.65rem 1.1rem; border-radius: 8px; }
.book-link.plain { background: none; color: var(--brand-ink); padding: 0; text-decoration: underline; font-weight: 600; }
.disclosure { font-size: 0.92rem; color: var(--ink-2); max-width: 40rem; }
.placeholder { border: 1px dashed var(--skip); color: var(--skip-ink); padding: 1rem; font-size: 0.95rem; border-radius: 8px; }
.gyg { margin-bottom: 1rem; }

.fact-list { margin: 0 0 1rem; background: var(--paper); border-radius: 12px; border: 1px solid var(--rule); overflow: hidden; }
.fact-list > div { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: 0.7rem 1rem; border-top: 1px solid var(--rule); }
.fact-list > div:first-child { border-top: 0; }
.fact-list dt { color: var(--ink-2); }
.fact-list dd { margin: 0; }
@media (max-width: 30rem) { .fact-list > div { grid-template-columns: 1fr; gap: 0.1rem; } }
.note { font-size: 0.95rem; color: var(--ink-2); }
.pros-cons { display: grid; gap: 0 2.5rem; }
@media (min-width: 46rem) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros-cons ul, .compare-col ul { padding-left: 1.1rem; margin: 0; }
.pros-cons li, .compare-col li { margin-bottom: 0.35rem; }
.stay-map { width: 100%; height: 26rem; border: 1px solid var(--rule); border-radius: 8px; }

/* Compare */
.compare-answer { font-size: 1.3rem; font-weight: 600; }
.compare-cols { display: grid; gap: 2.5rem; margin-top: 1.5rem; }
@media (min-width: 52rem) { .compare-cols { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.compare-col { min-width: 0; }
.compare-col h2 { margin-top: 0; font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; }
.compare-col h2 a { color: inherit; text-decoration: none; }
.compare-col .fact-list > div { grid-template-columns: 8rem 1fr; }
.compare-col .verdict { background: var(--paper); border-radius: 14px; padding: 1.1rem 1.25rem; box-shadow: var(--shadow); }

/* Prose pages */
.prose { max-width: 44rem; padding-top: 2rem; }
.prose address { font-style: normal; margin-bottom: 1.5rem; }

/* Footer */
.site-footer { margin-top: 4rem; background: var(--paper); border-top: 1px solid var(--rule); padding: 2rem 0 3rem; font-size: 0.92rem; color: var(--ink-2); }
.footer-inner { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .footer-inner { grid-template-columns: 1.6fr 1fr 1.3fr 0.9fr; gap: 2.5rem; } }
.footer-brand { font-weight: 750; font-size: 1.15rem; color: var(--ink); margin-bottom: 0.5rem; }
.footer-head { font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 0.3rem; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--ink); }

/* Phones: one column that never scrolls sideways, the answer near the top, controls next to what they change. */
.day-strip, .toolbar > * { min-width: 0; max-width: 100%; }
/* Keeps the screen-reader-only labels inside the table from widening the page. */
.cmp-scroll, .table-scroll, .board-scroll { position: relative; }
@media (max-width: 40rem) {
  .page-head { padding-top: 1rem; padding-bottom: 0.75rem; }
  .page-head .eyebrow { display: none; }
  .page-title { font-size: 1.85rem; }
  .page-meta { font-size: 0.9rem; }
  .page-updated { font-size: 0.8rem; }
  /* Where are you? first, then the day and Table/Tiles/Map right above the board they switch. */
  .wrap:has(> .toolbar) { display: flex; flex-direction: column; }
  .wrap:has(> .toolbar) > * { min-width: 0; }
  .wrap:has(> .toolbar) > .planner { order: -1; }
  .toolbar { gap: 0.5rem; }
  /* All five days fit: day over count, no sideways scrolling. */
  .day-strip { gap: 0.3rem; overflow: visible; }
  .day-strip button { flex: 1 1 0; min-width: 0; flex-direction: column; gap: 0.05rem; padding: 0.35rem 0.2rem; min-height: 3rem; font-size: 0.9rem; }
  .day-count { font-size: 0.78rem; }
  .toolbar .control-view, .toolbar .view-switch { width: 100%; }
  .view-switch button { min-height: 2.5rem; }
  /* Thumb-sized ticket buttons in the table. */
  .cmp-buy { padding: 0.6rem 0.8rem; }
  .cmp-buy-h { min-width: 4.5rem; }
  /* Getting there: time first, the details in one tight line under it. */
  .travel-table { font-size: 0.92rem; }
  .travel-table th, .travel-table td { padding: 0.5rem 0.6rem 0.5rem 0; }
  .travel-table .sub { display: block; font-size: 0.78rem; line-height: 1.3; }
  .table-scroll { padding: 0.25rem 0.75rem; }
}
@media (max-width: 24rem) {
  .nav { gap: 0.7rem; }
  .nav a { font-size: 0.9rem; }
  .wordmark-strap { display: none; }
  .day-strip button { font-size: 0.85rem; }
}
.nav a { min-height: 2.75rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.map-origin {
  display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--brand);
  border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand), 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* Live webcam link and the track record ("How often we're right") */
.mountain-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.2rem; }
.webcam .ico { width: 1.1em; height: 1.1em; }
.alerts { position: relative; display: inline-block; }
.alerts summary { display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer; list-style: none; color: var(--brand-ink); font-weight: 600; font-size: 0.95rem; padding: 0.45rem 0.2rem; }
.alerts summary::-webkit-details-marker { display: none; }
.alerts summary .ico { width: 1.05em; height: 1.05em; }
.alerts-body { position: absolute; z-index: 5; left: 0; top: 100%; width: 20rem; max-width: calc(100vw - 32px); padding: 0.75rem 0.9rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.08); font-size: 0.92rem; }
@media (max-width: 600px) { .alerts { position: static; } .alerts-body { position: static; margin-top: 0.3rem; box-shadow: none; } }
.alerts-body p { margin: 0 0 0.5rem; color: var(--ink-2); }
.alerts-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.35rem; }
.alerts-body a { color: var(--brand-ink); font-weight: 600; }
.fog-line { margin: 0.35rem 0 0.4rem; font-size: 1rem; color: var(--ink); }
.fog-line .ico { width: 1.05em; height: 1.05em; color: var(--wait); vertical-align: -0.15em; margin-right: 0.35em; }
.fog-line a { color: var(--brand-ink); font-weight: 600; }
.fog-line .fog-more { display: inline-block; margin-left: 0.4rem; font-weight: 500; }
.track-line { margin: 0.5rem 0 0; font-size: 0.92rem; color: var(--ink-2); }
.track-line .ico { width: 1em; height: 1em; color: var(--brand); vertical-align: -0.12em; margin-right: 0.35em; }
.track-line a { color: var(--brand-ink); font-weight: 600; }
.track-table { border-collapse: collapse; margin: 0.5rem 0 1rem; font-size: 0.95rem; }
.track-table caption { text-align: left; color: var(--ink-2); padding-bottom: 0.3rem; }
.track-table th, .track-table td { padding: 0.35rem 1rem 0.35rem 0; border-bottom: 1px solid var(--rule); text-align: left; }

/* Icons and calmer table rows (ui-icons). */
.nav-ico { display: none; width: 1.25rem; height: 1.25rem; }
@media (max-width: 30rem) {
  /* On phones "How it works" shrinks to its icon so the header fits at 360-390 px (German and French hide it, see above). */
  .nav-extra .nav-ico { display: block; }
  .nav-extra .nav-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav { gap: 0.75rem; }
}
.view-switch button { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; }
.view-switch .ico { width: 1.05em; height: 1.05em; flex: none; }
.more-toggle .ico { width: 1.05em; height: 1.05em; flex: none; }
.map-strip-btn .ico:first-child { width: 1.1em; height: 1.1em; }
.detail-stats dt .ico { color: var(--brand-ink); }
/* Verdict as a tinted pill, so Go / Wait / Skip can be scanned down the table without reading. */
.cmp-pill { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.1rem 0.5rem 0.1rem 0.35rem; border-radius: 999px; background: var(--skip-soft); }
.v-go .cmp-pill { background: var(--go-soft); }
.v-wait .cmp-pill { background: var(--wait-soft); }
.v-wait .cmp-verdict .cmp-pill .ico { color: var(--wait); }
.v-skip .cmp-pill .ico, .v-closed .cmp-pill .ico { color: var(--cloud); }
.cmp-pill .cmp-score { color: inherit; opacity: 0.75; }
.cmp-fog { display: inline-flex; align-items: center; gap: 0.2rem; }
.cmp-fog .ico { color: #E59A00; }
/* One update time per summit is noise in a table where they're all the same; it stays in the side panel,
   and a summit that missed a refresh still says so here. */
.cmp-upd:not(.upd-stale) { display: none; }
/* Row ticket links are outlined, so the one solid orange button on screen is the selected summit's. */
.cmp-buy { background: transparent; color: var(--buy); box-shadow: inset 0 0 0 1.5px var(--buy); }
.cmp-buy:hover { background: var(--buy); color: var(--buy-ink); }
.cmp-buy .ico { --buy-ink: var(--paper); }
.cmp-buy:hover .ico { --buy-ink: var(--buy); }
.cmp-row.is-selected .cmp-pill { background: var(--paper); }
/* Quick answers: closed questions at the foot of home and summit pages (also sent as FAQPage data). */
.faq { margin-top: 2.5rem; max-width: 46rem; }
.faq h2 { margin-bottom: 0.6rem; }
.faq-item { border-top: 1px solid var(--rule); }
.faq-item:last-of-type { border-bottom: 1px solid var(--rule); }
.faq-item summary { display: flex; align-items: baseline; gap: 1rem; padding: 0.7rem 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; margin-left: auto; color: var(--ink-3); font-weight: 600; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.faq-item p { margin: 0 0 0.9rem; color: var(--ink-2); }
