/* PC-98 16-colour skin mapping for the compact Cygnus punch-card strip inside #w-cygnus on index.html. */
[data-cygnus-live][data-mode="compact"] {
  --cl-bg: var(--c0, #000000);
  --cl-deck: var(--c0, #000000);
  --cl-well: var(--c1, #120c24);
  --cl-grid: var(--c3, #33407a);
  --cl-rule: var(--c3, #33407a);
  --cl-amber: var(--c12, #f4cf8a);
  --cl-mint: var(--c15, #a6dcc4);
  --cl-cyan: var(--c14, #4f9488);
  --cl-ink: var(--c6, #cfd6f4);
  --cl-muted: var(--c5, #8fa0dd);
  --cl-t0: var(--c5, #8fa0dd);
  --cl-t1: var(--c15, #a6dcc4);
  --cl-t2: var(--c12, #f4cf8a);
  --cl-t3: var(--c11, #f08868);
  --cl-closed: var(--c10, #c8455a);
  --cl-inc: var(--c14, #4f9488);
  --cl-font: var(--f-mono, "Monaspace Krypton", ui-monospace, monospace);
}

/* Lock exact strip height before site.js pin() measures #w-cygnus on desktop (>= 1200px) so async history load never shifts or overlaps #w-progs. */
.cygnus-home-strip {
  border-top: 1px solid var(--c3);
  padding: 8px 10px 10px;
  background: var(--c0);
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  .cygnus-home-strip {
    height: 12.5rem;
    overflow: hidden;
  }
}

.cygnus-home-strip [data-cygnus-live][data-mode="compact"] {
  font-size: 11px;
  line-height: 1.35;
}

.cygnus-home-strip [data-cygnus-live][data-mode="compact"] .cl-console {
  gap: 5px;
}

.cygnus-home-strip .cl-card-scroll {
  height: 6.75rem;
  max-block-size: 6.75rem;
}

.cygnus-home-strip .cl-preview {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.4;
  block-size: 1.4em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cygnus-home-strip .cl-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 12px;
  font-size: 11px;
  line-height: 1.35;
}

.cygnus-home-strip .cl-summary > span:first-of-type {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cygnus-home-strip .cl-summary > span:nth-of-type(2) {
  display: none;
}

.cygnus-home-strip .cl-summary > a {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  white-space: nowrap;
}

.cygnus-home-strip .cl-summary > .cl-health {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 8px;
  min-width: 0;
}

.cygnus-home-strip .cl-summary > .cl-health .cl-badge {
  flex: 0 0 auto;
  padding: 0;
}

.cygnus-home-strip .cl-summary > .cl-health > span:last-child {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
