:root {
  --paper: #f5f0e4;
  --paper-2: #ebe3d1;
  --ink: #1d2a30;
  --ink-2: #55636a;
  --lake: #143a4f;
  --lake-2: #1f5673;
  --copper: #b4552b;
  --gold: #c9a24b;
  --line: rgba(29, 42, 48, 0.14);
  --shadow: 0 6px 24px rgba(10, 25, 35, 0.22);
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --sheet-h: 214px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14212a;
    --paper-2: #1b2c37;
    --ink: #f1ead9;
    --ink-2: #a9b6bb;
    --lake: #0d2836;
    --lake-2: #7fc0e0;
    --copper: #e58a5c;
    --line: rgba(241, 234, 217, 0.16);
    --shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  }
  .leaflet-tile-pane {
    filter: invert(1) hue-rotate(190deg) brightness(0.85) contrast(0.9) saturate(0.6);
  }
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overscroll-behavior: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
button svg,
.nav-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
button svg .fill {
  fill: currentColor;
}
button svg .thick {
  stroke-width: 3.4;
}
button svg .ring {
  opacity: 0.45;
}
button svg text {
  font: 700 7.5px var(--sans);
  fill: currentColor;
  stroke: none;
  text-anchor: middle;
}

/* ---------- map ---------- */
#map {
  position: fixed;
  inset: 0 0 calc(var(--sheet-h) + var(--safe-b) - 18px) 0;
  background: var(--paper-2);
  z-index: 0;
}
.leaflet-container {
  font-family: var(--sans);
  background: var(--paper-2);
}
.leaflet-control-attribution {
  font-size: 9px;
  opacity: 0.75;
}
.pin {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: var(--lake);
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  font: 700 12px var(--sans);
  transition: background 0.25s, transform 0.25s;
}
.pin span {
  transform: rotate(45deg);
}
.pin.heard {
  background: #8a979c;
}
.pin.target {
  background: var(--copper);
  transform: rotate(-45deg) scale(1.25);
  z-index: 5;
}
.pin.playing {
  background: var(--copper);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(180, 85, 43, 0.55);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(180, 85, 43, 0);
  }
}
.me-wrap {
  position: relative;
  width: 18px;
  height: 18px;
}
/* the way the phone is facing: a soft wedge fanning out from the dot */
.me-cone {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  margin: -46px 0 0 -26px;
  border-left: 26px solid transparent;
  border-right: 26px solid transparent;
  border-top: 46px solid rgba(42, 125, 225, 0.32);
  border-radius: 50%;
  transform-origin: 26px 46px;
  pointer-events: none;
}
.me {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2a7de1;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(42, 125, 225, 0.35), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.map-buttons {
  position: fixed;
  right: 12px;
  top: calc(var(--safe-t) + 12px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 500;
}
.fab {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}
.fab.on {
  color: #2a7de1;
}

/* ---------- nav pill ---------- */
.nav {
  position: fixed;
  left: 12px;
  right: 68px;
  top: calc(var(--safe-t) + 12px);
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 10px;
  border-radius: 16px;
  background: var(--lake);
  color: #fff;
  box-shadow: var(--shadow);
  max-width: 520px;
}
.nav-icon {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
}
.nav-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.6;
}
.nav-text {
  min-width: 0;
  flex: 1;
}
.nav-main {
  font-weight: 650;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-sub {
  font-size: 12px;
  opacity: 0.78;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-dist {
  font: 700 15px var(--sans);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.nav.flash {
  animation: flash 0.9s 2;
}
@keyframes flash {
  50% {
    background: var(--copper);
  }
}

.nearby,
.toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--sheet-h) + var(--safe-b) + 6px);
  z-index: 600;
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nearby {
  background: var(--copper);
  color: #fff;
}
.toast {
  white-space: normal;
  border-radius: 14px;
  text-align: center;
  font-weight: 500;
}

/* ---------- sheet ---------- */
.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--sheet-h) + var(--safe-b));
  z-index: 700;
  background: var(--paper);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -6px 28px rgba(10, 25, 35, 0.22);
  padding: 0 18px var(--safe-b);
  display: flex;
  flex-direction: column;
  transition: height 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-width: 640px;
  margin: 0 auto;
}
.sheet.open {
  height: calc(100% - var(--safe-t) - 28px);
}
.sheet-handle {
  width: 100%;
  height: 22px;
  flex: none;
  display: grid;
  place-items: center;
}
.sheet-handle span {
  width: 40px;
  height: 5px;
  border-radius: 3px;
  background: var(--line);
}
.now {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  cursor: pointer;
}
.badge {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--lake);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 18px var(--serif);
}
.badge.walk {
  background: var(--copper);
}
.now-text {
  min-width: 0;
  flex: 1;
}
.status {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.title {
  font: 600 19px/1.2 var(--serif);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chip {
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--copper);
  white-space: nowrap;
}
.chip.speed {
  padding: 2px 10px;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.times {
  align-items: center;
}
.linked {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(201, 162, 75, 0.16);
  border: 1px solid rgba(201, 162, 75, 0.5);
}
.linked span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.linked b {
  font: 600 20px var(--serif);
}
.outline {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 13px 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(245, 240, 228, 0.35);
  color: #f5f0e4;
  font-weight: 600;
  font-size: 15px;
}
.ghost.dark {
  color: var(--ink-2);
  text-decoration: none;
  margin-top: 6px;
}
.group-pill {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: calc(var(--safe-t) + 12px);
  z-index: 480;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--copper);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.nav:not([hidden]) ~ .group-pill {
  top: calc(var(--safe-t) + 76px);
  left: auto;
  right: 68px;
  transform: none;
}
body.in-group #btnSpeed {
  visibility: hidden;
}
.lede {
  font-size: 15.5px;
  line-height: 1.5;
  margin: 0 0 14px;
}
.steps {
  margin: 0 0 16px;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}
.qr {
  width: min(62vw, 240px);
  margin: 0 auto 10px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
}
.qr svg {
  display: block;
  width: 100%;
  height: auto;
}
.group-code {
  text-align: center;
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.group-code b {
  font: 700 22px var(--sans);
  letter-spacing: 0.18em;
  color: var(--ink);
}
.linkish {
  font-weight: 700;
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.share-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--paper-2);
}
.share-preview img,
.share-mark {
  flex: none;
  width: 76px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--lake);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 24px;
}
.share-preview div:last-child {
  min-width: 0;
}
.share-preview b {
  display: block;
  font: 600 16px var(--serif);
}
.share-preview span {
  display: block;
  font-size: 12px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.share-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 2px;
}
.share-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 11px 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.share-app svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--lake-2);
}
#shareScopes button {
  flex: 1;
  padding: 8px 4px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
