.results-page {
  width: 100%;
  min-width: 0;
  max-width: 78rem;
  margin-inline: auto;
  scroll-margin-top: 1rem;
}

.results-page > * {
  min-width: 0;
}

.results-heading > * {
  margin-block: 0;
}

.results-live-notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgb(183 121 31 / 35%);
  border-radius: 1rem;
  background: linear-gradient(135deg, #fff8dc, #fff);
  box-shadow: 0 0.45rem 1.4rem rgb(42 3 9 / 7%);
}

.results-live-notice__dot {
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
  margin-top: 0.42rem;
  border: 3px solid rgb(134 31 53 / 16%);
  border-radius: 50%;
  background: #861f35;
  box-sizing: content-box;
}

.results-live-notice strong {
  color: #5a0b1a;
  font-size: 1.05rem;
}

.results-live-notice p {
  margin: 0.25rem 0 0;
  color: #534347;
}

.results-updated {
  margin-block: 0;
  color: #7a1427;
  font-size: 0.875rem;
  font-weight: 700;
}

.result-tabs-shell {
  position: sticky;
  z-index: 10;
  top: 0;
  margin-inline: -0.5rem;
  padding: 0.55rem 0.5rem 0;
  background: rgb(250 247 244 / 96%);
  box-shadow: 0 0.55rem 0.8rem -0.8rem rgb(42 3 9 / 55%);
  backdrop-filter: blur(10px);
}

.result-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.15rem 0 0.7rem;
  scrollbar-width: thin;
  scroll-padding-inline: 0.5rem;
}

.result-tabs a {
  display: inline-flex;
  flex: none;
  min-height: 44px;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid #d6a92f;
  border-radius: 999px;
  background: #fff;
  color: #7a1427;
  font-weight: 700;
  text-decoration: none;
}

.result-tabs a:hover,
.result-tabs a:focus-visible {
  background: #fff8dc;
  outline: 2px solid #7a1427;
  outline-offset: 2px;
}

.result-tabs a.is-active {
  border-color: #7a1427;
  background: #7a1427;
  color: #fff;
  box-shadow: 0 0.35rem 0.9rem rgb(42 3 9 / 18%);
}

.result-tabs a.is-active:hover,
.result-tabs a.is-active:focus-visible {
  background: #5a0b1a;
}

.results-nomination {
  scroll-margin-top: 5rem;
}

.results-nomination > h2 {
  margin-bottom: 0;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.result-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--color-surface, #fff);
  box-shadow: 0 0.6rem 2rem rgb(42 3 9 / 10%);
}

.result-card--gold {
  outline: 3px solid #d6a92f;
  box-shadow: 0 0.6rem 2rem rgb(122 77 5 / 22%);
}

.result-card--gold .result-place {
  background: #b8870b;
  color: #fff8dc;
}

.result-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.result-card > .stack {
  padding: 1rem;
}

.result-card h3,
.result-card p {
  margin: 0;
}

.result-place {
  position: absolute;
  z-index: 2;
  top: 0.7rem;
  left: 0.7rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #7a1427;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
}

.results-back-to-top {
  position: fixed;
  z-index: 30;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0.65rem 1rem;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 999px;
  background: #7a1427;
  box-shadow: 0 0.55rem 1.4rem rgb(42 3 9 / 30%);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.75rem);
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.results-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.results-back-to-top:hover,
.results-back-to-top:focus-visible {
  background: #5a0b1a;
  outline: 3px solid #d6a92f;
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .results-page {
    gap: 1rem;
  }

  .results-live-notice {
    gap: 0.75rem;
    padding: 1rem;
  }

  .result-tabs-shell {
    margin-inline: -0.625rem;
    padding-inline: 0.625rem;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }

  .results-back-to-top {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    min-height: 46px;
    padding: 0.6rem 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .results-back-to-top {
    transition: none;
  }
}
