/* Recently Shipped Strip — homepage dev-log teaser */

.recently-shipped {
  margin: 2rem 0 1.5rem;
  font-family: var(--font-mono);
}

.rs-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0 0.5rem 0.5rem;
  border-bottom: 1px solid var(--bg-3);
  margin-bottom: 0.25rem;
  font-size: 0.7rem;
  color: var(--text-2);
  opacity: 0.45;
  text-transform: lowercase;
  letter-spacing: 0.08em;
}

.rs-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.35rem 0.5rem;
  text-decoration: none;
  color: var(--text-1);
  transition: background-color 0.15s ease;
  border-radius: 3px;
}

.rs-row:nth-child(odd) {
  background: rgb(from var(--bg-2) r g b / 40%);
}

.rs-row:hover {
  background-color: var(--bg-2);
}

.rs-row:hover .rs-repo {
  color: var(--text-1);
}

.rs-row:hover .rs-arrow {
  transform: translateX(3px);
}

.rs-date {
  font-size: 0.8rem;
  color: var(--text-2);
  opacity: 0.6;
  min-width: 11ch;
  flex-shrink: 0;
}

.rs-repo {
  font-size: 0.8rem;
  color: var(--accent);
  min-width: 20ch;
  flex-shrink: 0;
  padding-right: 1rem;
  transition: color 0.15s ease;
}

.rs-summary {
  font-size: 0.8rem;
  color: var(--text-1);
  opacity: 0.65;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rs-arrow {
  font-size: 0.8rem;
  color: var(--accent);
  margin-left: 0.75rem;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.rs-footer {
  border-top: 1px solid var(--bg-3);
  margin-top: 0.25rem;
  padding-top: 0.4rem;
  text-align: right;
}

.rs-more {
  font-size: 0.75rem;
  color: var(--accent);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

.rs-more:hover {
  opacity: 1;
}

/* Settings toggle: hide-recently-shipped */
body.hide-recently-shipped .recently-shipped {
  display: none;
}

/* Mobile: collapse repo column */
@media (width <= 600px) {
  .rs-row {
    flex-wrap: wrap;
    gap: 0.15rem 0.5rem;
  }

  .rs-repo {
    min-width: auto;
    padding-right: 0;
  }

  .rs-summary {
    width: 100%;
    min-width: 0;
  }
}
