.orbit .orbit-venue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.4rem;
  margin-top: .9rem;
}

.orbit .orbit-venue-actions .poetry-action { margin-top: 0; }
.orbit .orbit-venue-actions button { background: transparent; text-align: start; }
.orbit #orbit-address-status:not(:empty), .orbit .orbit-address-fallback { margin-top: .65rem; }
.orbit .orbit-address-fallback:not([hidden]) { display: block; }
.orbit .orbit-address-fallback input {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: .25rem;
  padding-inline: .65rem;
  font: inherit;
}

@media (max-width: 600px) {
  .orbit .orbit-venue-actions { justify-content: center; }
}

.orbit .orbit-details .orbit-map-shell.orbit-map-panel {
  display: grid;
  height: auto;
  max-width: 34rem;
  margin-inline: auto;
  color: #253653;
  background: #f4ede0;
}

.orbit-map-preview { position: relative; }

.orbit-map-preview > svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: system-ui, sans-serif;
  stroke: none;
}

.orbit-map-zoom {
  position: absolute;
  top: .5rem;
  right: .5rem;
  min-width: 44px;
  min-height: 44px;
  padding: .3rem .65rem;
  border: 1px solid #ac9f8d;
  border-radius: .3rem;
  background: #fffcf4;
  color: #253653;
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.orbit-map-zoom span[aria-hidden] {
  padding-inline-end: .2rem;
  font-size: 1.1rem;
}

.orbit-map-street, .orbit-map-place {
  fill: #253653;
  stroke: #f4ede0;
  stroke-width: 4px;
  stroke-linejoin: round;
  paint-order: stroke fill;
}

.orbit-map-place { font-weight: 700; }

.orbit-map-links {
  display: grid;
  justify-items: start;
  padding: .25rem 1rem;
  border-top: 1px solid #d4c8b4;
}

.orbit-map-directions, .orbit-map-credit, .orbit-live-map summary {
  color: inherit;
  min-height: 44px;
}

.orbit-map-directions, .orbit-map-credit {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.orbit-map-directions { font-weight: 700; }
.orbit-map-credit { color: #514a41; font-size: .75rem; }

.orbit-map-directions svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.orbit-live-map {
  min-width: 0;
  border-top: 1px solid #d4c8b4;
}

.orbit-live-map summary {
  padding: .65rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.orbit-live-help {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 1rem;
  border-block-start: 1px solid #d4c8b4;
  color: inherit;
  font-size: .875rem;
}

.orbit-map-panel :is(a, button, summary):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

.orbit-live-frame {
  position: relative;
  height: clamp(300px, 42vw, 460px);
  overflow: hidden;
  background: #eee7da;
}

/* The map stays inert to wheel and touch scrolling until the guest activates it. */
.orbit-live-frame:not(.is-interactive) .orbit-map { pointer-events: none; }

.orbit-map-shield {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: flex-end;
  /* Bottom-left stays clear of the venue pin and the 2GIS logo. */
  justify-content: flex-start;
  min-height: 44px;
  padding: 0 .75rem .75rem;
  border: 0;
  background: transparent;
  color: #fffaf1;
  font: inherit;
  cursor: pointer;
}

.orbit-map-shield span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: .55rem 1rem;
  border-radius: 100px;
  background: #253653e6;
  box-shadow: 0 4px 14px #25365347;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: background-color .2s ease;
}

.orbit-map-shield:focus-visible { outline: 2px solid #253653; outline-offset: -4px; }
.orbit-map-shield:focus-visible span { outline: 2px solid #fffaf1; outline-offset: 2px; }

@media (hover: hover) {
  .orbit-map-shield:hover span { background: #1a2740; }
}

.orbit .orbit-map {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  transform-origin: top left;
}

@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .orbit .orbit-details .orbit-map-shell.orbit-map-panel:has(.orbit-live-map[open]) {
    grid-template-columns: minmax(15rem, 29%) minmax(0, 1fr);
    align-items: stretch;
    max-width: none;
  }

  .orbit-live-map[open] {
    border-top: 0;
    border-left: 1px solid #d4c8b4;
  }
}
