/* Aircraft data tags: radar data-block labels drawn beside aircraft, readable over satellite imagery. */
.airshow-data-tag-pane {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.airshow-data-tag-pane[hidden] { display: none; }
.airshow-data-tag {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  padding: 3px 6px 3px 6px;
  border: 1px solid rgba(170, 245, 205, 0.3);
  border-radius: 3px;
  background: rgba(6, 11, 18, 0.74);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  color: #e9fff2;
  font-family: "Pretendard Variable", Pretendard, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 13px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
}
/* Only shown tags get their own compositor layer; faded-out tags cost nothing to draw. */
.airshow-data-tag.is-shown { opacity: 1; will-change: transform; }
.airshow-data-tag.is-cut { transition: none; }
.airshow-data-tag .adt-l1,
.airshow-data-tag .adt-l2,
.airshow-data-tag .adt-l3 { display: block; }
.airshow-data-tag .adt-cs { font-weight: 800; color: #fff; letter-spacing: 0.05em; }
.airshow-data-tag .adt-type { margin-left: 7px; color: rgba(233, 255, 242, 0.62); }
.airshow-data-tag .adt-type:empty { display: none; }
.airshow-data-tag .adt-l2 { color: #9ff2c3; }
.airshow-data-tag .adt-trend { display: inline-block; width: 0.75em; text-align: center; font-weight: 800; }
.airshow-data-tag .adt-gs { margin-left: 4px; }
.airshow-data-tag-leader {
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  background: rgba(233, 255, 242, 0.7);
  transform-origin: 0 50%;
}

/* The followed flight: larger block with an amber edge and its vertical speed. */
.airshow-data-tag.is-followed {
  padding: 4px 9px 5px 9px;
  border-color: rgba(255, 195, 92, 0.7);
  border-left: 3px solid #ffc35c;
  background: rgba(12, 9, 26, 0.82);
  font-size: 13px;
  line-height: 16px;
}
.airshow-data-tag.is-followed .adt-cs { color: #ffd27a; }
.airshow-data-tag.is-followed .adt-l2 { color: #fff; }
.airshow-data-tag.is-followed .adt-l3 { color: #9ff2c3; }
.airshow-data-tag.is-followed .airshow-data-tag-leader { height: 1.5px; background: #ffc35c; }

html.airshow-mobile-runtime .airshow-data-tag { font-size: 10px; line-height: 12px; padding: 2px 5px; }
html.airshow-mobile-runtime .airshow-data-tag.is-followed { font-size: 11.5px; line-height: 14px; padding: 3px 7px 4px 7px; }

@media (prefers-reduced-motion: reduce) {
  .airshow-data-tag { transition: none; }
}
