/* Atlantic wind player — landscape map + two-aircraft stats on top of player.css */

.flight-player.wind-player {
  --west: #13233f; /* AeroStats: the logo's navy (was orange #d55e00) */
  --east: #009e73;
}

.flight-player.wind-player .stats {
  grid-template-columns: repeat(6, 1fr);
}

.flight-player.wind-player #map {
  width: 100%;
  height: auto;
  aspect-ratio: var(--map-aspect, 2.9 / 1);
}

.flight-player.wind-player .map-wrap {
  position: relative;
  display: block;
}

/* AeroStats: three stacked layers, bottom to top: #map-base (basemap, wind
   shading, grid), #wind-flow (particles), #map (frame, labels, tracks, arrows,
   legend). #map stays in the page flow and sets the size. */
.flight-player.wind-player #map-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.flight-player.wind-player #wind-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.flight-player.wind-player #map {
  position: relative;
  z-index: 2;
}

.flight-player.wind-player #alt { height: 220px; }
.flight-player.wind-player #fuel { height: 240px; }

.flight-player.wind-player #scrub { accent-color: var(--west); }

/* AeroStats: the play bar sits at the top, so its space goes below it. */
.flight-player.wind-player .controls { margin: 0 0 10px; }

.flight-player.wind-player .stat[data-side="west"] .stat-value { color: var(--west); }
.flight-player.wind-player .stat[data-side="east"] .stat-value { color: var(--east); }

.flight-player.wind-player .note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  max-width: 72ch;
}

@media (max-width: 720px) {
  .flight-player.wind-player .stats { grid-template-columns: repeat(2, 1fr); }
  /* AeroStats: on phones the shared readings (UTC, jet) share the first row,
     so each flight keeps its own column below. */
  .flight-player.wind-player .stat:not([data-side]) { order: -1; }
  .flight-player.wind-player #alt { height: 190px; }
  .flight-player.wind-player #fuel { height: 210px; }
}
