/* ✈️ FLEET COMPLETION. */
.fleet-list,
.fleet-planes {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.fleet-row + .fleet-row {
  margin-top: 8px;
}

/* The fleet rows are cards, not links in a line: a class of their own, because .fleet-link is the plain link a dozen
   other pages use (it turned ON THIS DAY's catches into boxes with their type hanging underneath). */
.fleet-card-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  padding: 8px 10px;
  border: 1px solid var(--c-grey-333);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}

.fleet-card-link .start-quest-bar {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.fleet-name {
  font-weight: bold;
  overflow-wrap: anywhere;
}

.fleet-code {
  color: var(--c-grey-aaa);
  font-size: 0.72rem;
  font-weight: normal;
}

.fleet-count {
  color: var(--c-grey-aaa);
  font-size: 0.8rem;
  white-space: nowrap;
}

.fleet-planes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 6px;
}

.fleet-plane a {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 8px;
  border: 1px solid var(--c-grey-333);
  border-radius: 6px;
  color: inherit;
  font-size: 0.82rem;
  text-decoration: none;
}

.fleet-plane--caught a {
  border-color: var(--c-green);
}

.fleet-plane--todo {
  opacity: 0.75;
}

.fleet-plane-type,
.fleet-plane-seen {
  color: var(--c-grey-aaa);
  font-size: 0.7rem;
}
