/* ── Done screen ── */
.done-wrap {
  color: rgba(255, 255, 255, 0.92);
  height: auto;
  margin: 0 auto;
  max-width: 680px;
  min-height: 100dvh;
  overflow-y: visible;
  padding: 40px clamp(18px, 4vw, 44px) 72px;
}
.level-row {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 0;
}
.level-row + .level-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.level-row-label {
  flex: 1;
  font-size: 13px;
  min-width: 0;
}
.level-row-score {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.8;
  white-space: nowrap;
}
.done-header {
  margin: 0 auto 4px;
  max-width: 560px;
  text-align: center;
}
.done-eyebrow {
  font-size: 11px;
  letter-spacing: .04em;
  opacity: .6;
  text-transform: uppercase;
}
.done-score {
  font-size: clamp(40px, 8vw, 68px);
  font-weight: 800;
  line-height: 1;
}
.card {
  border: 1px solid rgba(127, 127, 127, 0.22);
  border-radius: 8px;
  margin-top: 16px;
  padding: 16px;
}
.small {
  font-size: 13px;
  opacity: 0.75;
}
.break {
  padding: 10px 0;
}
.done-btn-icon {
  font-family: system-ui, sans-serif;
  margin-right: 5px;
}
.done-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 22px auto 0;
  max-width: 560px;
}
.done-btn-wrap {
  flex: 1;
  margin: 0;
}
.done-btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  min-height: 46px;
  padding: 12px 10px;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

/* ── Animals played list (done screen) ── */
.animals-played {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  margin-top: 16px;
}
.animal-played-row {
  align-items:     flex-start;
  border-radius:   12px;
  border-top:      1px solid rgba(255, 255, 255, 0.08);
  color:           inherit;
  display:         flex;
  gap:             14px;
  padding:         14px 0;
  text-decoration: none;
}
.animal-played-thumb {
  border-radius: 10px;
  flex-shrink:   0;
  height:        90px;
  object-fit:    cover;
  width:         90px;
}
.animal-played-thumb--empty {
  background: rgba(255, 255, 255, 0.06);
}
.animal-played-info {
  flex: 1;
  min-width: 0;
}
.animal-played-header {
  align-items:     baseline;
  display:         flex;
  flex-wrap:       wrap;
  gap:             8px;
  justify-content: space-between;
  margin-bottom:   8px;
}
.animal-played-name {
  font-size:   14px;
  font-weight: 600;
  min-width:   0;
}
.animal-played-date {
  color:         rgba(255, 255, 255, 0.45);
  font-size:     11px;
  margin-bottom: 8px;
  opacity:       0.9;
}
.animal-played-score {
  color:       rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  font-size:   12px;
  font-weight: 600;
}
.animal-played-taxonomy {
  display:               grid;
  gap:                   2px 12px;
  grid-template-columns: 1fr;
}
.animal-played-taxon {
  display:  flex;
  gap:      5px;
  overflow: hidden;
}
.animal-played-taxon-label {
  color:          rgba(255, 255, 255, 0.35);
  flex-shrink:    0;
  font-family:    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size:      10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width:          56px;
}
.animal-played-taxon-value {
  color:     rgba(255, 255, 255, 0.7);
  font-size: 11px;
  min-width: 0;
  overflow:  hidden;
  text-overflow: ellipsis;
  white-space:   nowrap;
}

@media (max-width: 760px) {
  .animals-played {
    grid-template-columns: 1fr;
  }
  .done-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .done-btn-wrap {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .animal-played-row {
    gap:     10px;
    padding: 12px 0;
  }
  .animal-played-thumb {
    height: 72px;
    width:  72px;
  }
  .level-row {
    align-items: flex-start;
  }
}
