/* Street Legends: the in-match objective / signal reading. */
.legend-objective {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: calc(max(14px, env(safe-area-inset-top)) + 92px);
  width: min(440px, calc(100% - 32px)); padding: 4px 8px;
  background: var(--ink); border-left: 3px solid var(--yellow);
  font: 700 var(--text-xs)/1.4 var(--font-body); color: var(--paper); text-align: center;
  overflow-wrap: anywhere; pointer-events: none;
}
.legend-objective[hidden] { display: none; }
@media (max-width: 560px) {
  .legend-objective { width: calc(100% - 24px); }
}
@media (max-height: 500px) {
  .legend-objective { top: 14px; bottom: max(70px, calc(env(safe-area-inset-bottom) + 56px)); left: auto; right: 74px; transform: none; width: 220px; }
}
