/* Sunburst supplies the weathered object. Its labels and action remain HTML. */
.home-scoreboard {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  justify-self: center;
  align-self: center;
  width: min(100%, 480px);
  aspect-ratio: 1;
  margin: 0;
  color: #fff1cf;
  filter: drop-shadow(8px 14px 16px #02070d70);
}
.home-scoreboard-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.home-scoreboard-title,
.home-scoreboard-subtitle,
.home-scoreboard-team,
.home-scoreboard-caption {
  position: absolute;
  left: 6%;
  right: 2%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  text-align: center;
}
.home-scoreboard-title {
  top: 8%;
  height: 6.2%;
  color: #fff1cf;
  font: 400 clamp(21px, 6.8cqw, 34px)/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .025em;
}
.home-scoreboard-subtitle {
  top: 15.6%;
  height: 3.6%;
  font-size: clamp(12px, 3cqw, 15px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.home-scoreboard-year {
  position: absolute;
  top: 20.3%;
  left: 7.5%;
  right: 2.5%;
  height: 20.3%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1%;
  align-items: center;
  font: 400 clamp(44px, 20.5cqw, 104px)/.9 var(--display);
  font-variant-numeric: tabular-nums;
  text-align: center;
  text-shadow: 0 2px 3px #060e1660;
}
.home-scoreboard-team {
  top: 42%;
  height: 6.4%;
  font: 400 clamp(20px, 6.5cqw, 33px)/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .025em;
}
.home-scoreboard-players {
  position: absolute;
  top: 49.9%;
  left: 7.3%;
  width: 90.8%;
  height: 28.2%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  color: #fff1cf;
}
.home-scoreboard-players thead { height: 13%; }
.home-scoreboard-players tbody tr { height: 33.333%; }
.home-scoreboard-players th,
.home-scoreboard-players td {
  padding: 0;
  border: 0;
  background: transparent;
  vertical-align: middle;
  line-height: 1.15;
}
.home-scoreboard-players th {
  font-size: clamp(12px, 3.1cqw, 16px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.home-scoreboard-players td {
  font-size: clamp(16px, 4.6cqw, 23px);
  font-weight: 700;
}
.home-scoreboard-players :is(th, td):first-child {
  width: 80%;
  padding-left: 2%;
  text-align: left;
}
.home-scoreboard-players :is(th, td):last-child { text-align: center; }
.home-scoreboard-pick {
  position: absolute;
  top: 84.4%;
  left: 7.5%;
  width: 90%;
  height: 11.1%;
  min-height: 44px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #163e2f;
  font: 700 clamp(18px, 5.1cqw, 26px)/1.1 'Segoe UI', Arial, sans-serif;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}
.home-scoreboard-pick svg { width: 1.15em; height: .9em; flex-shrink: 0; }
.home-scoreboard-pick:hover { background: #fff4d988; color: #102f24; }
.home-scoreboard-pick:focus-visible {
  outline: 3px solid #ff5b20;
  outline-offset: -6px;
  background: #fff4d988;
  color: #102f24;
}
.home-scoreboard-pick:disabled { cursor: wait; opacity: .65; }
.home-scoreboard-caption {
  top: 92.1%;
  height: 4.3%;
  font-size: clamp(13px, 3.1cqw, 15px);
  line-height: 1.1;
  color: #fff1cf;
}
@media (max-width: 700px) {
  .home-scoreboard { width: min(100%, 440px); align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .home-scoreboard-pick { transition: none; }
}
