/* Keeps the rules dialog on screen. The live dialog uses the same card, just without a max-height. */
.game-dialog {
  max-height: calc(100vh - 2rem);
  overflow: auto;
}

.game-dialog:focus {
  outline: none;
}

.guide-note {
  max-width: 48rem;
  border-left: 3px solid oklch(0.82 0.16 80);
  padding-left: 1rem;
}

.underline {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.wa-btn,
.wa-float {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #25d366;
  color: #06281a;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.wa-btn {
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.8);
}

.wa-btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
}

.wa-btn:hover,
.wa-float:hover {
  background: #1ebe5d;
}

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  border-radius: 999px;
  padding: 0.9rem 1.15rem;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.7);
}

.wa-btn svg,
.wa-float svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}

.wa-beside {
  margin-top: 1.5rem;
  margin-left: 0.75rem;
}
