body {
  margin: 0;
  background: #111;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  color: white;
}


.skywall {
  width: 100vw;
  height: 100vh;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  background:
    linear-gradient(
      to bottom,
      #d8f0ff 0%,
      #c8e8f7 45%,
      #8f9ca4 70%,
      #31363a 100%
    );
}


.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding:
    18px 24px;

  font-size: 14px;

  letter-spacing:
    2px;

  font-weight:
    bold;

  background:
    rgba(
      0,
      0,
      0,
      0.2
    );
}


/* ==========================
   LOCATION CONTROLS
   ========================== */

.location-bar {
  display: flex;

  align-items:
    flex-end;

  gap:
    12px;

  padding:
    12px 24px;

  background:
    rgba(
      0,
      0,
      0,
      0.32
    );

  backdrop-filter:
    blur(8px);
}


.location-field {
  display: flex;
  flex-direction: column;

  gap:
    5px;
}


.location-field label {
  font-size:
    10px;

  font-weight:
    bold;

  letter-spacing:
    1.5px;

  opacity:
    0.75;
}


.location-field input {
  height:
    34px;

  box-sizing:
    border-box;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.25
    );

  border-radius:
    5px;

  background:
    rgba(
      255,
      255,
      255,
      0.13
    );

  color:
    white;

  padding:
    0 10px;

  font-size:
    14px;

  outline:
    none;
}


#postcodeInput {
  width:
    125px;

  text-transform:
    uppercase;
}


.range-input {
  display: flex;

  align-items:
    center;

  gap:
    6px;
}


#radiusInput {
  width:
    70px;
}


.range-input span {
  font-size:
    12px;

  font-weight:
    bold;

  opacity:
    0.75;
}


.location-button {
  height:
    34px;

  padding:
    0 16px;

  border:
    0;

  border-radius:
    5px;

  background:
    white;

  color:
    #222;

  font-weight:
    bold;

  font-size:
    11px;

  letter-spacing:
    1px;

  cursor:
    pointer;
}


.location-button:hover {
  opacity:
    0.88;
}


.location-button.secondary {
  background:
    rgba(
      255,
      255,
      255,
      0.15
    );

  color:
    white;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.25
    );
}


.location-status {
  margin-left:
    auto;

  align-self:
    center;

  font-size:
    12px;

  opacity:
    0.72;
}


/* ==========================
   AIRCRAFT
   ========================== */

.aircraft-area {
  flex: 1;

  display: flex;

  justify-content:
    center;

  align-items:
    center;

  min-height:
    0;
}


.aircraft-placeholder {
  width:
    100%;

  height:
    100%;

  display:
    flex;

  justify-content:
    center;

  align-items:
    center;

  position:
    relative;
}


.aircraft-photo {
  display:
    none;

  width:
    min(
      70vw,
      900px
    );

  height:
    auto;

  max-height:
    55vh;

  object-fit:
    contain;

  margin:
    auto;

  border-radius:
    6px;

  filter:
    drop-shadow(
      0 12px 16px
      rgba(
        0,
        0,
        0,
        0.18
      )
    )
    drop-shadow(
      0 28px 32px
      rgba(
        0,
        0,
        0,
        0.14
      )
    );
}


.aircraft-fallback {
  display:
    flex;

  justify-content:
    center;

  align-items:
    center;

  width:
    420px;

  height:
    180px;

  color:
    rgba(
      255,
      255,
      255,
      0.75
    );

  font-size:
    22px;

  font-weight:
    bold;

  letter-spacing:
    2px;

  text-align:
    center;
}


.photo-credit {
  display:
    none !important;
}


/* ==========================
   FLIGHT INFO
   ========================== */

.flight-info {
  padding:
    28px;

  background:
    rgba(
      0,
      0,
      0,
      0.78
    );

  backdrop-filter:
    blur(10px);
}


.airline {
  font-size:
    18px;

  opacity:
    0.82;

  margin-bottom:
    10px;
}


.route {
  font-size:
    48px;

  font-weight:
    bold;

  line-height:
    1.1;

  margin-bottom:
    12px;
}


