:root {
  --paper: #070f1a;
  --surface: #0b1727;
  --ink: #e6eef8;
  --muted: #91a7c1;
  --line: #1c3046;
  --forest: #8bbde9;
  --orange: #ffad72;
  --green: #59d7c3;
  --sidebar: 342px;
  --header: 0px;
  --shadow: 0 5px 24px #030b1840;
  font-family: var(--font-system);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}
a {
  color: inherit;
}
button svg,
span[data-icon] svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
button {
  transition:
    background 0.15s,
    color 0.15s;
}
button:hover {
  background: #192e46;
}
button[hidden],
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  z-index: 30;
  top: -100px;
  padding: 12px;
  background: white;
}
.skip:focus {
  top: 0;
}
.app-header {
  height: var(--header);
  display: flex;
  align-items: center;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  background: var(--surface);
  position: relative;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.brand img {
  width: 39px;
  height: 39px;
}
.brand-light {
  font-weight: 400;
}
.brand small {
  display: block;
  font-family: inherit;
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 500;
  margin-top: 1px;
  color: var(--muted);
}
.collection-label {
  margin: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #68766c;
}
.tiny-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}
.collection-count {
  background: #edf0e8;
  border: 1px solid var(--line);
  padding: 4px 7px;
  font-size: 9px;
  letter-spacing: 0.8px;
  border-radius: 4px;
  margin-left: 4px;
}
.header-explore {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 6px;
}
.private-label {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #8b9289;
  font-size: 10px;
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.private-label svg {
  width: 13px;
  height: 13px;
}
.workspace {
  height: calc(100dvh - var(--header));
  display: flex;
}
.sidebar {
  width: var(--sidebar);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  z-index: 4;
  border-right: 1px solid var(--line);
  background: var(--surface);
}
.mountain-detail {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 27px 26px 24px;
  scrollbar-width: thin;
  flex: 1;
  min-height: 0;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.9px;
  color: var(--muted);
  font-weight: 600;
}
.mountain-location {
  display: flex;
  align-items: center;
  gap: 5px;
}
.mountain-region {
  min-width: 0;
  font-size: 11px;
  line-height: 1.5;
  color: #a1b4cb;
}
.mountain-flags {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.mountain-flags img {
  display: block;
  width: 18.2px;
  height: 18.2px;
  object-fit: contain;
}
.mountain-heritage .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 8px;
  color: var(--forest);
}
.mountain-heritage a {
  text-decoration: none;
}
.mountain-heritage a:hover {
  text-decoration: underline;
}
.mountain-location + .mountain-links,
.mountain-heritage + .mountain-links {
  margin-top: 10px;
}
.mountain-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 20px;
}
.mountain-links a,
.mountain-links button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  padding: 0px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #13263a;
  color: #bacee5;
  font-size: 11px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.mountain-links img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}