#shareScopes button.on {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.tour-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 4px 0 12px;
}
.tour-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 11px 13px;
  border-radius: 14px;
  border: 1.5px solid rgba(245, 240, 228, 0.22);
  color: #f5f0e4;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.tour-card.on {
  border-color: var(--gold);
  background: rgba(201, 162, 75, 0.14);
}
.tour-time {
  font: 600 20px var(--serif);
}
.tour-name {
  font-size: 13.5px;
  font-weight: 600;
}
.tour-meta {
  font-size: 11.5px;
  opacity: 0.7;
}
.stop-list li.divider {
  cursor: default;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-top: 18px;
}
.stop-list li.bonus .num {
  background: transparent;
  color: var(--ink-2);
  border: 1.5px dashed var(--line);
}
.scene {
  margin: 0 0 1em;
  padding: 12px 14px 2px;
  border-radius: 12px;
  background: var(--paper-2);
}
.scene-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 8px;
}
.story .scene p {
  font-size: 15.5px;
  line-height: 1.5;
  margin-bottom: 0.7em;
}
.story .scene p.aside {
  font-style: italic;
  color: var(--ink-2);
}
.story .scene p:first-child::first-letter,
.story .scene p::first-letter {
  font-size: inherit;
  float: none;
  padding: 0;
  color: inherit;
}
.hint a {
  color: var(--copper);
}
.progress {
  flex: none;
  height: 22px;
  margin-top: 8px;
  position: relative;
  cursor: pointer;
  touch-action: none;
}
.progress::before,
.progress-fill {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  height: 4px;
  border-radius: 2px;
}
.progress::before {
  right: 0;
  background: var(--line);
}
.progress-fill {
  width: 0;
  background: var(--copper);
}
.times {
  flex: none;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  margin-top: -3px;
}
.controls {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 8px;
}
.controls button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.controls button:active {
  background: var(--line);
}
.controls svg {
  width: 26px;
  height: 26px;
}
.controls .play {
  width: 60px;
  height: 60px;
  background: var(--lake);
  color: #fff;
  box-shadow: 0 4px 14px rgba(20, 58, 79, 0.4);
}
@media (prefers-color-scheme: dark) {
  .controls .play,
  .badge {
    background: var(--lake-2);
    color: #0d2836;
  }
  .badge.walk {
    background: var(--copper);
  }
}
.controls .play svg {
  width: 28px;
  height: 28px;
}
.sheet-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--line);
  padding: 12px 2px 32px;
  opacity: 0;
  transition: opacity 0.2s;
}
.sheet.open .sheet-body {
  opacity: 1;
}
.tabs {
  display: flex;
  gap: 6px;
  background: var(--paper-2);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.tab {
  flex: 1;
  padding: 8px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.tab.on {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.facts span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.peek {
  position: fixed;
  left: 12px;
  top: calc(var(--safe-t) + 76px);
  z-index: 500;
  width: 132px;
  padding: 4px 4px 6px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}
.peek img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  background: var(--paper-2);
}
.peek span {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1800;
  background: rgba(8, 20, 28, 0.88);
  display: grid;
  place-items: center;
  padding: 16px;
}
.lightbox figure {
  margin: 0;
  max-width: 720px;
  width: 100%;
}
.lightbox img {
  display: block;
  width: 100%;
  border-radius: 14px;
}
.lightbox figcaption {
  color: #f5f0e4;
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.45;
}
.lightbox b {
  display: block;
  font: 600 19px var(--serif);
}
.lightbox small {
  display: block;
  margin-top: 6px;
  opacity: 0.65;
}
.diagnostics {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--paper-2);
  font: 12px/1.5 var(--sans);
  color: var(--ink-2);
  white-space: pre-wrap;
}
@media (min-width: 900px) {
  .peek {
    left: 452px;
  }
}
.photo {
  margin: 0 0 14px;
}
.photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  background: var(--paper-2);
}
.photo figcaption {
  font-size: 11.5px;
  color: var(--ink-2);
  margin-top: 5px;
}
.nav-icon svg {
  transition: transform 0.2s;
}
.look {
  font-size: 14px;
  line-height: 1.45;
  padding: 10px 12px;
  border-left: 3px solid var(--gold);
  background: var(--paper-2);
  border-radius: 0 10px 10px 0;
  margin-bottom: 14px;
}
.look b {
  color: var(--copper);
}
.story p {
  font: 17px/1.6 var(--serif);
  margin: 0 0 1em;
}
.story p:first-child::first-letter {
  font-size: 3em;
  float: left;
  line-height: 0.85;
  padding: 5px 6px 0 0;
  color: var(--copper);
}
.stop-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.stop-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.stop-list .num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lake);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 13px var(--sans);
}
.stop-list li.heard .num {
  background: #8a979c;
}
.stop-list li.current .num {
  background: var(--copper);
}
.stop-list .t {
  font: 600 16px var(--serif);
}
.stop-list .s {
  font-size: 12.5px;
  color: var(--ink-2);
}
.stop-list .d {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---------- welcome ---------- */
.welcome {
  position: fixed;
  inset: 0;
  z-index: 2000;
  overflow-y: auto;
  background: radial-gradient(120% 80% at 50% 0%, #25607f 0%, #143a4f 45%, #0b2230 100%);
  color: #f5f0e4;
  display: flex;
  justify-content: center;
  padding: calc(var(--safe-t) + 28px) 24px calc(var(--safe-b) + 28px);
  transition: opacity 0.4s, visibility 0.4s;
}
.welcome.gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.welcome-card {
  width: 100%;
  max-width: 420px;
  text-align: center;
  margin: auto 0;
}
.tower {
  width: 54px;
  height: 100px;
  fill: var(--gold);
  stroke: none;
}
.tower .cut {
  fill: #143a4f;
}
.eyebrow {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold);
  margin: 14px 0 4px;
}
.welcome h1 {
  font: 600 46px/1 var(--serif);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.sub {
  font: italic 17px/1.45 var(--serif);
  opacity: 0.92;
  margin: 0 0 14px;
}
.meta {
  font-size: 13px;
  opacity: 0.75;
  margin: 0 0 22px;
}
.primary,
.ghost,
.secondary {
  display: block;
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
}
.primary {
  background: var(--gold);
  color: #1d2a30;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.ghost {
  margin-top: 10px;
  color: #f5f0e4;
  font-weight: 500;
  font-size: 14.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.85;
}
.tips {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  text-align: left;
  font-size: 13.5px;
  line-height: 1.45;
  opacity: 0.88;
}
.tips li {
  padding: 9px 0;
  border-top: 1px solid rgba(245, 240, 228, 0.16);
}
.tips b {
  color: var(--gold);
}

/* ---------- settings ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2100; /* above the welcome screen, which can open these */
  background: rgba(8, 20, 28, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.modal-card {
  width: 100%;
  max-width: 520px;
  max-height: 92%;
  overflow-y: auto;
  background: var(--paper);
  border-radius: 20px 20px 0 0;
  padding: 20px 20px calc(var(--safe-b) + 20px);
}
.modal-card h2 {
  font: 600 24px var(--serif);
  margin: 0 0 8px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.row select {
  font: inherit;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  max-width: 55%;
}
.row input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: var(--copper);
}
.secondary {
  margin-top: 12px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
  padding: 12px;
}
.secondary.danger {
  color: var(--copper);
}
.hint {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 10px 0 14px;
}

@media (min-width: 900px) {
  :root {
    --sheet-h: 214px;
  }
  .sheet {
    left: 16px;
    right: auto;
    width: 420px;
    bottom: 16px;
    border-radius: 20px;
    margin: 0;
  }
  .sheet.open {
    height: calc(100% - 32px);
  }
  #map {
    inset: 0;
  }
  .nav {
    left: 452px;
  }
  .nearby,
  .toast {
    bottom: 24px;
    left: calc(50% + 218px);
  }
}
