.board-footer {
  flex-wrap: wrap;
  row-gap: 6px;
}
.turn-actions:has(.slam-control),
.turn-actions:has(.gather-control) {
  flex-wrap: wrap;
}
.slam-control,
.gather-control {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2px;
  min-height: 50px;
  flex: 1 0 100%;
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #731e19;
  border-radius: 8px;
  color: #fffaf4;
  font: 700 16px/1.2 var(--sans);
  text-align: center;
  cursor: pointer;
}
.slam-control {
  background: #a62723;
  box-shadow:
    inset 0 1px #f4a19477,
    0 3px 0 #6b1a18;
}
.slam-control strong {
  font: 750 18px/1.15 var(--sans);
}
.slam-control small {
  font: 500 12px/1.25 var(--sans);
  color: #ffebe1;
}
.slam-control:hover {
  background: #92211c;
}
.slam-control:active {
  translate: 0 2px;
  box-shadow: none;
}
.slam-control:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.gather-control {
  background: #305740;
  border-color: #264b35;
}
.gather-control:hover {
  background: #244631;
}
.slam-control:focus-visible,
.gather-control:focus-visible {
  outline: 3px solid #dfa64e;
  outline-offset: 3px;
}
#stage.scattered .throw-result {
  display: none;
}
.slam-announcement {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.slam-poster {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.3cqw;
  width: 83%;
  padding: 3cqw 4cqw 3.7cqw;
  border: 0.4cqw solid #571e1a;
  border-radius: 1.8cqw;
  background: #952b25;
  color: #fff5da;
  text-align: center;
  transform: rotate(-3deg);
  box-shadow:
    0 0.8cqw #591f1c,
    0 1.8cqw 2.5cqw #31241955;
  animation: slam-poster-in 270ms cubic-bezier(0.18, 0.78, 0.21, 1) both;
}
.slam-poster::before {
  content: "";
  position: absolute;
  inset: 0.7cqw;
  border: 1px solid #edac81;
  border-radius: 1cqw;
}
.slam-poster .participant {
  position: relative;
  justify-content: center;
  max-width: 94%;
  padding: 0.25cqw 2.1cqw 0.25cqw 0.6cqw;
  gap: 0.6cqw;
  border-radius: 99px;
  background: #fff5df;
  color: color-mix(in srgb, var(--pc) 72%, #18281e);
  font: 750 clamp(15px, 3.7cqw, 36px)/1.08 var(--sans);
}
.slam-poster .participant img {
  width: 1.65em;
  height: 1.65em;
}
.slam-poster strong {
  font: 900 clamp(24px, 7.4cqw, 82px)/1 var(--sans);
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-wrap: balance;
}
@keyframes slam-poster-in {
  0% {
    opacity: 0;
    transform: translateY(-3cqw) rotate(-7deg) scale(1.18);
  }
  70% {
    opacity: 1;
    transform: translateY(0.45cqw) rotate(-2deg) scale(0.98);
  }
  100% {
    transform: rotate(-3deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .slam-poster {
    animation: none;
  }
}
.start-celebration {
  position: absolute;
  left: 68%;
  top: 76%;
  z-index: 105;
  pointer-events: none;
  white-space: nowrap;
}
.start-celebration strong {
  position: relative;
  display: block;
  z-index: 1;
  border: 1px solid #d4bd7b;
  border-radius: 5px;
  background: #224e37;
  color: #fff2bd;
  padding: 0.4em 0.7em;
  font: 700 clamp(12px, 2.6cqw, 28px)/1.15 var(--serif);
  box-shadow: 0 0.14em 0.35em #1c321d38;
  animation: start-banner 1.55s both;
}
.start-celebration.exact {
  left: 58%;
  top: 69%;
}
.start-celebration.exact strong {
  font-size: clamp(16px, 3.2cqw, 33px);
  animation-duration: 1.95s;
}
.start-celebration i {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 0.75cqw;
  height: 1.3cqw;
  background: var(--paper);
  opacity: 0;
  animation: start-confetti 1.55s var(--delay) both;
}
@keyframes start-banner {
  0% {
    opacity: 0;
    transform: translateY(0.45em) scale(0.94);
  }
  14%,
  79% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: translateY(-0.45em);
  }
}
@keyframes start-confetti {
  0% {
    opacity: 0;
    transform: none;
  }
  8% {
    opacity: 1;
  }
  55% {
    opacity: 1;
    transform: translate(var(--dx), var(--dy)) rotate(var(--spin));
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--dx) * 1.15), calc(var(--dy) + 18cqw))
      rotate(calc(var(--spin) * 1.7));
  }
}
.property-subtotal {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 10px;
  justify-content: space-between;
  font-size: 13px;
  color: #536457;
}
@media (prefers-reduced-motion: reduce) {
  .start-celebration strong {
    animation: none;
  }
}