.mountain-links a:hover,
.mountain-links button:hover {
  background: #1c3650;
  color: #e6eef8;
}
.mountain-detail h1 {
  font-size: 32px;
  line-height: 1.3;
  margin: 12px 0 2px;
  font-weight: 700;
  letter-spacing: -1.5px;
}
.english-name {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 0;
}
.summit-height {
  margin: 20px 0 10px -1px;
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.summit-height strong {
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -1.4px;
}
.summit-height span {
  font-size: 17px;
  color: var(--muted);
}
.mountain-description {
  font-size: 11px;
  line-height: 1.5;
  color: #a1b4cb;
  margin: 8px 0 22px;
  word-break: keep-all;
}
.route-summary {
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
  margin-bottom: 15px;
}
.route-summary .eyebrow {
  font-size: 8px;
  color: #90accb;
  letter-spacing: 1.3px;
}
.route-summary h2 {
  font-size: 18px;
  margin: 6px 0 0;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.4px;
}
.route-summary .mountain-description {
  margin: 8px 0 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-heading h3 {
  font-size: 11px;
  margin: 0;
  font-weight: 500;
}
.section-heading span {
  font-size: 9px;
  color: var(--muted);
}
.stage-caption {
  font-size: 9px;
  letter-spacing: 0.5px;
  color: var(--green);
  margin: 18px 0 10px 29px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.stage-caption.climb {
  color: var(--orange);
}
.stage-caption:before {
  content: "";
  width: 15px;
  height: 1px;
  background: currentColor;
}
.waypoint-list {
  position: relative;
}
.waypoint {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  position: relative;
  padding: 10px 5px 10px 0;
  border-radius: 6px;
  min-height: 54px;
}
.waypoint:before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: -12px;
  left: 7px;
  border-left: 1px solid #35506b;
}
.waypoint:last-child:before {
  display: none;
}
.waypoint .point-dot {
  height: 15px;
  width: 15px;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #70baae;
  border-radius: 50%;
  background: var(--surface);
  z-index: 1;
  flex-shrink: 0;
}
.waypoint .point-dot:after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #70baae;
}
.waypoint[data-kind="base"] .point-dot {
  border-radius: 3px;
  background: var(--green);
  border-color: var(--green);
}
.waypoint[data-kind="base"] .point-dot:after {
  background: var(--surface);
  height: 5px;
  width: 5px;
}
.waypoint[data-stage="climb"] .point-dot {
  border-color: var(--orange);
}
.waypoint[data-stage="climb"] .point-dot:after {
  background: var(--orange);
}
.waypoint[data-kind="summit"] .point-dot {
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--orange);
}
.waypoint[data-kind="summit"] .point-dot:after {
  background: var(--surface);
}
.waypoint .point-copy {
  flex: 1;
  min-width: 0;
}
.point-name {
  font-size: 12px;
  display: block;
  line-height: 1.5;
  font-weight: 500;
}
.point-alt {
  font-size: 10px;
  display: block;
  color: #91a8c4;
  margin-top: 2px;
}
.point-note {
  display: none;
  font-size: 11px;
  line-height: 1.75;
  color: #afc0d5;
  margin: 8px 0 0;
  word-break: keep-all;
}
.waypoint.is-selected {
  background: #182d44;
  padding-left: 6px;
  margin-left: -6px;
  width: calc(100% + 6px);
}
.waypoint.is-selected:before {
  left: 13px;
}
.waypoint.is-selected .point-note {
  display: block;
}
.waypoint .point-chevron {
  color: #819bb9;
  margin-top: 3px;
}
.waypoint .point-chevron svg {
  width: 13px;
  height: 13px;
}
.waypoint.no-coordinate .point-chevron {
  font-size: 8px;
  border: 1px solid #35506b;
  padding: 2px 4px;
  border-radius: 3px;
  white-space: nowrap;
}
.source-note {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 15px;
  font-size: 10px;
  line-height: 1.8;
  color: #8ea4c0;
}
.source-note p {
  margin: 0 0 9px;
}
.source-note details summary {
  cursor: pointer;
  display: list-item;
  font-size: 11px;
  color: #a7c8ec;
}
.source-links {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}
.source-links a {
  font-size: 10px;
  text-decoration: none;
  color: #a7c8ec;
  overflow-wrap: anywhere;
}
.source-links a:hover {
  text-decoration: underline;
}
.sidebar-footer {
  height: 42px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 24px;
  font-size: 9px;
  color: var(--muted);
  flex-shrink: 0;
  background: var(--surface);
}
.sidebar-footer button {
  margin-left: auto;
  padding: 5px;
  border-radius: 50%;
}
.sidebar-footer svg {
  width: 14px;
  height: 14px;
}
.map-panel {
  flex: 1;
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #dfe5d9;
}
.map-panel #map {
  position: absolute;
  inset: 0;
}
.map-navigation {
  position: absolute;
  right: 27px;
  top: 96px;
  background: #fffefbf5;
  border: 1px solid #f7f8f1;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.map-navigation button {
  display: flex;
  width: 37px;
  height: 36px;
  align-items: center;
  justify-content: center;
  position: relative;
}
.map-navigation button + button {
  border-top: 1px solid var(--line);
}
.map-navigation #north {
  height: 45px;
  padding-top: 8px;
}
.compass {
  font-size: 26px;
  display: inline-block;
  line-height: 1;
  transform-origin: center;
}
#north small {
  font-size: 7px;
  position: absolute;
  top: 2px;
  left: 16px;
}
.map-navigation svg {
  width: 16px;
  height: 16px;
}
.map-status {
  position: absolute;
  top: 100px;
  left: 30px;
  border-radius: 5px;
  padding: 7px 10px;
  font-size: 10px;
  background: #0b1727ee;
  box-shadow: var(--shadow);
  color: #728067;
}
.map-status:empty {
  display: none;
}
.map-error {
  position: absolute;
  z-index: 3;
  inset: 0;
  background: #ecf0e7ed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.map-error > span svg {
  height: 50px;
  width: 50px;
  color: #91a18a;
  margin-bottom: 15px;
}
.map-error strong {
  font-size: 17px;
}
.map-error p {
  font-size: 12px;
  line-height: 1.8;
  color: #7a8674;
}
.map-error button {
  background: var(--forest);
  color: #fff;
  padding: 10px 18px;
  font-size: 12px;
  border-radius: 6px;
}
.route-legend {
  position: absolute;
  bottom: 188px;
  left: 27px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fffefbee;
  border-radius: 6px;
  padding: 8px 12px;
  box-shadow: var(--shadow);
  font-size: 9px;
}
.route-legend button {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px;
  border-radius: 3px;
}
.route-legend button[aria-pressed="false"] {
  opacity: 0.4;
}
.line-swatch {
  display: inline-block;
  width: 18px;
  height: 0;
  border-top: 2px solid var(--green);
}
.line-swatch.climb {
  border-color: var(--orange);
}
.line-swatch.dashed {
  border-top: 2px dashed #8e9588;
}
.legend-schematic {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #87917f;
  font-size: 10px;
}
.elevation-card {
  position: absolute;
  bottom: 35px;
  left: 27px;
  right: 27px;
  background: #fffefbf5;
  border: 1px solid #fffefb;
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.elevation-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px 0;
}
.elevation-header > span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 500;
}
.elevation-header svg {
  width: 14px;
  height: 14px;
}
.elevation-header small {
  font-size: 9px;
  color: #8c9487;
  margin-left: auto;
}
.elevation-header button {
  padding: 2px;
}
.elevation-header button svg {
  width: 13px;
  height: 13px;
  transform: rotate(180deg);
}
.elevation-card.collapsed .elevation-header {
  padding-bottom: 15px;
}
.elevation-card.collapsed .elevation-header button svg {
  transform: none;
}
.elevation-card.collapsed #elevation-chart {
  display: none;
}
#elevation-chart {
  height: 100px;
  padding: 0 14px;
  overflow: hidden;
}
#elevation-chart svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.profile-point {
  cursor: pointer;
}
.profile-point circle {
  transition: r 0.15s;
}
.profile-point:hover circle,
.profile-point:focus circle {
  r: 5;
}
.profile-point text {
  font-size: 9px;
  fill: #778370;
}
.profile-point:focus {
  outline: none;
}
.profile-axis {
  font-size: 9px;
  fill: #9ca493;
}
.profile-guide {
  stroke: #e9ece2;
  stroke-dasharray: 3 4;
}
.point-card {
  position: absolute;
  right: 76px;
  top: 100px;
  max-width: 244px;
  background: #0b1727ee;
  border: 1px solid #fffefb;
  border-radius: 9px;
  padding: 16px 34px 15px 17px;
  box-shadow: var(--shadow);
}
.point-card strong {
  font-size: 13px;
}
.point-card .point-height {
  font-size: 11px;
  color: var(--orange);
  margin: 5px 0;
}
.point-card p {
  font-size: 11px;
  line-height: 1.7;
  color: #77816f;
  margin: 8px 0 0;
  word-break: keep-all;
}
.point-card > button {
  position: absolute;
  right: 7px;
  top: 7px;
  padding: 3px;
  border-radius: 3px;
}
.point-card > button svg {
  width: 14px;
  height: 14px;
}
.maplibregl-ctrl-attrib {
  font-size: 9px !important;
  background: #0b1727c9 !important;
}
.maplibregl-ctrl-bottom-left {
  bottom: 5px;
  left: 24px;
}
.maplibregl-ctrl-scale {
  border-color: #617457 !important;
  color: #617457 !important;
  background: #0b17278c !important;
  font-size: 9px !important;
}
.maplibregl-popup-content {
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  box-shadow: var(--shadow);
  border-radius: 6px;
}
.map-marker {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: visible;
}
.map-marker:hover {
  background: transparent;
}
.map-marker .marker-symbol {
  height: 12px;
  width: 12px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 1px 5px #122b3340;
  display: block;
}
.map-marker[data-stage="climb"] .marker-symbol {
  background: var(--orange);
}
.map-marker[data-kind="summit"] .marker-symbol {
  height: 17px;
  width: 17px;
  transform: rotate(45deg);
  border-radius: 3px;
  background: var(--orange);
}
.map-marker[data-kind="base"] .marker-symbol {
  border-radius: 3px;
  width: 14px;
  height: 14px;
  background: #456b52;
}
.marker-label {
  display: none;
  position: absolute;
  left: 20px;
  font-size: 11px;
  white-space: nowrap;
  padding: 1px 5px;
  background: #0b1727e8;
  border-radius: 4px;
  box-shadow: var(--shadow);
}
.map-marker.important .marker-label,
.map-marker:hover .marker-label,
.map-marker.selected .marker-label {
  display: block;
}
.map-marker.selected .marker-symbol {
  outline: 4px solid #fff8;
}
.map-marker.selected .marker-label {
  background: var(--forest);
  color: white;
}
.mobile-info-toggle {
  display: none;
}
dialog {
  border: 1px solid #30465f;
  background: var(--surface);
  color: var(--ink);
  border-radius: 14px;
  box-shadow: 0 20px 100px #02091677;
  padding: 28px;
  max-width: calc(100vw - 30px);
}
dialog::backdrop {
  background: #020916a6;
  backdrop-filter: blur(4px);
}
.catalog-dialog {
  width: 650px;
  max-height: 85dvh;
  overflow: hidden;
}
.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.dialog-head h2 {
  font-size: 27px;
  margin: 6px 0;
  font-weight: 600;
  letter-spacing: -1px;
}
.dialog-head p {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 23px;
}
.icon-button {
  padding: 6px;
  border-radius: 50%;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0e2034;
  border: 1px solid var(--line);
  padding: 12px 13px;
  border-radius: 7px;
}
.search svg {
  width: 16px;
  height: 16px;
  color: #9ab4cf;
}
.search input {
  background: none;
  border: 0;
  outline: none;
  font-size: 12px;
  flex: 1;
  min-width: 0;
  color: var(--ink);
}
.search kbd {
  border: 1px solid #39516c;
  border-radius: 3px;
  color: #a0b5cf;
  font-size: 10px;
  padding: 1px 5px;
}
.catalog-filters {
  display: flex;
  gap: 6px;
  margin: 17px 0 9px;
}
.catalog-filters button {
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 5px;
  color: #a0b5cf;
}
.catalog-filters button.active {
  background: var(--forest);
  color: white;
}
.catalog-filters span {
  font-size: 9px;
  margin-left: 4px;
  opacity: 0.7;
}
.mountain-list {
  max-height: 46dvh;
  overflow: auto;
  scrollbar-width: thin;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 15px;
  padding: 0 4px;
}
.mountain-option {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 12px 6px;
  border-bottom: 1px solid #293e57;
  border-radius: 5px;
}
.mountain-option.current {
  background: #18324c;
}
.mountain-option .list-rank {
  font-size: 10px;
  color: #7994b4;
  min-width: 18px;
}
.mountain-option .list-name {
  font-size: 12px;
  display: block;
  font-weight: 500;
}
.mountain-option .list-english {
  font-size: 9px;
  color: #95acca;
  display: block;
  margin-top: 2px;
}
.mountain-option .list-alt {
  font-size: 12px;
  margin-left: auto;
  white-space: nowrap;
}
.mountain-option .list-alt small {
  font-size: 8px;
  color: #95acca;
}
.catalog-footer {
  font-size: 9px;
  color: #8ea5c0;
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.empty-result {
  grid-column: 1/-1;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  padding: 35px 10px;
}
.about-dialog {
  width: 490px;
  font-size: 12px;
  line-height: 1.9;
}
.about-dialog .dialog-head h2 {
  font-size: 22px;
}
.about-dialog h3 {
  font-size: 12px;
  margin: 22px 0 5px;
}
.about-dialog p {
  color: #abbdd3;
}
.about-dialog a {
  text-underline-offset: 3px;
}
.mountain-info-dialog {
  width: 580px;
  max-height: calc(100dvh - 40px);
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.mountain-info-head {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 22px 24px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.mountain-info-head h2 {
  font-size: 20px;
  margin: 6px 0 3px;
}
.mountain-info-head p {
  margin: 0;
  font-size: 13px;
}
.mountain-info-head .icon-button {
  flex-shrink: 0;
}
.mountain-info-body {
  padding: 20px 24px 24px;
  font-size: 13px;
  line-height: 1.95;
  color: #aebfd3;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.mountain-info-body p {
  margin: 0;
  word-break: keep-all;
}
.mountain-info-photo {
  margin: 0 0 22px;
}
.mountain-info-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}
.mountain-info-body section p + p {
  margin-top: 12px;
}
.mountain-info-intro {
  color: #d3dfed;
  font-size: 13px;
}
.mountain-info-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "height ascent" "country ascent";
  grid-template-rows: min-content 1fr;
  gap: 12px;
  padding: 16px 0;
  margin: 18px 0 24px;
  border-block: 1px solid var(--line);
}
.mountain-info-facts > div:nth-child(1) {
  grid-area: height;
}
.mountain-info-facts > div:nth-child(2) {
  grid-area: country;
}
.mountain-info-facts > div:nth-child(3) {
  grid-area: ascent;
}
.mountain-info-facts dt {
  font-size: 10px;
  color: var(--muted);
}
.mountain-info-facts dd {
  margin: 4px 0 0;
  color: #e0eaf6;
  font-size: 12px;
  font-weight: 500;
}
.first-ascent-names {
  display: block;
  margin-top: 4px;
  color: #aebfd3;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.7;
}
.mountain-info-body section + section,
.mountain-info-context {
  margin-top: 30px;
}
.mountain-info-body h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #e0eaf6;
}
.mountain-info-note {
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 4px;
  background: #132135;
  font-size: 11px;
}
.mountain-info-note strong {
  color: #c5d6e9;
  font-weight: 500;
}
.mountain-info-note p {
  margin-top: 5px;
}
.mountain-info-context {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.mountain-info-sources {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}
.mountain-info-sources summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
.mountain-info-sources summary::-webkit-details-marker {
  display: none;
}
.mountain-info-sources summary .ph-bold {
  font-size: 18px;
  transition: transform 0.15s;
}
.mountain-info-sources[open] summary .ph-bold {
  transform: rotate(180deg);
}
.mountain-info-sources a {
  display: block;
  margin-top: 8px;
  text-underline-offset: 3px;
}
.mountain-info-sources .photo-source p a {
  display: inline;
  margin-top: 0;
}
@media (max-width: 480px) {
  .mountain-info-head {
    padding: 18px 20px 16px;
  }
  .mountain-info-body {
    padding: 18px 20px 22px;
  }
  .mountain-info-facts {
    gap: 8px;
  }
}
.detail-loading {
  font-size: 12px;
  color: var(--muted);
}
@media (min-width: 1600px) {
  :root {
    --sidebar: 380px;
  }
  .mountain-detail {
    padding-left: 32px;
    padding-right: 32px;
  }
  .elevation-card {
    left: 36px;
    right: 36px;
    bottom: 40px;
  }
  .route-legend {
    left: 36px;
    bottom: 194px;
  }
}
@media (max-width: 1100px) {
  :root {
    --sidebar: 305px;
  }
  .app-header {
    padding: 0 20px;
    gap: 15px;
  }
  .collection-label {
    font-size: 8px;
    gap: 7px;
    letter-spacing: 1px;
  }
  .collection-count {
    display: none;
  }
  .private-label {
    padding-left: 12px;
  }
  .mountain-detail {
    padding: 23px 22px;
  }
  .map-navigation {
    right: 20px;
    top: 20px;
  }
  .map-status {
    top: 155px;
    left: 20px;
  }
  .route-legend {
    left: 18px;
    gap: 7px;
    bottom: 178px;
  }
  .elevation-card {
    left: 18px;
    right: 18px;
    bottom: 28px;
  }
  .elevation-header {
    padding: 13px 14px 0;
  }
  .elevation-header small {
    font-size: 8px;
  }
  .point-card {
    top: 147px;
    right: 20px;
    max-width: 215px;
  }
  .marker-label {
    font-size: 9px;
  }
}
@media (max-width: 760px) {
  :root {
    --header: 0px;
    --sidebar: 100%;
  }
  .app-header {
    padding: 0 16px;
    gap: 12px;
  }
  .brand {
    font-size: 19px;
    gap: 9px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .brand small {
    font-size: 7px;
    letter-spacing: 1.6px;
  }
  .collection-label,
  .private-label {
    display: none;
  }
  .header-explore {
    margin-left: auto;
    font-size: 11px;
    padding: 8px;
  }
  .header-explore svg {
    width: 16px;
  }
  .workspace {
    display: block;
    height: calc(100dvh - var(--header));
  }
  .map-panel {
    height: 100%;
    width: 100%;
  }
  .sidebar {
    position: absolute;
    top: auto;
    bottom: 0;
    width: 100%;
    height: min(72dvh, 620px);
    z-index: 10;
    border-radius: 17px 17px 0 0;
    box-shadow: 0 -10px 40px #233b2822;
    transform: translateY(105%);
    transition: transform 0.25s ease;
    overflow: hidden;
    visibility: hidden;
  }
  .sidebar.open {
    transform: translateY(0);
    visibility: visible;
  }
  .mountain-detail {
    padding: 20px 26px 30px;
  }
  .mountain-detail h1 {
    font-size: 30px;
  }
  .summit-height {
    margin: 15px 0 10px;
  }
  .summit-height strong {
    font-size: 42px;
  }
  .mountain-description {
    margin-bottom: 17px;
  }
  .route-summary {
    margin-bottom: 20px;
  }
  .sidebar-footer {
    height: 42px;
  }
  .map-navigation {
    top: 17px;
    right: 16px;
  }
  .route-legend {
    left: 14px;
    bottom: 186px;
    font-size: 8px;
    gap: 8px;
    padding: 6px 8px;
    max-width: calc(100% - 28px);
  }
  .route-legend button {
    font-size: 9px;
    gap: 5px;
  }
  .legend-schematic {
    font-size: 8px;
    gap: 4px;
  }
  .line-swatch {
    width: 13px;
  }
  .elevation-card {
    left: 14px;
    right: 14px;
    bottom: 71px;
    border-radius: 8px;
  }
  .elevation-header {
    padding: 11px 12px 0;
    gap: 5px;
  }
  .elevation-header > span {
    font-size: 10px;
  }
  .elevation-header small {
    font-size: 8px;
  }
  .elevation-header svg {
    width: 12px;
  }
  #elevation-chart {
    height: 77px;
    padding: 0 7px;
  }
  .mobile-info-toggle {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    height: 36px;
    border: 1px solid #fff7;
    border-radius: 18px;
    background: var(--forest);
    color: white;
    padding: 8px 17px;
    box-shadow: 0 3px 10px #193b2522;
    font-size: 11px;
    z-index: 11;
    white-space: nowrap;
  }
  .mobile-info-toggle:hover {
    background: #426b55;
  }
  .mobile-info-toggle svg {
    width: 14px;
    height: 14px;
  }
  .mobile-info-toggle[aria-expanded="true"] {
    position: fixed;
    bottom: 10px;
    left: auto;
    right: 18px;
    transform: none;
    padding: 8px 12px;
  }
  .map-status {
    top: 147px;
    left: 18px;
  }
  .point-card {
    right: 15px;
    top: 147px;
    max-width: 215px;
  }
  .maplibregl-ctrl-bottom-left {
    bottom: 4px;
    left: 14px;
  }
  .maplibregl-ctrl-attrib {
    font-size: 7px !important;
  }
  .catalog-dialog {
    padding: 22px 18px;
    border-radius: 12px;
  }
  .dialog-head h2 {
    font-size: 25px;
  }
  .mountain-list {
    grid-template-columns: 1fr;
    max-height: 47dvh;
    gap: 0;
    padding: 0;
  }
  .mountain-option {
    padding: 12px 8px;
  }
  .mountain-option .list-name {
    font-size: 13px;
  }
  .mountain-option .list-english {
    font-size: 10px;
  }
  .mountain-option .list-alt {
    font-size: 14px;
  }
  .catalog-footer {
    font-size: 8px;
  }
  .about-dialog {
    padding: 22px;
    max-height: 82dvh;
  }
  .profile-point text {
    font-size: 8px;
  }
  .profile-axis {
    font-size: 8px;
  }
  .point-card p {
    font-size: 10px;
  }
  .marker-label {
    font-size: 8px;
    padding: 3px 5px;
  }
  .map-marker.important .marker-label {
    display: none;
  }
  .map-marker[data-kind="summit"] .marker-label,
  .map-marker[data-kind="base"] .marker-label,
  .map-marker.selected .marker-label {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Midnight blue terrain and map controls. */
body {
  height: 100dvh;
  overflow: hidden;
}
.map-panel {
  --ink: #e6eef8;
  --muted: #9bafc7;
  --line: #91b3db26;
  --forest: #43849b;
  --green: #59d7c3;
  --orange: #ffad72;
  --shadow: 0 8px 28px #030b1840;
  background: #0b1828;
  color: var(--ink);
}
.map-panel button:hover {
  background: #223b55;
}
.map-navigation,
.route-legend,
.elevation-card,
.point-card {
  background: #091525ed;
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.map-navigation button {
  width: 40px;
  height: 40px;
}
.map-navigation #north {
  height: 47px;
}
.map-navigation #north small {
  left: 17px;
  color: #92b2d5;
}
.map-navigation #rotate-left,
.map-navigation #rotate-right,
 {
  color: #a8ccf5;
}
.map-status {
  background: #091525ed;
  color: #b7cce5;
}
.map-error {
  background: #091727f2;
}
.map-error > span svg {
  color: #89a8cc;
}
.map-error p {
  color: #afc1d7;
}
.route-legend {
  left: 27px;
  bottom: 35px;
  gap: 10px;
  padding: 7px 10px;
}
.legend-schematic {
  color: #a2b3c9;
}
.line-swatch.dashed {
  border-color: #9aadc6;
}
.elevation-card {
  left: auto;
  right: 27px;
  bottom: 35px;
  width: 300px;
  border-radius: 10px;
}
.elevation-header {
  padding: 11px 13px 0;
  gap: 8px;
}
.elevation-header > span {
  font-size: 10px;
}
.elevation-header button {
  margin-left: auto;
  padding: 4px;
}
.elevation-card.collapsed .elevation-header {
  padding-bottom: 10px;
}
.elevation-distance {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 14px 2px;
  font-size: 9px;
  color: #a9bfd8;
}
.elevation-distance strong {
  font-size: 16px;
  font-weight: 500;
  color: #edf5ff;
}
.elevation-distance small {
  font-size: 8px;
  margin-left: auto;
  color: #8fa7c3;
}
.elevation-card.collapsed .elevation-distance {
  display: none;
}
#elevation-chart {
  height: 84px;
  padding: 0 10px 5px;
}
.profile-point text {
  fill: #b4c8e1;
  font-size: 9px;
}
.profile-axis {
  fill: #89a4c4;
  font-size: 8px;
}
.profile-guide {
  stroke: #8caad229;
}
.point-card p {
  color: #b2c5dd;
}
.point-card .point-height {
  color: var(--orange);
}
.maplibregl-ctrl-attrib {
  background: #081321d9 !important;
  color: #92abc8 !important;
}
.maplibregl-ctrl-attrib a {
  color: #afc5e0 !important;
}
.maplibregl-ctrl-attrib-button {
  filter: invert(0.8);
}
.maplibregl-ctrl-scale {
  color: #b5cce6 !important;
  border-color: #8faac7 !important;
  background: #0b1b2eba !important;
}
.map-marker .marker-symbol {
  border-color: #c8e1ef;
  box-shadow: 0 0 12px #081b3480;
}
.map-marker[data-kind="base"] .marker-symbol {
  background: #59d7c3;
}
.marker-label {
  background: #0a182aeb;
  color: #e4efff;
  border: 1px solid #91b3db26;
}
.map-marker.selected .marker-label {
  background: #245775;
}
.map-marker.selected .marker-symbol {
  outline-color: #a2cbec55;
}
.mobile-info-toggle {
  background: #254c70;
  border-color: #85b3dd55;
}
@media (min-width: 1600px) {
  .elevation-card {
    left: auto;
    right: 36px;
    bottom: 35px;
  }
  .route-legend {
    bottom: 35px;
    left: 36px;
  }
}
@media (max-width: 1100px) {
  .elevation-card {
    left: auto;
    right: 18px;
    bottom: 30px;
    width: 280px;
  }
  .route-legend {
    bottom: 193px;
    left: 18px;
  }
  .point-card {
    right: 74px;
    max-width: 210px;
  }
}
@media (max-width: 760px) {
  .elevation-card {
    left: auto;
    right: 14px;
    bottom: 76px;
    width: 244px;
  }
  .elevation-header {
    padding: 8px 10px 0;
  }
  .elevation-header > span {
    font-size: 9px;
  }
  .elevation-distance {
    padding: 2px 11px;
    font-size: 8px;
  }
  .elevation-distance strong {
    font-size: 14px;
  }
  .elevation-distance small {
    font-size: 7px;
  }
  #elevation-chart {
    height: 72px;
    padding: 0 8px 3px;
  }
  .route-legend {
    bottom: 225px;
    left: 14px;
    gap: 7px;
    padding: 6px 8px;
  }
  .map-navigation button {
    width: 38px;
    height: 38px;
  }
  .map-navigation #north small {
    left: 16px;
  }
  .point-card {
    right: 65px;
    max-width: 210px;
  }
  .mobile-info-toggle:hover {
    background: #37668f;
  }
}

