.game[data-screen="report"] .stage {
  display: grid;
  align-items: center;
}

.game[data-screen="report"] .stage > :is(.scene-caption, .character-shadow, .actor, .stage-badge) {
  display: none;
}

.game[data-screen="report"] #landmarks {
  position: relative;
  width: 100%;
  z-index: 2;
}

.coastal-map {
  --frame: #fbfaf1;
  --pin: #153f40;
  margin: 0 auto;
  width: min(100%, 650px);
  border: 1px solid #718981;
  border-radius: 14px;
  background: var(--frame);
  overflow: hidden;
  box-shadow: 0 9px 30px #193d3c23;
}

.coastal-map figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px 10px;
  color: #214b49;
  font-weight: 700;
}

.coastal-map figcaption small {
  font-size: .77rem;
  font-weight: 500;
  color: #426660;
}

.coastal-map__scene { position: relative; }
.coastal-map__coast { width: 100%; display: block; }
.coastal-map__pipo {
  position: absolute;
  width: 24%;
  bottom: 12%;
  left: 24%;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(1px 3px 2px #433a3726);
}

.coastal-map__pin {
  position: absolute;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pin);
  font-weight: 700;
  font-size: clamp(.76rem, 1.13vw, .95rem);
  line-height: 1.2;
  white-space: nowrap;
}

.coastal-map__pin--rocks { left: 4%; bottom: 7%; }
.coastal-map__pin--waves { right: 12%; top: 39%; }
.coastal-map__label {
  padding: 8px 10px;
  background: #fffef3;
  border: 1px solid var(--pin);
  border-radius: 8px;
  box-shadow: 0 2px 6px #103c442c;
}

.coastal-map__dot {
  width: 15px;
  height: 15px;
  display: inline-grid;
  place-items: center;
  border: 2px solid white;
  border-radius: 100%;
  background: var(--pin);
  box-shadow: 0 0 0 1px var(--pin), 0 0 0 5px #ffffff66;
}

.coastal-map__pin:hover:not(:disabled) .coastal-map__label,
.coastal-map__pin:focus-visible .coastal-map__label {
  background: #e1f1e9;
}
.coastal-map__pin[aria-pressed="true"] .coastal-map__label { background: var(--pin); color: #fff; }
.coastal-map__pin:disabled { opacity: .7; }
.coastal-map__pin--rocks[aria-pressed="true"] .coastal-map__dot::after {
  content: '';
  width: 5px;
  height: 3px;
  border: solid #fff;
  border-width: 0 0 1.5px 1.5px;
  transform: rotate(-45deg);
}

.coastal-report {
  margin: 0 0 21px;
  padding: 16px 18px;
  max-width: 430px;
  border: 1px solid #adc2b9;
  border-radius: 12px;
  background: #fffdf3f5;
}
.coastal-report__contact { display: flex; align-items: center; gap: 10px; }
.coastal-report__symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #194e48;
  background: #e0eee5;
  font-family: sans-serif;
  font-size: 18px;
}
.coastal-report__contact strong { display: block; font-size: 1rem; }
.coastal-report__contact div > span { font-size: .84rem; color: #426660; }
.coastal-report__contact small {
  margin-left: auto;
  padding: 4px 8px;
  color: #31594f;
  border: 1px solid #c3d5c9;
  border-radius: 4px;
  font-size: .72rem;
}
.story .coastal-report__message {
  max-width: none;
  margin: 12px 0 0;
  padding-top: 11px;
  border-top: 1px solid #d0ded4;
  color: #305853;
  font-size: 1rem;
  line-height: 1.5;
}
.coastal-report__message strong { color: #153f40; }
.coastal-report__blank {
  display: inline-block;
  min-width: 5ch;
  text-align: center;
  border-bottom: 1px dashed #6f8981;
}

.coastal-memory {
  position: absolute;
  left: 1%;
  top: 17%;
  margin: 0;
  width: clamp(92px, 11vw, 154px);
  border: 4px solid #fffdf2;
  box-shadow: 0 2px 10px #183f3a2f;
  background: #fffdf2;
  transform: rotate(-3deg);
  pointer-events: none;
}
.coastal-memory__crop {
  aspect-ratio: 1.55;
  background: url('assets/costa.png') left bottom / 350% auto no-repeat;
}
.coastal-memory figcaption {
  padding: 5px 2px 2px;
  text-align: center;
  font-size: clamp(.66rem, .85vw, .78rem);
  color: #315650;
}

@media (max-width: 800px) {
  .game[data-screen="report"] .stage {
    min-height: 0;
    height: auto;
    margin-block: 8px 0;
  }
  .coastal-map figcaption { padding: 9px 12px; font-size: .91rem; }
  .coastal-map__label { padding: 6px 8px; }
  .coastal-map__pin--waves { right: 8%; top: 32%; }
  .coastal-map__pin--rocks { bottom: 4%; }
  .coastal-map__dot { width: 12px; height: 12px; }
  .coastal-memory { top: 5%; left: 0; width: 91px; }
  .coastal-report { margin-bottom: 15px; padding: 13px 15px; }
}
.coastal-map__pin[aria-pressed="true"]:is(:hover, :focus-visible) .coastal-map__label {
  background: var(--pin);
  color: #fff;
}
