/* A folded print between the masthead and the time mechanism. */
body.camp-page {
  overflow: hidden;
}
.camp-page > .site-header,
.camp-page main > :not(#camp-map),
.camp-page > footer {
  display: none;
}
#camp-map {
  display: none;
}
.camp-page #camp-map {
  --map-ink: #293735;
  --map-paper: #f4f0e5;
  --rail: clamp(275px, 23vw, 352px);
  color-scheme: light;
  background: var(--map-paper);
  color: var(--map-ink);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
#camp-map [hidden] {
  display: none !important;
}
.cm-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.cm-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.cm-mast {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2.2vw, 40px);
  padding: clamp(9px, 1.35vh, 18px) clamp(16px, 2.2vw, 42px);
  border-bottom: 1px solid #747d6d;
  color: #273932;
  background: #f6f2e8;
}
.cm-mast-name {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.3vw, 22px);
}
.cm-mast-name > .cm-icon {
  width: clamp(29px, 2.8vw, 48px);
  height: clamp(29px, 2.8vw, 48px);
  stroke: currentColor;
  stroke-width: 0.9;
}
.cm-mast h1 {
  font: 500 clamp(1.8rem, 2.5vw, 2.65rem) / 1 Georgia, serif;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.cm-mast h1:focus {
  outline: none;
}
.cm-imprint {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 1px 0 1px clamp(16px, 2.1vw, 39px);
  border-left: 1px solid #c5c3b5;
}
.cm-imprint b {
  font: 500 0.79rem/1.12 var(--mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #854731;
}
.cm-imprint span {
  font: 500 0.8rem/1.25 var(--body);
  color: #4f584e;
}
.cm-imprint i {
  padding: 0 0.15em;
  font-style: normal;
}
.cm-home {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 0 4px 5px;
  font: 600 0.88rem var(--body);
  color: #33463e;
}
.cm-home:hover {
  color: #934930;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cm-home img {
  width: 25px;
  height: 25px;
}
.cm-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--rail);
  position: relative;
  min-height: 0;
  min-width: 0;
  isolation: isolate;
}
.cm-field-row:has(.field-program[data-open='false']) {
  grid-template-columns: minmax(0, 1fr) 54px;
}
.cm-atlas {
  min-width: 0;
  min-height: 0;
  position: relative;
  background: #d6d4c6;
}
.cm-viewport {
  position: absolute;
  inset: 0;
  overflow: auto;
  scrollbar-width: none;
  overscroll-behavior: contain;
  touch-action: none;
  background: #d6d4c6;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.cm-viewport::-webkit-scrollbar {
  display: none;
}
.cm-viewport.is-panning {
  cursor: grabbing;
}
.cm-viewport:focus-visible {
  outline: 3px solid #b16a32;
  outline-offset: -3px;
}
.cm-paper {
  box-sizing: content-box;
  width: max(calc(100% - var(--sheet-right, 0px)), var(--map-w, 100%));
  height: max(calc(100% - var(--sheet-bottom, 0px)), var(--map-h, 100%));
  padding-right: var(--sheet-right, 0px);
  padding-bottom: var(--sheet-bottom, 0px);
  display: grid;
  place-items: center;
}
.cm-plane {
  position: relative;
  isolation: isolate;
  width: var(--map-w, 100%);
  height: var(--map-h, 100%);
  background: #c4bf98;
  box-shadow: 0 0 0 1px #797c6a80, 0 2px 7px #38403822;
}
.cm-plane::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.22;
  background:
    linear-gradient(
      90deg,
      transparent 32.9%,
      #624c3e27 33.27%,
      #ffedc84d 33.42%,
      transparent 33.9%,
      transparent 66.2%,
      #f8e9bd44 66.5%,
      #72573130 66.67%,
      transparent 67.2%
    ),
    linear-gradient(0deg, transparent 48.8%, #ffe7bd42 49.17%, #624c3e22 49.36%, transparent 50.2%);
}
.cm-illustration {
  display: block;
  width: 100%;
  height: 100%;
}
.cm-marker,
.cm-amenity-pin {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transform: translate(-50%, -4%);
  max-width: unset;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.18s,
    color 0.18s;
  touch-action: manipulation;
  padding: 3px 6px;
  border: 1px solid #837c61;
  border-radius: 2px;
  color: #25362d;
  background: #f7f1dc;
  box-shadow: 0 1px 1px #534d382e;
  font: 600 clamp(0.8rem, 0.97vw, 1rem) / 1.16 var(--body);
  letter-spacing: -0.023em;
}
.cm-marker .cm-legend-symbol, .cm-amenity-pin .cm-legend-symbol {
  width: 1.17em;
  height: 1.17em;
  flex: none;
}
.cm-marker::before, .cm-amenity-pin::before {
  content: '';
  position: absolute;
  inset: -5px -2px;
}
.cm-marker i, .cm-amenity-pin i { display: none; }
.cm-marker.is-live i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a53e2b;
}
.cm-trail-pin {
  background: #f3efdb;
  font: italic 600 clamp(0.86rem, 1.08vw, 1.09rem) / 1.12 Georgia, serif;
  border-color: #87937a;
}
.cm-marker:is(:hover, :focus-visible), .cm-amenity-pin:is(:hover, :focus-visible) {
  background: #fffaf0;
  border-color: #484f44;
}
.cm-marker[aria-pressed='true'], .cm-amenity-pin[aria-pressed='true'] {
  border-color: #914631;
  background: #fff5d8;
  outline: 1px solid #914631;
  z-index: 4;
}
.cm-marker:focus-visible, .cm-amenity-pin:focus-visible, .cm-zoom button:focus-visible {
  outline: 2px solid #843c2d;
  outline-offset: 2px;
}
.cm-overview :is(.cm-marker, .cm-amenity-pin) span { display: none; }
.cm-overview :is(.cm-marker, .cm-amenity-pin) {
  transform: translate(-50%, -20%);
  padding: 2px;
  border-radius: 3px;
}
.cm-overview .cm-marker.is-live i { position: absolute; right: -2px; top: -2px; }
.cm-amenities {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.cm-amenity-pin {
  pointer-events: auto;
  transform: translate(-50%, -100%);
  color: #344b44;
  background: #edf1df;
  border-color: #7d927f;
  font-size: clamp(0.76rem, 0.87vw, 0.92rem);
}
.cm-zoom {
  position: absolute;
  z-index: 4;
  bottom: clamp(10px, 1.35vw, 22px);
  left: clamp(9px, 1.4vw, 22px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f7f4e9;
  color: #293931;
  border: 1px solid #707768;
  border-radius: 3px;
  box-shadow: 0 1px 2px #38452e30;
}
.cm-magnification {
  font: 400 0.75rem var(--mono);
  font-variant-numeric: tabular-nums;
  min-width: 4ch;
  text-align: center;
}
.cm-zoom button:enabled:hover { background: #e9e7d7; }
.cm-zoom button {
  background: transparent;
  color: inherit;
  border: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 35px;
  font: 500 1.13rem/1 var(--body);
}
.cm-zoom button + button {
  border-left: 1px solid #bfb79b;
}
.cm-zoom .cm-icon {
  width: 13px;
  height: 13px;
}
.cm-zoom button[data-map-zoom='0'] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: auto;
  padding-inline: 9px;
  font: 650 0.78rem var(--body);
}
.cm-zoom button:disabled {
  opacity: 0.4;
  cursor: default;
}
.cm-zoom button:focus-visible {
  outline-offset: -3px;
}
.cm-clock-mount {
  min-width: 0;
  z-index: 6;
}
.guide-map-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 19px;
  font: 650 0.94rem var(--body);
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 800px), (max-height: 560px), (max-width: 1100px) and (orientation: portrait) {
  .cm-field-row,
  .cm-field-row:has(.field-program[data-open='false']) {
    display: block;
  }
  .cm-atlas {
    position: absolute;
    inset: 0;
  }
}
@media (max-width: 620px) {
  .cm-mast {
    display: grid;
    grid-template-columns: auto 1fr;
    padding: 7px 13px;
    gap: 3px 12px;
    min-height: 51px;
  }
  .cm-mast-name {
    gap: 7px;
    grid-column: 1;
    grid-row: 1;
  }
  .cm-mast-name > .cm-icon {
    width: 25px;
    height: 25px;
  }
  .cm-mast h1 {
    font-size: 1.8rem;
  }
  .cm-imprint {
    grid-column: 1;
    grid-row: 2;
    padding: 0;
    border: 0;
    flex-direction: row;
    align-items: center;
    gap: 5px;
  }
  .cm-imprint b {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }
  .cm-imprint b::after {
    content: ' ·';
  }
  .cm-imprint span {
    font-size: 0.68rem;
  }
  .cm-imprint i,
  .cm-imprint .cm-meta-date {
    display: none;
  }
  .cm-home {
    grid-row: 1/3;
    grid-column: 2;
    font-size: 0.8rem;
    gap: 5px;
    white-space: nowrap;
  }
  .cm-home img {
    width: 19px;
    height: 19px;
  }
  .cm-marker {
    font-size: 0.86rem;
  }

  .cm-field-row:has(.field-program[data-open='true']) .cm-zoom { top: 10px; right: 10px; bottom: auto; left: auto; }
}
@media (max-width: 420px) {
  .cm-home img {
    display: none;
  }
  .cm-zoom button {
    width: 31px;
  }
}
@media (max-width: 350px) {
  .cm-mast-name > .cm-icon {
    display: none;
  }
  .cm-imprint {
    padding-left: 0;
  }
}
@media (max-height: 470px) {
  .cm-mast {
    padding-block: 4px;
    min-height: 38px;
  }
  .cm-mast h1 {
    font-size: 1.55rem;
  }
  .cm-mast-name > .cm-icon {
    width: 26px;
    height: 26px;
  }
  .cm-imprint {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
}
