/* Authored location cards with no panel, veil, full-screen mask or input layer. */
.stadium-arrival {
  position: fixed;
  left: var(--arrival-left, 4vw);
  bottom: max(var(--arrival-bottom, 110px), calc(90px + env(safe-area-inset-bottom)));
  width: var(--arrival-width, min(420px, 38vw));
  z-index: 19;
  pointer-events: none;
  color: #f0f5ff;
  text-shadow: 0 2px 4px #000e, 0 4px 18px #000b;
}
.stadium-arrival[hidden],
.stadium-arrival[data-crowded=true],
body:is(.pf-ui-off,.roam-ui-hidden,.playing,.in-power-court) .stadium-arrival { display: none !important; }
.stadium-arrival-kicker {
  margin: 0 0 12px;
  color: #c2d3ee;
  font: 700 10px/1.4 Inter, Arial, sans-serif;
  letter-spacing: .18em;
  text-wrap: balance;
}
.stadium-arrival-kicker::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  margin: 0 10px 3px 0;
  background: #c7fc68;
}
.stadium-arrival-title {
  margin: 0;
  font: 900 clamp(34px, 4.05vw, 62px)/.89 "Barlow Condensed", Impact, sans-serif;
  letter-spacing: -.018em;
  text-transform: uppercase;
  text-wrap: balance;
}
.stadium-arrival-title > span,
.stadium-arrival-title > em { display: block; }
.stadium-arrival-title > em { font-style: normal; color: #c7fc68; }
.stadium-arrival-description {
  margin: 12px 0 0;
  max-width: 34ch;
  color: #cddbf0;
  font: 500 12px/1.5 Inter, Arial, sans-serif;
}
.stadium-arrival-description:empty { display: none; }
.stadium-arrival-travel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 14px;
  color: #91b2de;
  font: 700 9px/1.4 Inter, Arial, sans-serif;
  letter-spacing: .12em;
}
.stadium-arrival-status { max-width: 100%; }
.stadium-arrival-meter {
  display: block;
  width: 84px;
  height: 2px;
  overflow: hidden;
  background: #9eb9e342;
}
.stadium-arrival-meter[hidden] { display: none; }
.stadium-arrival-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: #a9d9ff;
  transform: scaleX(var(--arrival-progress, 0));
  transform-origin: left;
}
.stadium-arrival[data-phase=arrived] .stadium-arrival-travel { color: #92a8c7; }
.stadium-arrival[data-phase=loading] :is(.stadium-arrival-kicker,.stadium-arrival-title,.stadium-arrival-description) { display: none; }
.stadium-arrival[data-phase=loading] .stadium-arrival-travel { color: #d5e6ff; font-size: 11px; }
.stadium-arrival[data-phase=loading] .stadium-arrival-status::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 10px;
  border: 1px solid #c7fc68;
  border-radius: 50%;
}
.stadium-arrival[data-compact=true] .stadium-arrival-title { font-size: 30px; }
.stadium-arrival[data-compact=true] .stadium-arrival-description { display: none; }
.stadium-arrival[data-compact=true] .stadium-arrival-kicker { margin-bottom: 8px; font-size: 9px; }
.stadium-arrival[data-compact=true] .stadium-arrival-travel { margin-top: 8px; }
.stadium-arrival-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .stadium-arrival[data-phase=moving] .stadium-arrival-title { animation: stadium-arrival-in .5s cubic-bezier(.2,.7,.2,1) both; }
  .stadium-arrival[data-phase=moving] .stadium-arrival-title > em { animation: stadium-arrival-in .65s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes stadium-arrival-in { from { opacity: .15; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
}
@media (max-width: 700px) {
  .stadium-arrival-title { font-size: 38px; }
  .stadium-arrival-kicker { font-size: 9px; margin-bottom: 9px; }
  .stadium-arrival-description { max-width: 35ch; font-size: 11px; margin-top: 9px; }
  .stadium-arrival-travel { margin-top: 10px; }
}
@media (forced-colors: active) {
  .stadium-arrival { color: CanvasText; text-shadow: none; }
  .stadium-arrival :is(.stadium-arrival-title > em,.stadium-arrival-kicker,.stadium-arrival-description,.stadium-arrival-travel) { color: CanvasText; }
  .stadium-arrival-meter { border: 1px solid CanvasText; }
  .stadium-arrival-fill,.stadium-arrival-kicker::before { background: Highlight; }
}
