html, body {
  margin: 0;
  height: 100%;
  background:
    radial-gradient(ellipse 90% 70% at 50% 15%, #2d2f55 0%, #1b1b2f 55%, #101020 100%);
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
}

#scene {
  position: absolute;
  inset: 0;
  transform-origin: 50% 100%;
  transform: perspective(1600px) rotateX(14deg) scale(1.03);
}

#world {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
}

#labels {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  display: flex;
  pointer-events: none;
}

.team {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.team .row {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90%;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 6px 18px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
}

.team .tile {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.team .name {
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team .points {
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px currentColor, 0 2px 4px rgba(0,0,0,0.6);
}

#empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #aab;
}
#empty[hidden] { display: none; }