.details {
  font-size:
    18px;

  opacity:
    0.75;
}


/* ==========================
   MOBILE
   ========================== */

@media (
  max-width: 700px
) {

  .top-bar {
    padding:
      14px 18px;

    font-size:
      12px;
  }


  .location-bar {
    flex-wrap:
      wrap;

    padding:
      10px 14px;

    gap:
      8px;
  }


  .location-status {
    width:
      100%;

    margin-left:
      0;
  }


  .aircraft-photo {
    width:
      90vw;

    height:
      auto;

    max-height:
      48vh;
  }


  .aircraft-fallback {
    width:
      260px;

    height:
      120px;

    font-size:
      16px;
  }


  .flight-info {
    padding:
      20px;
  }


  .airline {
    font-size:
      14px;
  }


  .route {
    font-size:
      34px;
  }


  .details {
    font-size:
      15px;
  }
}
/* ==================================================
   MOBILE AIRCRAFT CONTROLS
   ================================================== */

@media (max-width: 700px) {

  #aircraftNavigation {
    position: fixed !important;
    left: 50% !important;
    bottom: 70px !important;
    transform: translateX(-50%) !important;

    z-index: 9999 !important;

    margin: 0 !important;
    padding: 8px 12px !important;

    background: rgba(0, 0, 0, 0.82) !important;

    border-radius: 30px !important;

    backdrop-filter: blur(8px);

    gap: 12px !important;
  }


  #aircraftNavigation button {
    min-width: 52px !important;
    width: 52px !important;
    height: 48px !important;

    font-size: 28px !important;

    border-radius: 24px !important;
  }


  #aircraftCounter {
    min-width: 70px !important;
    font-size: 16px !important;
  }
}



/* ==================================================
   SKYWALL RUNWAY MODE
   ================================================== */

#skywallModeBar {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: #eef1f2;
  border-bottom: 1px solid rgba(0,0,0,.1);
}


.skywall-mode-button {
  min-width: 100px;
  padding: 10px 18px;
  border: 1px solid rgba(0,0,0,.22);
  border-radius: 999px;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
}


.skywall-mode-active {
  background: #111;
  color: #fff;
  border-color: #111;
}


#runwayMode {
  box-sizing: border-box;
  width: 100%;
  padding: 20px;
  background: #e9e5d9;
  color: #161616;
}


.runway-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 0 4px 12px;
  border-bottom: 2px solid #222;
  font-size: 12px;
  letter-spacing: 2px;
}


.runway-board {
  position: relative;
  margin: 38px 0 25px;
  min-height: 115px;
}


.runway-strip {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 25px;
  height: 50px;
  background: #292824;
  border-left: 8px solid #f2f0e8;
  border-right: 8px solid #f2f0e8;
}


.runway-centre-line {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 23px;
  height: 4px;
  background:
    repeating-linear-gradient(
      to right,
      #eee 0,
      #eee 22px,
      transparent 22px,
      transparent 42px
    );
}


.runway-number {
  position: absolute;
  top: 42px;
  z-index: 2;
  color: white;
  font-weight: 700;
  font-size: 11px;
}


.runway-number-left {
  left: 5.5%;
}


.runway-number-right {
  right: 5.5%;
}


#runwayMarkers {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 0;
  height: 100px;
}


.runway-plane-marker {
  position: absolute;
  transform: translateX(-50%);
  top: -5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 9px;
  cursor: pointer;
}


.runway-plane-icon {
  font-size: 25px;
  line-height: 1;
}


.runway-plane-selected {
  color: #b51d31;
}


.runway-label {
  margin-bottom: 8px;
  font-size: 9px;
  letter-spacing: 1.5px;
}


#runwayAircraftList {
  border: 1px solid #262626;
}


.runway-row {
  width: 100%;
  display: grid;
  grid-template-columns: 115px 1fr 1.2fr 160px;
  align-items: stretch;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #333;
  background: rgba(255,255,255,.28);
  color: #111;
  text-align: left;
  font: inherit;
  cursor: pointer;
}


.runway-row:last-child {
  border-bottom: 0;
}


.runway-row-selected {
  background: rgba(255,255,255,.75);
}


