.poi-header {
  position: relative;
  width: 100%;
  height: calc(var(--poi-width) * 456 / 390);
  overflow: hidden;
  background: #756d65;
}

.poi-header-art {
  display: block;
  width: 100%;
  height: 100%;
}

.poi-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: calc(var(--poi-width) * 178 / 390);
  background: #81766b;
}

.poi-header-details {
  position: absolute;
  top: calc(var(--poi-width) * 278 / 390);
  left: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: calc(var(--poi-width) * 183 / 390);
}

.poi-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  height: calc(var(--poi-width) * 91 / 390);
  pointer-events: none;
}

.poi-nav-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.poi-nav-expanded {
  opacity: calc(1 - var(--poi-collapse, 0));
}

.poi-nav-collapsed {
  opacity: var(--poi-collapse, 0);
}

.poi-nav-hit {
  position: absolute;
  top: calc(var(--poi-width) * 47 / 390);
  width: calc(var(--poi-width) * 44 / 390);
  height: calc(var(--poi-width) * 44 / 390);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.poi-nav-hit:focus-visible {
  outline: 2px solid #fe2c55;
  outline-offset: -3px;
}

.poi-nav-hit:active {
  background: rgb(128 128 128 / 18%);
}

.poi-back { left: calc(var(--poi-width) * 4 / 390); }
.poi-save { left: calc(var(--poi-width) * 254 / 390); }
.poi-share { left: calc(var(--poi-width) * 298 / 390); }
.poi-more { left: calc(var(--poi-width) * 342 / 390); }

.poi-save[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fe2c55;
}

.poi-feedback {
  position: absolute;
  z-index: 45;
  top: calc(var(--poi-width) * 103 / 390);
  left: 50%;
  max-width: calc(100% - 32px);
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  background: rgb(0 0 0 / 80%);
  font: 14px/20px -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.poi-feedback:empty { display: none; }
