/* Reuse the scoreboard's sunken controls, parchment and sea-ink palette. */
/* Final snapshots have no live rank movement or last-update score changes. */
scores-page delta-slot,
score-delta,
dyn-delta,
point-delta,
cell-tooltip > span[data-trend] {
  display: none !important;
}

.archive-round-bar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.25rem 0.875rem;
  color: var(--z-cream, #ddd8cb);
}
.archive-round-switch {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 0.75rem;
  background: rgb(0 24 41 / 25%);
  box-shadow: inset 0 1px 3px rgb(0 16 27 / 24%);
}
.archive-round-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  color: #ddd8cb;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}
.archive-round-link:hover { background: rgb(221 216 203 / 12%); }
.archive-round-link[aria-current] {
  color: #123b50;
  background-color: #ddd8cb;
  background-image: var(--z-grit);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 45%), 0 2px 4px rgb(0 16 27 / 18%);
}
.archive-round-link:focus-visible { outline: 2px solid #ddd8cb; outline-offset: 3px; }
.archive-round-count { font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.archive-round-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.4rem;
  border: 1px solid rgb(19 59 79 / 25%);
  border-radius: 0.25rem;
  background: rgb(19 59 79 / 8%);
  color: #133b4f;
  font-size: 0.6875rem;
  line-height: 1.25;
  font-weight: 500;
}
.challenge-card > span:first-of-type > span:first-child { flex: 1; }
details-header .archive-round-badge {
  color: #ddd8cb;
  border-color: rgb(221 216 203 / 40%);
  background: rgb(221 216 203 / 8%);
  font-size: 0.8125rem;
}
@media (width >= 40rem) {
  .archive-round-bar { padding-inline: 2.5rem; }
}
@media (width < 40rem) {
  .archive-round-bar { gap: 0.5rem; padding-inline: 0.75rem; }
  .archive-round-link { padding-inline: 0.625rem; font-size: 0.8125rem; }
  .archive-round-count { font-size: 0.75rem; }
}