.runway-status {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 7px;
  color: #111;
  font-size: 10px;
  letter-spacing: 1px;
  text-align: center;
}


.runway-status-roll {
  background: #cf233b;
  color: white;
}


.runway-status-airborne {
  background: #e5b52c;
}


.runway-status-ground {
  background: #34734d;
  color: white;
}


.runway-status-low {
  background: #315e8e;
  color: white;
}


.runway-flight,
.runway-route,
.runway-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5px 10px;
}


.runway-flight strong {
  font-size: 16px;
}


.runway-flight small,
.runway-stats small {
  margin-top: 2px;
  font-size: 9px;
}


.runway-route {
  font-size: 13px;
}


.runway-stats {
  align-items: flex-end;
  text-align: right;
  font-size: 12px;
}


.runway-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  font-size: 9px;
  letter-spacing: 1px;
}


.runway-empty {
  padding: 35px;
  text-align: center;
  letter-spacing: 2px;
  font-size: 12px;
}


@media (max-width: 700px) {

  #runwayMode {
    padding: 12px 8px;
  }


  .runway-heading {
    font-size: 9px;
    letter-spacing: 1px;
  }


  .runway-row {
    grid-template-columns: 86px 1fr 1fr;
  }


  .runway-route {
    grid-column: 2 / 4;
    grid-row: 2;
    padding-top: 0;
    padding-bottom: 7px;
    font-size: 11px;
  }


  .runway-stats {
    font-size: 10px;
  }


  .runway-flight strong {
    font-size: 13px;
  }


  .runway-status {
    grid-row: 1 / 3;
  }


  .skywall-mode-button {
    min-width: 90px;
    min-height: 44px;
  }
}

/* ==================================================
   RUNWAY POSITION FIX
   ================================================== */

#skywallModeBar {
  position: absolute !important;
  top: 220px !important;
  left: 20px !important;
  bottom: auto !important;

  z-index: 9999 !important;

  display: flex !important;
  gap: 8px !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
}


.skywall-mode-button {
  min-width: 88px !important;
  height: 40px !important;

  padding: 0 18px !important;

  border: 1px solid rgba(255,255,255,.65) !important;
  border-radius: 999px !important;

  background: rgba(255,255,255,.18) !important;
  color: white !important;

  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 500 !important;

  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;

  cursor: pointer !important;
}


.skywall-mode-button.skywall-mode-active {
  background: #111 !important;
  color: white !important;
  border-color: #111 !important;
}


/* Give the aircraft more room above the runway */

.runway-board {
  margin-top: 52px !important;
}


/* Lift aircraft + callsigns above runway */

.runway-plane-marker {
  top: -20px !important;
}


/* Phone layout */

@media (max-width: 700px) {

  #skywallModeBar {
    top: 218px !important;
    left: 12px !important;
  }


  .skywall-mode-button {
    min-width: 82px !important;
    height: 42px !important;

    padding: 0 14px !important;

    font-size: 10px !important;
  }


  .runway-plane-marker {
    top: -18px !important;
  }
}


/* ==================================================
   MODE BUTTONS - TOP CENTRE
   ================================================== */

#skywallModeBar {
  position: absolute !important;

  top: 220px !important;
  left: 50% !important;
  right: auto !important;

  transform: translateX(-50%) !important;

  z-index: 9999 !important;

  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
}


@media (max-width: 700px) {

  #skywallModeBar {
    top: 218px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}


/* ==================================================
   MODE BUTTONS - HEADER CENTRE
   ================================================== */

#skywallModeBar {
  position: absolute !important;

  top: 8px !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;

  transform: translateX(-50%) !important;

  z-index: 99999 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
}


.skywall-mode-button {
  min-width: 82px !important;
  height: 30px !important;

  padding: 0 15px !important;

  border: 1px solid rgba(255,255,255,.7) !important;
  border-radius: 999px !important;

  background: transparent !important;
  color: white !important;

  font-family: inherit !important;
  font-size: 9px !important;
  font-weight: 500 !important;

  letter-spacing: 2px !important;
  text-transform: uppercase !important;

  cursor: pointer !important;
}


