/* ============================================================
   STARG L I D E R
   MacArthur Bridge Layout – Layered Command Deck
   ------------------------------------------------------------
   - Clear upper/lower hierarchy
   - Tactical screen framed
   - Heavy instrument deck
   - Borders reduced (cleaner hierarchy)
   ============================================================ */


/* ================= TOP BAR ================= */

#top-bar {
  height: 48px;
  background: #10151c;

  /* softened */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.app-title {
  font-size: 14px;
  letter-spacing: 3px;
  color: #6fe3a3;
}

.utc-clock {
  font-size: 12px;
  color: #7f8b99;
}


/* ================= APP STRUCTURE ================= */

#app {
  display: flex;
  height: calc(100vh - 48px);
}


/* ================= LEFT COLUMN ================= */

#stations {
  width: 280px;
  background: #141a22;

  /* removed heavy separator */
  border-right: none;

  overflow-y: auto;
}


/* ================= RIGHT COLUMN ================= */

#main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #0b0f14;
}


/* ============================================================
   TACTICAL SCREEN (UPPER LAYER)
   ============================================================ */

#celestial-map {
  height: 320px;
  background: #0e141b;

  /* removed bottom border */
  border-bottom: none;

  position: relative;
  overflow: hidden;

  /* keep depth without lines */
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.6),
    0 8px 18px rgba(0, 0, 0, 0.6);
}

/* SVG fitting */
#celestial-map svg {
  width: 100% !important;
  height: auto !important;
}

/* Tactical bezel frame (very subtle) */
#celestial-map::after {
  content: "";
  position: absolute;
  inset: 8px;

  /* softened */
  border: 1px solid rgba(110, 227, 163, 0.06);

  pointer-events: none;
}


/* ============================================================
   INSTRUMENT DECK (LOWER LAYER)
   ============================================================ */

#detail-panel {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;

  background: linear-gradient(180deg,
      #0d131a 0%,
      #0a0f14 100%);

  box-shadow:
    inset 0 10px 30px rgba(0, 0, 0, 0.6);
}


/* ================= Station summary ================= */

#detail-header {
  margin-bottom: 14px;
}

.station-summary {
  font-size: 20px;
  letter-spacing: 2px;
  font-weight: 500;
}


/* ================= Plot grid layout ================= */

#detail-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  flex: 1;
}