/* ================================
   EXPANSA — LIVE MAP (AUTO IFRAME HEIGHT)
   Website-style telemetry + info
   - ONLY telemetry scrolls
   - Layout unchanged
================================ */

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  overflow: visible;
  background: transparent;

  font-family: "Lucida Console", Monaco, Consolas, "Courier New", ui-monospace, monospace;
  color: #aefccf;
}

/* ROOT */
#map-root {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* TOP BAR */
#top-bar {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 10px;
}

/* ================================
   TELEMETRY — WEBSITE INFO-BOX LOOK
================================ */
#telemetry {
  flex: 1;
  height: 260px;                 /* NEVER GROWS */
  overflow-y: auto;              /* ONLY SCROLL HERE */
  overflow-x: hidden;

  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #0f8;
  box-shadow: inset 0 0 8px rgba(0,255,128,0.15);

  box-sizing: border-box;
  padding: 12px 14px;

  font-size: 12px;
  line-height: 1.5;
  color: #aefccf;
}

/* TELEMETRY LINES */
#telemetry > div {
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0,255,128,0.25);
}

#telemetry > div:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ================================
   INFO — WEBSITE INFO-BOX LOOK
================================ */
#info {
  width: 180px;

  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #0f8;
  box-shadow: inset 0 0 8px rgba(0,255,128,0.15);

  box-sizing: border-box;
  padding: 12px 14px;

  font-size: 12px;
  line-height: 1.5;
  color: #aefccf;
  white-space: nowrap;
}

/* INFO ROW SPACING */
#info > div {
  margin-bottom: 6px;
}
#info > div:last-child {
  margin-bottom: 0;
}

/* ================================
   MAP CANVAS
================================ */
#map {
  display: block;
  width: 100%;
  height: 600px;
  margin: 8px auto 0 auto;
  background: transparent;
}

/* ================================
   MOBILE
================================ */
@media (max-width: 900px) {
  #top-bar {
    flex-direction: column;
  }

  #info {
    width: 100%;
  }

  #map {
    height: 70vh;
  }
}

/* ================================
   TELEMETRY SCROLLBAR — GREEN / BLACK
   ================================ */

/* Firefox */
#telemetry {
  scrollbar-width: thin;
  scrollbar-color: #0f8 rgba(0, 0, 0, 0.6);
  
}

/* Chrome / Edge / Safari */
#telemetry::-webkit-scrollbar {
  width: 8px;
}

#telemetry::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(0,255,128,0.25);
  border-radius: 0;
}

#telemetry::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(0,255,128,0.35),
    rgba(0,255,128,0.15)
  );
  border: 1px solid #0f8;
  border-radius: 0;
}

#telemetry::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(0,255,128,0.55),
    rgba(0,255,128,0.25)
  );
}
/* ================================
   TELEMETRY — CLEAN LIST (NO SEPARATORS)
================================ */

#telemetry div {
  border: none !important;
  margin: 0;
  padding: 2px 0;
}

#telemetry div + div {
  border-top: none !important;
}