.skywall-mode-button.skywall-mode-active {
  background: white !important;
  color: #253039 !important;
  border-color: white !important;
}


/* Mobile stays centred in header too */

@media (max-width: 700px) {

  #skywallModeBar {
    top: 7px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }


  .skywall-mode-button {
    min-width: 70px !important;
    height: 30px !important;

    padding: 0 11px !important;

    font-size: 8px !important;
    letter-spacing: 1.5px !important;
  }
}



/* ==================================================
   RUNWAY AIRPORT SELECTOR
   ================================================== */

#runwayAirportChooser {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  margin: 0 0 14px;
}


#runwayAirportChooser label {
  font-family: inherit;
  font-size: 9px;
  letter-spacing: 2px;

  color: #222;
}


#runwayAirportSelect {
  min-width: 220px;
  height: 36px;

  padding: 0 34px 0 12px;

  border: 1px solid #777;
  border-radius: 999px;

  background: #f6f3e9;
  color: #111;

  font-family: inherit;
  font-size: 11px;
  letter-spacing: 1px;
}


/* ==================================================
   MOBILE MODE BUTTON FIX
   ================================================== */

@media (max-width: 700px) {

  #skywallModeBar {
    position: relative !important;

    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    transform: none !important;

    width: 100% !important;
    box-sizing: border-box !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    gap: 10px !important;

    padding: 9px 10px !important;
    margin: 0 !important;

    background: #9bafb9 !important;

    border: 0 !important;
    border-top:
      1px solid
      rgba(255,255,255,.18) !important;

    z-index: 50 !important;
  }


  .skywall-mode-button {
    min-width: 110px !important;
    height: 44px !important;

    padding: 0 18px !important;

    border-radius: 999px !important;

    font-family: inherit !important;

    font-size: 10px !important;
    letter-spacing: 1.8px !important;

    touch-action: manipulation;
  }


  .skywall-mode-button:not(
    .skywall-mode-active
  ) {
    background: transparent !important;

    color: white !important;

    border:
      1px solid
      rgba(255,255,255,.7) !important;
  }


  .skywall-mode-button.skywall-mode-active {
    background: #111 !important;
    color: white !important;
    border-color: #111 !important;
  }


  #runwayAirportChooser {
    width: 100%;

    box-sizing: border-box;

    flex-direction: column;

    gap: 5px;

    margin-bottom: 12px;
  }


  #runwayAirportSelect {
    width: 100%;
    max-width: 320px;

    height: 44px;

    font-size: 16px;
  }
}



/* ==================================================
   SKYWALL PROPER MOBILE LAYOUT
   ================================================== */