.ph-bold {
  font-size: 19px;
  display: block;
  flex-shrink: 0;
}
.private-label .ph-bold,
.sidebar-footer .ph-bold {
  font-size: 14px;
}
.point-chevron .ph-bold {
  font-size: 15px;
}

.mobile-info-toggle .ph-bold {
  font-size: 17px;
}
.map-navigation .ph-bold {
  font-size: 22px;
}
.compass [data-icon="north"] {
  display: block;
}
.elevation-header .ph-bold,
.point-card .ph-bold {
  font-size: 16px;
}
.elevation-header button .ph-bold {
  transform: rotate(180deg);
}
.elevation-card.collapsed .elevation-header button .ph-bold {
  transform: none;
}
.map-error > .ph-bold,
.map-error > [data-icon] .ph-bold {
  font-size: 48px;
  margin-bottom: 15px;
}
.search > .ph-bold,
.search [data-icon] .ph-bold {
  font-size: 19px;
  color: var(--muted);
}
.map-marker.important .marker-symbol {
  width: 26px;
  height: 26px;
  border: 1px solid #8be1d7;
  background: #183f4a;
  color: #91f1dd;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 8px #06112080;
}
.map-marker.important .marker-symbol .ph-bold {
  font-size: 17px;
}
.map-marker[data-kind="base"] .marker-symbol {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.map-marker[data-kind="summit"] .marker-symbol {
  width: 29px;
  height: 29px;
  transform: none;
  background: #533c32;
  border-color: #ffc296;
  color: #ffc296;
  border-radius: 50%;
}
.map-marker.important .marker-label {
  left: 35px;
}
@media (max-width: 760px) {
  .map-marker.important .marker-symbol {
    width: 24px;
    height: 24px;
  }
  .map-marker.important .marker-symbol .ph-bold {
    font-size: 16px;
  }
  .map-marker.important .marker-label {
    left: 30px;
  }
  .elevation-header .ph-bold {
    font-size: 14px;
  }
}
.map-marker.important {
  z-index: 2;
}
.map-marker.other-summit .marker-symbol {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  border: 1px solid #81a9d6;
  background: #10243b;
  color: #a3caf5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-marker.other-summit .ph-bold {
  font-size: 18px;
}
.map-marker[data-kind="start"] .marker-symbol .ph-bold,
.map-marker[data-kind="base"] .marker-symbol .ph-bold {
  font-family: "Phosphor-Bold" !important;
}
.map-marker[data-kind="summit"] .ph-bold,
.map-marker.other-summit .ph-bold {
}
.map-marker.other-summit .marker-label {
  display: block;
  left: 33px;
  top: 17px;
  font-size: 9px;
  color: #bbd5f3;
  background: #091525e8;
}
.map-marker.other-summit:hover {
  z-index: 3;
}
.map-marker.other-summit:hover .marker-symbol {
  background: #30597e;
  border-color: #d7eaff;
  color: white;
}
.peak-leader {
  position: absolute;
  height: 1px;
  background: #9dbde887;
  transform-origin: left center;
  pointer-events: none;
  z-index: -1;
}
.map-marker[data-kind="summit"] .peak-leader {
  background: #ffc29699;
}

@media (max-width: 760px) {
  .sidebar {
    position: fixed;
  }
  .map-marker.other-summit .marker-symbol {
    width: 23px;
    height: 23px;
  }
  .map-marker.other-summit .ph-bold {
    font-size: 16px;
  }
  .map-marker.other-summit .marker-label {
    left: 28px;
    top: 15px;
    font-size: 8px;
  }
}

/* Full-height explorer and an unselected collection home. */
:root {
  color-scheme: dark;
}
.workspace {
  height: 100dvh;
}
.sidebar {
  background: linear-gradient(165deg, #0d1c2e 0%, #08121f 70%);
  box-shadow: 8px 0 30px #07101c26;
}
.sidebar-top {
  height: 68px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 23px;
  border-bottom: 1px solid var(--line);
}
.sidebar-home {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 9px;
  margin-left: -9px;
  border-radius: 7px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.8px;
}
.sidebar-home > .ph-bold,
.sidebar-home [data-icon] .ph-bold {
  font-size: 22px;
  color: #9cc9f3;
}
.sidebar-home:hover {
  background: #192e46;
}
.sidebar-footer {
  background: #102036;
  color: #8ca5c1;
}
.mountain-detail {
  scrollbar-color: #3a5676 transparent;
}
.summit-height strong {
  color: #f0f5ff;
}

.waypoint:hover {
  background: #152b42;
}
.waypoint .point-dot {
  background: #0b1727;
}
.waypoint[data-kind="base"] .point-dot:after,
.waypoint[data-kind="summit"] .point-dot:after {
  background: #0b1727;
}
.home-intro {
  margin: 3px 0 23px;
}
.home-intro .eyebrow {
  font-size: 8px;
  letter-spacing: 1.9px;
  color: #87a7c9;
}
.home-intro h1 {
  font-size: 34px;
  margin: 12px 0 13px;
}
.home-intro p {
  font-size: 12px;
  line-height: 1.9;
  color: #a3b9d3;
  margin: 0;
  word-break: keep-all;
}
.home-search {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 10px;
  border: 1px solid #243e59;
  border-radius: 7px;
  color: #a6c0df;
  background: #102238;
  font-size: 11px;
  text-align: left;
  margin-bottom: 10px;
}
.home-search .ph-bold {
  font-size: 18px;
}
.home-search kbd {
  margin-left: auto;
  border: 1px solid #3d5876;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 10px;
  color: #7f9aba;
}
.home-collection {
  display: grid;
  gap: 2px;
}
.home-mountain {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid #7394bb18;
}
.home-mountain:hover {
  background: linear-gradient(
    to top,
    rgb(25 46 70 / 30%) 0%,
    rgb(25 46 70 / 0%) 100%
  );
}
.home-rank {
  font-size: 10px;
  color: #6f8daf;
  width: 17px;
  flex-shrink: 0;
}
.home-name {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.home-name strong {
  font-size: 12px;
  font-weight: 500;
  color: #dce8f7;
}
.home-name small {
  font-size: 9px;
  color: #849fbe;
}
.home-alt {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  margin-left: auto;
  color: #b8cfe9;
}
.home-alt small {
  font-size: 8px;
  color: #7893b3;
}
.is-home .mountain-detail {
  padding-top: 29px;
}
.search input::placeholder {
  color: #8fa8c6;
}
.catalog-filters button.active {
  background: #2c567d;
  color: #e3f0ff;
}
.map-error button {
  background: #2c567d;
}
.skip {
  background: #18304b;
}

@media (max-width: 760px) {
  .sidebar-top {
    height: 58px;
    padding: 0 20px;
  }
  .sidebar-home {
    font-size: 17px;
  }
  .sidebar {
    box-shadow: 0 -14px 45px #020b1b80;
    border-top: 1px solid #395777;
  }
  .is-home .mountain-detail {
    padding-top: 22px;
  }
  .home-intro h1 {
    font-size: 30px;
  }
  .home-intro {
    margin-bottom: 18px;
  }
  .home-search {
    margin-bottom: 14px;
  }
  .home-mountain {
    padding: 11px 5px;
  }
}

/* Mountain portraits blend into the sidebar; credits live in the source disclosure. */
.mountain-hero {
  margin: -27px -26px 17px;
}
.mountain-photo {
  height: 266px;
  position: relative;
  overflow: hidden;
  background: #0b1727;
}
.mountain-photo > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.mountain-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #08121f00 26%,
    #08121f22 45%,
    #08121fe0 83%,
    #08121f 100%
  );
  pointer-events: none;
}
.hero-heading {
  position: absolute;
  z-index: 1;
  left: 26px;
  right: 26px;
  bottom: 0;
  text-shadow: 0 2px 12px #0008;
}

.hero-heading h1 {
  margin: 0 0 3px;
  color: #f5f8ff;
  font-size: 34px;
  word-break: keep-all;
}
.hero-heading .english-name {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
}
.hero-heading .local-name {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 1px;
  color: #b1c4dc;
  margin: 0 0 2px;
  text-transform: uppercase;
}
.photo-source {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.photo-source h4 {
  font-size: 10px;
  font-weight: 700;
  color: #c0d0e3;
  margin: 0 0 7px;
}
.photo-source a {
  color: #adc8e5;
  text-underline-offset: 3px;
}
.photo-source p {
  margin: 5px 0 0;
}
.mountain-hero + .summit-height {
  margin-top: 18px;
}
@media (min-width: 1600px) {
  .mountain-hero {
    margin-left: -32px;
    margin-right: -32px;
  }
  .hero-heading {
    left: 32px;
    right: 32px;
  }
  .mountain-photo {
    height: 286px;
  }
}
@media (max-width: 1100px) {
  .mountain-hero {
    margin: -23px -22px 17px;
  }
  .hero-heading {
    left: 22px;
    right: 22px;
  }
  .mountain-photo {
    height: 245px;
  }
}
@media (max-width: 760px) {
  .mountain-hero {
    margin: -20px -26px 16px;
  }
  .hero-heading {
    left: 26px;
    right: 26px;
  }
  .mountain-photo {
    height: 235px;
  }
  .hero-heading h1 {
    font-size: 30px;
  }
}

/* Squares identify landmarks, dots identify intermediate waypoints. */
.map-marker .marker-symbol {
  position: relative;
  width: 8px;
  height: 8px;
  border: 1px solid #d6eef4;
  border-radius: 50%;
  background: #59d7c3;
  box-shadow: 0 1px 5px #020812cc;
  transform: none;
  display: block;
}
.map-marker.important .marker-symbol {
  width: 14px;
  height: 14px;
  border: 1.5px solid #cefff4;
  border-radius: 5px;
  background: #59d7c3;
  color: #59d7c3;
  box-shadow: 0 2px 7px #020812cc;
  transform: none;
}
.map-marker[data-kind="base"] .marker-symbol {
  width: 15px;
  height: 15px;
  background: #b9a0ef;
  border-color: #eee0ff;
  color: #b9a0ef;
}
.map-marker[data-kind="summit"] .marker-symbol,
.map-marker.other-summit .marker-symbol {
  width: 11px;
  height: 11px;
  display: block;
  border: 1.5px solid #ffdbbb;
  border-radius: 3px;
  background: #ffad72;
  color: #ffad72;
  box-shadow:
    0 0 11px #ff9c5366,
    0 2px 8px #020812cc;
  transform: none;
}
.map-marker[data-kind="summit"] .marker-symbol {
  width: 20px;
  height: 20px;
  border: 2px solid #fff1df;
  border-radius: 6px;
  background: #ffbd87;
  box-shadow:
    0 0 12px #ffba7ddd,
    0 0 26px #ff9c5377,
    0 2px 8px #020812cc;
}
.map-marker[data-kind="summit"] .marker-symbol:before,
.map-marker[data-kind="summit"] .marker-symbol:after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 7px solid #ffd3a5;
  border-radius: 9px;
  box-shadow: 0 0 8px #ffad7280;
  opacity: 0;
  animation: summit-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
.map-marker[data-kind="summit"] .marker-symbol:after {
  animation-delay: 1.2s;
}
.map-marker.other-summit:hover .marker-symbol {
  background: #ffc89d;
  border-color: #fff3e3;
  box-shadow: 0 0 20px #ffb574aa;
}
.map-marker.important .marker-label {
  left: 25px;
}
.map-marker.other-summit .marker-label {
  left: 24px;
  top: 10px;
}
.map-marker[data-kind="summit"] .marker-label {
  color: #ffe1c7;
  border-color: #ffbd8040;
  font-weight: 600;
}
.map-marker.selected .marker-symbol {
  outline: 3px solid #ffffff55;
  outline-offset: 3px;
}
.waypoint[data-kind="start"] .point-dot,
.waypoint[data-kind="base"] .point-dot,
.waypoint[data-kind="summit"] .point-dot {
  width: 13px;
  height: 13px;
  margin-left: 1px;
  margin-right: 1px;
  border-radius: 4px;
  transform: none;
  background: #59d7c3;
  border-color: #b5f8eb;
}
.waypoint[data-kind="base"] .point-dot {
  background: #b9a0ef;
  border-color: #eee0ff;
}
.waypoint[data-kind="summit"] .point-dot {
  background: #ffad72;
  border-color: #ffdbbb;
  box-shadow: 0 0 8px #ff9c5340;
}
.waypoint[data-kind="start"] .point-dot:after,
.waypoint[data-kind="base"] .point-dot:after,
.waypoint[data-kind="summit"] .point-dot:after {
  display: none;
}
@keyframes summit-pulse {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  12% {
    opacity: 0.95;
  }
  75%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .map-marker .marker-symbol:before,
  .map-marker .marker-symbol:after {
    animation: none !important;
    opacity: 0;
  }
}
.point-swatch {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffad72;
}
.elevation-distance strong.distance-unknown {
  font-size: 12px;
}

/* Worldwide catalog: persistent search, compact groups, and the same midnight palette. */
.sidebar {
  background: linear-gradient(165deg, #091523, #060e19 75%);
}
.is-home .sidebar {
  background: #08121f;
}
.is-home .mountain-detail {
  padding: 27px 20px 28px;
}
.home-intro {
  margin: 0 4px 24px;
}
.home-intro h1 {
  font-size: 30px;
  margin: 12px 0 11px;
}
.home-title {
  display: inline-block;
  padding: 0;
  font: inherit;
  color: inherit;
  line-height: inherit;
  text-align: left;
  letter-spacing: inherit;
}
.home-title:hover {
  background: none;
}
.home-intro p {
  font-size: 11px;
  color: #8fa6c2;
  line-height: 1.85;
}
.home-explore {
  position: sticky;
  top: -27px;
  z-index: 2;
  background: #08121f;
  padding: 10px 0 14px;
  margin-top: -10px;
  border-bottom: 1px solid #1c3046;
}
.home-search input {
  width: 100%;
  min-width: 0;
  font-size: 11px;
  background: transparent;
  border: 0;
  outline: none;
  color: #e6eef8;
}
.home-search input:focus-visible {
  outline: none;
}
.home-search:focus-within {
  border-color: #8bbde9;
}
.home-search kbd {
  flex-shrink: 0;
}
.scope-chips,
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.scope-chips button,
.catalog-filters button {
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 6px;
  color: #8fa8c6;
  border: 1px solid #21364e;
  background: #0c1929;
}
.scope-chips button:hover,
.catalog-filters button:hover {
  background: #1b3049;
  color: #d7e7fa;
}
.scope-chips button.active,
.catalog-filters button.active {
  background: #233e5a;
  color: #e2efff;
  border-color: #416285;
}
.results-heading {
  display: flex;
  justify-content: space-between;
  padding: 19px 0 5px;
  font-size: 9px;
  color: #6d86a3;
}
.results-heading span:first-child {
  color: #b1c7e0;
  font-size: 10px;
}
.home-collection {
  gap: 16px;
}
.country-group h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #99b1cd;
  font-weight: 500;
  margin: 15px 0 6px;
}
.country-group h2 span {
  font-size: 9px;
  color: #647e9e;
}
.list-photo {
  width: 48px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: #102238;
}
.list-photo.placeholder {
  display: grid;
  place-items: center;
  color: #7c9bbb;
}
.home-name {
  gap: 5px;
}
.home-name strong {
  font-size: 12px;
  font-weight: 500;
}
.home-name small {
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-alt {
  font-size: 11px;
}
.catalog-dialog {
  background: #081321;
}
.catalog-filters {
  margin-bottom: 18px;
}
.mountain-option {
  gap: 12px;
}
.mountain-option .list-english {
  font-size: 9px;
}
.route-end-note {
  margin: -6px 0 16px;
  color: #bdd4ef;
  font-size: 10px;
  line-height: 1.8;
}
.map-marker.label-muted .marker-label,
.map-marker.label-muted .peak-leader {
  visibility: hidden;
}
.map-marker.label-muted:hover .marker-label,
.map-marker.label-muted:focus-visible .marker-label {
  visibility: visible;
}
@media (min-width: 1600px) {
  .is-home .mountain-detail {
    padding-inline: 25px;
  }
}
@media (max-width: 1100px) {
  .is-home .mountain-detail {
    padding-inline: 16px;
  }
  .list-photo {
    width: 42px;
    height: 40px;
  }
  .home-name strong {
    font-size: 11px;
  }
}
@media (max-width: 760px) {
  .is-home .mountain-detail {
    padding: 20px 23px 55px;
  }
  .home-explore {
    top: -20px;
  }
  .home-name strong {
    font-size: 13px;
  }
  .home-name small {
    font-size: 9px;
  }
  .home-intro h1 {
    font-size: 29px;
  }
  .list-photo {
    width: 50px;
    height: 46px;
  }
  .scope-chips button {
    padding: 8px 11px;
  }
  .home-collection {
    gap: 8px;
  }
}
@media (max-width: 760px) {
  .home-intro {
    margin-bottom: 17px;
  }
  .home-intro h1 {
    margin-top: 8px;
  }
  .home-intro p {
    display: none;
  }
}

.profile-empty {
  font-size: 10px;
  color: #8fa7c3;
  text-align: center;
  padding: 16px 0;
}

/* Disclosure controls use the same icon family as the rest of the interface. */
.mountain-detail details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  list-style: none;
  cursor: pointer;
}
.mountain-detail details > summary::marker {
  content: "";
}
.mountain-detail details > summary::-webkit-details-marker {
  display: none;
}
.mountain-detail details > summary > .ph-bold {
  font-size: 17px;
  color: #91a7c1;
  transition: transform 0.18s ease;
}
.mountain-detail details[open] > summary > .ph-bold {
  transform: rotate(180deg);
}
.mountain-detail details > summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 3px;
}

/* One vertical control rail for map viewing and navigation. */
.map-navigation {
  top: 25px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}

.map-navigation button {
  color: #bbd5f3;
}

.map-control-group {
  background: #091525ed;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.map-navigation .view-control {
  height: 44px;
  flex-direction: column;
  gap: 2px;
  font-size: 8px;
  line-height: 1;
}
.map-navigation .view-control .ph-bold {
  font-size: 19px;
}
.map-navigation button.active {
  background: #24435f;
  color: #e0efff;
}
.map-navigation #view-3d {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
@media (max-width: 1100px) {
  .map-navigation {
    top: 20px;
  }
}
@media (max-width: 760px) {
  .map-navigation {
    top: 17px;
  }
  .map-navigation .view-control {
    height: 38px;
  }
  .map-navigation .view-control .ph-bold {
    font-size: 17px;
  }
}

/* Map overlays inherit the site typography. */
.maplibregl-map {
  font-family: var(--font-system);
}

/* Text brand and a map-level return to the collection. */
.sidebar-home {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.4;
}
.brand-name {
  background: linear-gradient(
    110deg,
    #a9dfd4 5%,
    #edddb6 30%,
    #fff7e9 42%,
    #c5b6ea 55%,
    #a9dfd4 80%
  );
  background-size: 230% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: brand-shimmer 8s ease-in-out infinite;
}
@keyframes brand-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.map-home {
  position: absolute;
  top: 25px;
  left: 27px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #91b3db26;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  color: #d4e6fa;
}
.map-home .ph-bold {
  font-size: 22px;
}
.map-status {
  top: 78px;
}

/* Both bottom panels share one baseline at every width. */
.map-bottom-panels {
  position: absolute;
  left: 27px;
  right: 27px;
  bottom: 35px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
  pointer-events: none;
}
.map-bottom-panels > .route-legend,
.map-bottom-panels > .elevation-card {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 0;
  border-radius: 8px;
  pointer-events: auto;
}
.map-bottom-panels > .route-legend {
  flex: 0 1 auto;
  min-width: 0;
  min-height: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 6px 10px;
  line-height: 22px;
}
.route-legend button {
  min-height: 22px;
  padding: 0;
  font-size: 10px;
  line-height: 22px;
  white-space: nowrap;
}
.route-legend .legend-schematic {
  line-height: 22px;
  white-space: nowrap;
}
.map-bottom-panels > .elevation-card {
  flex: 0 1 300px;
  width: 300px;
  min-width: 0;
}
.elevation-card > .elevation-header {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  gap: 10px;
  justify-content: space-between;
  text-align: left;
  line-height: 1.4;
}
.elevation-header > .elevation-title {
  font-size: 10px;
  gap: 7px;
  white-space: nowrap;
}
.elevation-header > .profile-chevron {
  flex-shrink: 0;
}
.profile-chevron .ph-bold {
  transform: rotate(180deg);
  font-size: 16px;
}
.elevation-card.collapsed .profile-chevron .ph-bold {
  transform: none;
}
.map-bottom-panels > .elevation-card.collapsed {
  width: max-content;
  flex: 0 0 auto;
}
.elevation-card.collapsed > .elevation-header {
  height: 34px;
  padding: 0 10px;
  gap: 12px;
}
.map-bottom-panels:has(> .elevation-card.collapsed) {
  align-items: stretch;
}
.map-bottom-panels > .elevation-card.collapsed > .elevation-header {
  height: 100%;
  min-height: 34px;
}
#elevation-chart.is-summary {
  height: auto;
  min-height: 70px;
  padding: 8px 14px 12px;
}
.profile-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 6px 10px;
  font-size: 10px;
  color: #a9bfd8;
}
.profile-summary > span {
  overflow-wrap: anywhere;
}
.profile-summary strong {
  font-size: 16px;
  font-weight: 500;
  color: #e6eef8;
  white-space: nowrap;
}
.profile-summary small {
  font-size: 10px;
  color: #a9bfd8;
  font-weight: 400;
}
.profile-summary p {
  grid-column: 1/-1;
  margin: 0;
  font-size: 9px;
  line-height: 1.7;
  color: #8fa7c3;
  word-break: keep-all;
}
@media (min-width: 1600px) {
  .map-bottom-panels {
    left: 36px;
    right: 36px;
  }
}
@media (max-width: 1100px) {
  .map-home {
    top: 20px;
    left: 18px;
  }
  .map-bottom-panels {
    left: 18px;
    right: 18px;
    bottom: 30px;
    gap: 10px;
  }
  .map-bottom-panels > .elevation-card {
    width: 280px;
    flex-basis: 280px;
  }
}
@media (max-width: 760px) {
  .sidebar-home {
    font-size: 21px;
  }
  .map-home {
    top: 17px;
    left: 14px;
    width: 38px;
    height: 38px;
  }
  .map-status {
    top: 65px;
    left: 14px;
  }
  .map-bottom-panels {
    left: 14px;
    right: 14px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    gap: 10px;
  }
  .map-bottom-panels > .route-legend {
    flex: 0 1 112px;
    padding: 6px 8px;
    gap: 2px;
    align-content: center;
  }
  .route-legend button,
  .route-legend .legend-schematic {
    font-size: 8px;
    line-height: 20px;
    min-height: 20px;
    gap: 5px;
  }
  .map-bottom-panels > .elevation-card {
    width: 244px;
    flex: 1 1 244px;
  }
  .elevation-card > .elevation-header {
    padding: 0 9px;
    gap: 6px;
  }
  .elevation-header > .elevation-title {
    font-size: 9px;
    gap: 5px;
  }
  .elevation-distance {
    flex-wrap: wrap;
    gap: 2px 5px;
  }
  .elevation-distance small {
    margin-left: 0;
    flex-basis: 100%;
  }
  .map-bottom-panels:has(> .elevation-card.collapsed) > .route-legend {
    flex: 1 1 auto;
    gap: 2px 8px;
  }
  #elevation-chart {
    padding-inline: 5px;
  }
  #elevation-chart.is-summary {
    padding: 6px 9px 10px;
  }
  .profile-summary {
    gap: 3px 6px;
    font-size: 9px;
  }
  .profile-summary strong {
    font-size: 14px;
  }
  .profile-summary p {
    font-size: 8px;
  }
  .mobile-info-toggle,
  .mobile-info-toggle[aria-expanded="true"] {
    position: absolute;
    bottom: calc(20px + env(safe-area-inset-bottom));
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    justify-content: center;
    width: 108px;
    height: 36px;
    padding: 0 12px;
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-name {
    animation: none;
  }
}

