html {scrollbar-width:thin}
body,.sample-device {background:var(--background);color:var(--foreground)}
.sample-stage {min-height:100dvh}
.photo-credits {font-size:.75rem;text-align:center;padding:.65rem 1rem 1rem;color:var(--stone)}
.photo-credits a,dialog a {text-decoration:underline}
dialog {margin:auto;border:1px solid var(--stone);border-radius:1rem;padding:1rem;background:var(--background);color:var(--ivory);max-width:92%}
dialog[open] {display:grid;gap:.75rem}
dialog::backdrop {background:#0009}
dialog button {justify-self:start;cursor:pointer}
html {scrollbar-width:none}
html::-webkit-scrollbar {display:none}

.stop-description--short {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.description-toggle {
  align-self: flex-start;
  margin-block-start: -.45rem;
  padding-block: .2rem;
  color: inherit;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.description-toggle[hidden] { display: none; }

.demo-map-note {
  bottom: 24px;
  min-height: calc(2 * 3rem + .5rem);
  box-sizing: border-box;
  display: grid;
  align-content: center;
  left: .85rem;
  right: 4.25rem;
  margin: 0;
  line-height: 1.45;
  text-wrap: pretty;
}