@media (max-width: 700px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }


  /* ---------- MODE SWITCH ---------- */

  #skywallModeBar {
    position: relative !important;

    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    transform: none !important;

    width: 100% !important;

    box-sizing: border-box !important;

    display: flex !important;

    justify-content: center !important;
    align-items: center !important;

    gap: 8px !important;

    padding: 8px 12px !important;
    margin: 0 !important;

    background: #9aadb7 !important;

    border: 0 !important;
  }


  .skywall-mode-button {
    flex: 1 1 0 !important;

    max-width: 145px !important;
    min-width: 0 !important;

    height: 44px !important;

    padding: 0 12px !important;

    font-size: 10px !important;

    letter-spacing: 1.5px !important;

    border-radius: 24px !important;
  }


  /* ---------- RUNWAY CONTAINER ---------- */

  #runwayMode {
    width: 100% !important;

    box-sizing: border-box !important;

    padding: 12px 8px 14px !important;

    overflow: hidden !important;
  }


  /* ---------- AIRPORT PICKER ---------- */

  #runwayAirportChooser {
    width: 100% !important;

    box-sizing: border-box !important;

    margin: 0 0 12px !important;

    padding: 0 4px !important;

    display: flex !important;

    flex-direction: column !important;

    align-items: stretch !important;

    gap: 5px !important;
  }


  #runwayAirportChooser label {
    text-align: center !important;

    font-size: 9px !important;

    letter-spacing: 1.8px !important;
  }


  #runwayAirportSelect {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    height: 46px !important;

    box-sizing: border-box !important;

    padding: 0 14px !important;

    font-size: 16px !important;

    border-radius: 23px !important;
  }


  /* ---------- RUNWAY TITLE ---------- */

  .runway-heading {
    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    gap: 8px !important;

    padding: 0 2px 9px !important;

    font-size: 8px !important;

    letter-spacing: 1px !important;

    white-space: nowrap !important;
  }


  /* ---------- RUNWAY ---------- */

  .runway-board {
    width: 100% !important;

    min-height: 100px !important;

    margin: 38px 0 18px !important;
  }


  .runway-strip {
    left: 1% !important;
    right: 1% !important;

    height: 44px !important;

    border-left-width: 5px !important;
    border-right-width: 5px !important;
  }


  .runway-centre-line {
    top: 20px !important;
  }


  #runwayMarkers {
    left: 3% !important;
    right: 3% !important;

    height: 90px !important;
  }


  .runway-plane-marker {
    top: -18px !important;

    max-width: 58px !important;

    font-size: 7px !important;

    white-space: nowrap !important;
  }


  .runway-plane-icon {
    font-size: 21px !important;
  }


  .runway-number {
    top: 40px !important;

    font-size: 8px !important;
  }


  /* ---------- AIRCRAFT LIST ---------- */

  .runway-label {
    margin: 0 0 6px !important;

    font-size: 8px !important;

    letter-spacing: 1px !important;
  }


  #runwayAircraftList {
    width: 100% !important;

    box-sizing: border-box !important;
  }


  .runway-row {
    width: 100% !important;

    box-sizing: border-box !important;

    display: grid !important;

    grid-template-columns:
      78px
      minmax(0, 1fr)
      auto !important;

    grid-template-rows:
      auto
      auto !important;

    min-height: 66px !important;

    overflow: hidden !important;
  }


  .runway-status {
    grid-column: 1 !important;

    grid-row: 1 / 3 !important;

    min-height: 66px !important;

    padding: 6px !important;

    font-size: 8px !important;

    line-height: 1.25 !important;

    letter-spacing: .8px !important;
  }


  .runway-flight {
    grid-column: 2 !important;

    grid-row: 1 !important;

    min-width: 0 !important;

    padding: 7px 7px 2px !important;
  }


  .runway-flight strong {
    font-size: 13px !important;

    line-height: 1.1 !important;
  }


  .runway-flight small {
    font-size: 8px !important;

    overflow: hidden !important;

    text-overflow: ellipsis !important;

    white-space: nowrap !important;
  }


  .runway-stats {
    grid-column: 3 !important;

    grid-row: 1 !important;

    padding: 7px 7px 2px !important;

    font-size: 9px !important;

    white-space: nowrap !important;
  }


  .runway-stats small {
    font-size: 7px !important;
  }


  .runway-route {
    grid-column: 2 / 4 !important;

    grid-row: 2 !important;

    min-width: 0 !important;

    padding: 1px 7px 7px !important;

    font-size: 10px !important;

    line-height: 1.25 !important;

    overflow: hidden !important;

    text-overflow: ellipsis !important;
  }


  /* ---------- FOOTER ---------- */

  .runway-footer {
    padding: 9px 2px 0 !important;

    font-size: 7px !important;

    letter-spacing: .7px !important;

    flex-wrap: wrap !important;
  }

}



/* ==================================================
   FINAL PHONE LAYOUT FIX
   ================================================== */