/* Point descriptions follow the selected marker and dismiss on tap. */
.point-card {
  right: auto;
  bottom: auto;
  z-index: 4;
  padding: 14px 16px;
  cursor: pointer;
}
.mountain-info-photo figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}


@media (max-width: 760px) {
  #rotate-left,
  #rotate-right,
  #zoom-in,
  #zoom-out {
    display: none;
  }
  .elevation-card.collapsed .elevation-label,
  .elevation-card.collapsed .profile-chevron {
    display: none;
  }
  .map-bottom-panels > .elevation-card.collapsed {
    width: 40px;
    height: 40px;
  }
  .elevation-card.collapsed > .elevation-header,
  .map-bottom-panels > .elevation-card.collapsed > .elevation-header {
    width: 38px;
    height: 38px;
    min-height: 38px;
    margin-left: auto;
    padding: 0;
    justify-content: center;
    color: #bbd5f3;
  }
  .elevation-card.collapsed .elevation-title {
    gap: 0;
  }
  .elevation-card.collapsed .elevation-header .ph-bold {
    font-size: 19px;
  }
}

.search input[type="search"]::-webkit-search-cancel-button,
.search input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.search input[type="search"] {
  appearance: none;
}
.search-clear {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-block: -4px;
  padding: 0;
  border-radius: 4px;
  color: #a6c0df;
}
.search-clear:hover {
  background: #233e5a;
  color: var(--ink);
}
.search-clear .ph-bold {
  font-size: 18px;
}

