/* Containment additions: the protected strand, the Avery Bloom and result stars. */
.telemetry {
  gap: 16px;
}
.strand {
  display: flex;
  gap: 2px;
  flex: 1;
  max-width: 420px;
  margin-left: auto;
  align-self: center;
}
.strand i {
  flex: 1;
  min-width: 0;
  height: 20px;
  border-radius: 4px;
  font: normal 700 9px/20px Inter, system-ui, sans-serif;
  text-align: center;
  color: #33485a;
  background: #0d1a28;
  border: 1px dashed #2a3f51;
  transition: background 0.3s, color 0.3s;
}
.strand i.on {
  color: #0a1622;
  border: 1px solid transparent;
}
.strand i.on.A { background: #58c4ff; }
.strand i.on.C { background: #b595ff; }
.strand i.on.G { background: #7ee1b7; }
.strand i.on.T { background: #f38bdc; }
.bloom-charge {
  --charge: 0%;
  margin-top: 8px;
  color: #d9e4ff;
  border-color: #4a5a8a;
  background: linear-gradient(90deg, #6f8dff40 var(--charge), transparent var(--charge));
}
.bloom-charge.ready:not(:disabled) {
  color: #07101c;
  border-color: #cbd8ff;
  background: linear-gradient(120deg, #5de4ff, #8fb8ff 45%, #c79bff);
  box-shadow: 0 0 22px #8fb8ff55;
}
.bond-note {
  margin-top: 10px;
  color: #cdbcff;
}
.result-stars {
  display: flex;
  gap: 6px;
  margin: 4px 0 12px;
}
.result-stars:empty {
  display: none;
}
.result-stars i {
  font-style: normal;
  font-size: 28px;
  color: #2d3d4d;
}
.result-stars i.on {
  color: #ffd166;
  text-shadow: 0 0 12px #ffd16666;
}
@media (max-width: 760px) {
  .telemetry {
    flex-wrap: wrap;
  }
  .strand {
    order: 5;
    flex-basis: 100%;
    max-width: none;
    margin-left: 0;
  }
  .strand i {
    height: 15px;
    font-size: 7px;
    line-height: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .strand i {
    transition: none;
  }
}

/* Short desktop screens (1280×720 laptops): keep Launch above the fold. Flush and Bloom
   share a row, and the station cards tighten. */
@media (min-width: 901px) and (max-height: 820px) {
  .panel:has(> #flush) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 8px;
  }
  .panel:has(> #flush) > :not(#flush):not(#bloom) {
    grid-column: 1 / -1;
  }
  .panel:has(> #flush) > #flush,
  .panel:has(> #flush) > #bloom {
    margin-top: 8px;
    font-size: 13px;
  }
  .station {
    padding-block: 8px;
  }
  .station small {
    font-size: 11px;
    line-height: 1.3;
  }
  .sidebar {
    gap: 10px;
  }
  .sidebar .panel {
    padding-block: 12px;
  }
  /* The valve hint is also in the Guide. */
  .panel:has(> #flush) > p {
    display: none;
  }
}
@media (min-width: 901px) and (max-height: 820px) {
  .panel:has(> #flush) > #flush,
  .panel:has(> #flush) > #bloom {
    min-height: 44px;
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1.25;
  }
}
/* Laptop-height screens: station descriptions live in the Guide and each card's label. */
@media (min-width: 901px) and (max-height: 760px) {
  .station small {
    display: none;
  }
}
