/* Overrides scoped to this page only — loaded after style.css, so nothing
   here leaks into index.html/about.html, which never load this file. */

body {
  display: block;
  height: 100vh;
  overflow: hidden;
  padding: 0;
  margin: 0;
  font-family: "Roboto", sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a, a:hover {
  color: inherit;
  text-decoration: none;
}

.topleft {
  position: absolute;
  top: 15px;
  left: 15px;
}

.topright {
  position: absolute;
  top: 15px;
  right: 15px;
  text-align: right;
}

.bottomleft {
  position: absolute;
  bottom: 15px;
  left: 15px;
}

.bottomright {
  position: absolute;
  bottom: 15px;
  right: 15px;
  text-align: right;
}

.center {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.audio-toggle {
  font-family: inherit;
  font-size: 1.5rem;
  background: none;
  color: #e8e8e8;
  border: 1px solid #333;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.audio-toggle:hover {
  color: #ff4747;
  border-color: #ff4747;
}

.audio-status {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 0.75rem;
}

.location-stamp {
  font-size: 0.75rem;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

.aircraft-title {
  margin: 0;
  font-size: 20px;
}

.aircraft-data {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.aircraft-data li {
  font-size: 0.7rem;
  line-height: 1.6;
  white-space: nowrap;
}

.metric-label {
  opacity: 0.55;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-value {
  font-variant-numeric: tabular-nums;
}

.arrow {
  opacity: 0.4;
  margin: 0 0.15rem;
}

@media (max-width: 600px) {
  .topleft,
  .topright,
  .bottomleft,
  .bottomright {
    max-width: 45vw;
  }

  .topleft,
  .topright {
    top: 10px;
  }

  .bottomleft,
  .bottomright {
    bottom: 10px;
  }

  .topleft,
  .bottomleft {
    left: 10px;
  }

  .topright,
  .bottomright {
    right: 10px;
  }

  .aircraft-title {
    font-size: 11px;
  }

  .aircraft-data {
    margin-top: 0.25rem;
  }

  .aircraft-data li {
    font-size: 0.55rem;
    line-height: 1.4;
    white-space: normal;
  }

  .arrow {
    margin: 0 0.1rem;
  }

  .audio-toggle {
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }

  .audio-status {
    font-size: 0.8rem;
  }

  .location-stamp {
    font-size: 0.65rem;
  }
}
