.round-score {
  min-height: 100dvh;
  background: radial-gradient(ellipse at 50% 22%,#205953ab,transparent 64%),
    linear-gradient(#051e21dd,#071f22f2),url('/assets/table.webp') center/cover;
  max-width: none;
}
.round-score > * { max-width: 620px; margin-inline: auto; }
.round-score .topbar { margin-bottom: 12px; }
.round-score .celebration { padding: 8px 0 15px; }
.round-score .celebration p { margin-top: 6px; }
.round-score .form-space { margin-top: 14px; }
.round-board {
  border: 1px solid #a48d55;
  border-radius: 18px;
  background: #123a38;
  padding: 7px;
  box-shadow: 0 0 30px #d4a85124, 0 14px 35px #001917;
  overflow: auto;
  max-height: 51dvh;
}
.base-track {
  display: grid;
  isolation: isolate;
  grid-template-columns: clamp(62px,19vw,108px) repeat(var(--lanes,4),minmax(0,1fr));
  grid-template-rows: repeat(var(--bases,2),clamp(72px,calc((51dvh - 14px - 4px * (var(--bases,2) - 1)) / var(--bases,2)),105px));
  gap: 4px;
}
.base-row {
  grid-column: 1/-1;
  border: 1px solid #82a99548;
  border-radius: 10px;
  background: linear-gradient(90deg,#184940,#214b45);
}
.base-row:nth-child(odd) { background: linear-gradient(90deg,#1e4f55,#254b48); }
.base-label {
  display: flex;
  height: 100%;
  width: clamp(62px,19vw,108px);
  flex-direction: column;
  justify-content: center;
  padding: 5px;
  gap: 5px;
  border-right: 1px solid #efd99c64;
  text-align: center;
  background: #b68d453a;
  border-radius: 9px 0 0 9px;
}
.base-row:nth-child(3n+2) .base-label { background: #459bc84f; }
.base-row:nth-child(3n) .base-label { background: #ce656444; }
.base-label strong { color: #f4d483; font-size: clamp(11px,3.2vw,15px); }
.base-label small { color: #d6e7d5; font-size: clamp(8px,2.4vw,11px); line-height: 1.2; }
.base-player {
  z-index: 1;
  position: relative;
  min-width: 0;
  align-self: center;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 3px 1px;
  font-size: clamp(9px,2.8vw,13px);
}
.base-player strong { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.base-token {
  display: grid;
  place-items: center;
  width: clamp(28px,9vw,44px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 40% 20%,#567f86,#1c4146 76%);
  color: #ffefc5;
  border: 2px solid #d9bd79;
  border-radius: 50%;
  box-shadow: 0 3px 7px #062324b8;
  font-size: 16px;
  font-weight: 800;
}
.base-token.base-you { background: radial-gradient(circle at 40% 20%,#a98446,#5a471e 76%); border-color: #ffde8f; }
.base-total { color: #ffe2a0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.base-penalty {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1px 3px;
  border-radius: 5px;
  color: #411e17;
  background: #ffbd99;
  font-weight: 750;
}