/* Keep label motion out of layout; defaults match the existing marker anchors. */
.map-marker .marker-label,
.map-marker.important .marker-label,
.map-marker.other-summit .marker-label {
  --label-left:20px;
  --label-top:calc(4px - 50%);
  left:0;
  top:0;
  transform:translate(var(--label-left),var(--label-top));
}
.map-marker.important .marker-label { --label-left:25px; --label-top:calc(7px - 50%); }
.map-marker[data-kind="base"] .marker-label { --label-top:calc(7.5px - 50%); }
.map-marker[data-kind="summit"] .marker-label { --label-top:calc(10px - 50%); }
.map-marker.other-summit .marker-label { --label-left:24px; --label-top:10px; }

/* Live cameras: section above the classic route + LIVE tag in mountain lists. */
.live-tag {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 3px;
  border: 1px solid #849fbe73;
  border-radius: 3px;
  color: #849fbe;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.4;
  vertical-align: 2px;
}
/* Match the region/range subtitle color in each list. */
.mountain-option .live-tag {
  border-color: #95acca73;
  color: #95acca;
}
.live-cam {
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
  margin-bottom: 20px;
}
.live-cam-head {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 6px;
}
.live-cam-head .eyebrow {
  font-size: 8px;
  color: #90accb;
  letter-spacing: 1.3px;
}
.live-cam-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #90accb;
  animation: live-cam-pulse 1.6s ease-in-out infinite;
}
@keyframes live-cam-pulse {
  50% { opacity: 0.3; }
}
@media (prefers-reduced-motion: reduce) {
  .live-cam-dot { animation: none; }
}
.live-cam-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 8px;
}
.live-cam-tabs[hidden] {
  display: none;
}
.live-cam-tabs button {
  padding: 3px 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #9fb6d0;
  font-size: 10px;
}
.live-cam-tabs button.active {
  border-color: #90accb;
  color: #90accb;
}
.live-cam-stage {
  margin-top: 8px;
  border-radius: 8px;
  overflow: hidden;
  background: #0d1c2e;
}
.live-cam-stage.is-loading {
  min-height: 120px;
}
.live-cam-frame {
  display: block;
  aspect-ratio: 16 / 9;
  background: #0d1c2e;
}
.live-cam-frame img,
.live-cam-video video,
.live-cam-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.live-cam-panorama {
  height: 170px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}
.live-cam-panorama img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
}
.live-cam-status {
  margin: 0;
  padding: 10px;
  text-align: center;
  font-size: 11px;
  line-height: 1.3;
  color: var(--muted);
}
.live-cam-status a,
.live-cam-credit a {
  color: var(--forest);
}
.live-cam-credit {
  margin: 6px 0 0;
  font-size: 9px;
  line-height: 1.5;
  color: #7f9aba;
}
.live-cam-credit:empty {
  display: none;
}