@media (max-width: 700px) {

  html,
  body {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;

    overflow-x: hidden !important;
  }


  /* POSTER / RUNWAY now gets its own full-width row */

  #skywallModeBar {
    position: relative !important;

    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    transform: none !important;

    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 10px !important;

    padding: 10px 16px !important;
    margin: 0 !important;

    background: #9aadb7 !important;

    border: 0 !important;

    z-index: 20 !important;
  }


  .skywall-mode-button {
    flex: 1 1 0 !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: 160px !important;

    height: 46px !important;

    margin: 0 !important;
    padding: 0 15px !important;

    box-sizing: border-box !important;

    font-family: inherit !important;
    font-size: 11px !important;

    letter-spacing: 1.8px !important;

    border-radius: 24px !important;
  }


  /* RUNWAY must always fill phone width */

  #runwayMode {
    position: relative !important;

    left: auto !important;
    right: auto !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 14px 10px !important;

    overflow: hidden !important;
  }


  /* Airport selector */

  #runwayAirportChooser {
    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;

    margin: 0 0 14px !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    align-items: stretch !important;

    gap: 6px !important;
  }


  #runwayAirportChooser label {
    text-align: center !important;

    font-size: 9px !important;
    letter-spacing: 2px !important;
  }


  #runwayAirportSelect {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    height: 48px !important;

    box-sizing: border-box !important;

    margin: 0 !important;

    padding:
      0
      38px
      0
      15px !important;

    font-size: 16px !important;

    border-radius: 25px !important;
  }


  /* Runway header */

  .runway-heading {
    width: 100% !important;

    box-sizing: border-box !important;

    display: flex !important;

    justify-content: space-between !important;
    align-items: center !important;

    gap: 5px !important;

    padding-bottom: 9px !important;

    font-size: 8px !important;
    letter-spacing: .8px !important;
  }


  /* Runway itself */

  .runway-board {
    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;

    margin:
      42px
      0
      22px !important;

    min-height: 105px !important;
  }


  .runway-strip {
    left: 1% !important;
    right: 1% !important;

    width: auto !important;

    box-sizing: border-box !important;
  }


  #runwayMarkers {
    left: 3% !important;
    right: 3% !important;

    width: auto !important;
  }


  .runway-plane-marker {
    top: -18px !important;

    max-width: 62px !important;

    font-size: 7px !important;

    white-space: nowrap !important;
  }


  .runway-plane-icon {
    font-size: 22px !important;
  }


  /* Live aircraft list */

  #runwayAircraftList {
    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;

    overflow: hidden !important;
  }


  .runway-row {
    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;

    grid-template-columns:
      94px
      minmax(0, 1fr)
      auto !important;

    overflow: hidden !important;
  }


  .runway-status {
    width: auto !important;

    box-sizing: border-box !important;

    font-size: 8px !important;
  }


  .runway-flight {
    min-width: 0 !important;
  }


  .runway-flight strong {
    font-size: 15px !important;
  }


  .runway-route {
    min-width: 0 !important;

    overflow: hidden !important;

    overflow-wrap: anywhere !important;

    font-size: 11px !important;
  }


  .runway-stats {
    min-width: 70px !important;

    font-size: 9px !important;
  }


  /* Poster image must stay inside phone */

  #aircraftPhoto {
    display: block;

    width: auto !important;
    max-width: calc(100vw - 24px) !important;

    height: auto !important;

    margin-left: auto !important;
    margin-right: auto !important;

    object-fit: contain !important;
  }


  #aircraftFallback {
    max-width: calc(100vw - 24px) !important;

    box-sizing: border-box !important;

    margin-left: auto !important;
    margin-right: auto !important;
  }


  /* Floating aircraft arrows */

  #aircraftNavigation {
    left: 50% !important;

    transform:
      translateX(-50%) !important;

    width: auto !important;

    max-width:
      calc(100vw - 20px) !important;

    box-sizing: border-box !important;
  }

}


/* ==================================================
   MOBILE AIRCRAFT NAVIGATION FIX
   ================================================== */

@media (max-width: 700px) {

  #aircraftNavigation {
    position: static !important;

    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    transform: none !important;

    width: fit-content !important;
    max-width: calc(100% - 24px) !important;

    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 16px !important;

    margin: 18px auto 8px !important;
    padding: 6px 10px !important;

    background: transparent !important;

    border-radius: 0 !important;

    backdrop-filter: none !important;

    z-index: auto !important;
  }


  #aircraftNavigation button {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;

    border:
      1px solid
      rgba(255,255,255,.6) !important;

    border-radius: 50% !important;

    background: transparent !important;
    color: white !important;

    font-size: 26px !important;
  }


  #aircraftCounter {
    min-width: 55px !important;

    color: white !important;

    font-size: 15px !important;

    text-align: center !important;
  }
}

