*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--game-bg, #fff59d);
}

#game-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--game-bg, #fff59d);
}

#game-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hud-keys {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}

.keycap {
  pointer-events: auto;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  user-select: none;
  font-family: Georgia, "Times New Roman", serif;
}

.keycap img {
  display: block;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}

.keycap__label {
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: left;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.keycap:hover:not(:disabled) img {
  filter: brightness(1.08);
}

.keycap:active:not(:disabled) img {
  transform: translateY(2px);
  filter: brightness(0.95);
}

.keycap:disabled {
  cursor: default;
  opacity: 0.55;
}

.keycap--music .keycap__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 2px solid #9aa0a6;
  border-radius: 9px;
  background:
    linear-gradient(180deg, #4a4e54 0%, #2c3036 55%, #23262b 100%);
  color: #d7dbe0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 2px 0 #111;
}

.keycap--music .keycap__icon svg {
  width: 16px;
  height: 16px;
  grid-area: 1 / 1;
}

.keycap--music .keycap__icon-on {
  display: block;
}

.keycap--music .keycap__icon-off {
  display: none;
}

.keycap--music.is-muted .keycap__icon-on {
  display: none;
}

.keycap--music.is-muted .keycap__icon-off {
  display: block;
}

.keycap--music:hover:not(:disabled) .keycap__icon {
  filter: brightness(1.08);
}

.keycap--music:active:not(:disabled) .keycap__icon {
  transform: translateY(2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 0 0 #111;
}

.dice-modal {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 36px 48px 0;
  pointer-events: none;
  box-sizing: border-box;
}

.dice-modal[hidden] {
  display: none;
}

.dice-modal.is-open {
  pointer-events: auto;
}

.dice-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dice-modal.is-open .dice-modal__backdrop {
  opacity: 1;
}

.dice-modal__panel {
  position: relative;
  width: var(--dice-modal-size, 220px);
  height: var(--dice-modal-size, 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: translateY(28px) scale(0.86);
  opacity: 0;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dice-modal.is-open .dice-modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.dice-modal.is-closing .dice-modal__panel {
  transform: translateY(18px) scale(0.92);
  opacity: 0;
  transition:
    transform 280ms cubic-bezier(0.4, 0, 1, 1),
    opacity 220ms cubic-bezier(0.4, 0, 1, 1);
}

.dice-modal.is-closing .dice-modal__backdrop {
  opacity: 0;
}

.dice-modal__face {
  width: var(--dice-face-size, 92%);
  height: var(--dice-face-size, 92%);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transform: rotate(0deg);
  will-change: transform;
}

.commentary {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  width: min(340px, calc(100vw - 36px));
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(12, 14, 18, 0.88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  font-family: Georgia, "Times New Roman", serif;
  color: #f2f2f2;
  overflow: hidden;
}

.commentary__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.commentary__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.commentary__timer {
  padding: 2px 8px;
  border-radius: 999px;
  background: #d4af37;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.commentary__log {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  pointer-events: auto;
}

.commentary__log::before {
  content: "";
  flex: 1 0 auto;
}

.commentary__log::-webkit-scrollbar {
  width: 6px;
}

.commentary__log::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.commentary__line {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #f2f2f2;
  word-wrap: break-word;
}

.commentary__who {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.commentary__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.commentary__line--good {
  color: #66bb6a;
}

.commentary__line--bad {
  color: #ef5350;
}

.commentary__line--gold {
  color: #ffd54f;
}

.room-exit {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 16, 8, 0.62);
}

.room-exit[hidden] {
  display: none;
}

.room-exit__panel {
  width: min(380px, calc(100vw - 32px));
  padding: 28px 24px;
  border: 4px solid #000;
  border-radius: 18px;
  background: #fffef2;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
}

.room-exit__panel h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.room-exit__panel p {
  color: #444;
  font-size: 15px;
}

.auth-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: auto;
  background: rgba(20, 16, 8, 0.55);
  backdrop-filter: blur(4px);
  opacity: 1;
  transition: opacity 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-overlay[hidden] {
  display: none;
}

.auth-overlay.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.auth-shell {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: min(640px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 36px));
  font-family: Georgia, "Times New Roman", serif;
}

.auth-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 78px;
  flex-shrink: 0;
  height: 100%;
  padding: 14px 10px;
  border: 4px solid #000;
  border-radius: 22px;
  background: #fffef2;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
}

.auth-nav__btn {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 3px solid #000;
  border-radius: 12px;
  background: #fff;
  color: #111;
  cursor: pointer;
}

.auth-nav__btn:hover {
  filter: brightness(0.97);
}

.auth-nav__btn.is-active {
  background: #fdd835;
}

.auth-nav__icon {
  width: 26px;
  height: 26px;
  display: block;
}

.auth-card {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 4px solid #000;
  border-radius: 22px;
  background: #fffef2;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
}

.auth-panels {
  position: relative;
  flex: 1;
  min-height: 0;
}

.auth-panel {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
}

.auth-panel.is-active {
  display: flex;
}

.auth-card h1 {
  font-size: 28px;
  line-height: 1.1;
  color: #111;
}

@media (max-width: 640px) {
  .auth-shell {
    flex-direction: column;
    width: min(420px, calc(100vw - 32px));
    height: min(640px, calc(100vh - 36px));
  }

  .auth-nav {
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: center;
    padding: 12px;
  }

  .auth-nav__btn {
    width: 52px;
    flex: 0 0 auto;
  }

  .auth-card {
    flex: 1;
    min-height: 0;
  }
}

.auth-sub {
  margin-bottom: 8px;
  color: #444;
  font-size: 14px;
}

.auth-label {
  font-size: 13px;
  font-weight: 700;
  color: #222;
}

#auth-name,
.auth-lang {
  width: 100%;
  padding: 12px 14px;
  border: 3px solid #000;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: #111;
  outline: none;
}

#auth-name:focus,
.auth-lang:focus {
  box-shadow: 0 0 0 3px rgba(253, 216, 53, 0.55);
}

.auth-colors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 6px;
}

.auth-color {
  cursor: pointer;
}

.auth-color input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-color span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 3px solid #000;
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
  color: #111;
}

.auth-color span::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--swatch);
  border: 2px solid #000;
}

.auth-color input:checked + span {
  background: var(--swatch);
  color: #111;
}

.auth-color input:checked + span::before {
  background: #fff;
}

.auth-color input[value="red"]:checked + span,
.auth-color input[value="blue"]:checked + span,
.auth-color input[value="green"]:checked + span {
  color: #fff;
}

.auth-submit {
  margin-top: 8px;
  border: 3px solid #000;
  border-radius: 12px;
  padding: 12px 16px;
  background: #fdd835;
  color: #111;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.auth-submit:hover {
  filter: brightness(0.97);
}

.auth-players {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}

.auth-seat {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  min-height: 108px;
  padding: 12px;
  border: 3px solid #000;
  border-radius: 14px;
  background: var(--seat, #ccc);
  box-shadow: 0 3px 0 #111;
  cursor: pointer;
  user-select: none;
  transition: transform 80ms ease, box-shadow 80ms ease;
}

.auth-seat:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #111;
}

.auth-seat.is-off {
  background: #d7d2c2;
  opacity: 0.75;
  filter: grayscale(0.55);
  box-shadow: none;
}

.auth-seat.is-you {
  box-shadow: 0 3px 0 #111, inset 0 0 0 3px #111;
}

.auth-seat__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.auth-seat__swatch {
  display: none;
}

.auth-seat__name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  text-transform: capitalize;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.auth-seat[data-color-id="yellow"] .auth-seat__name {
  color: #111;
  text-shadow: none;
}

.auth-seat.is-off .auth-seat__name {
  color: #555;
  text-shadow: none;
}

.auth-seat__roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
  border: 2px solid #000;
  border-radius: 10px;
  overflow: hidden;
  background: #f3efe3;
}

.auth-seat__opt {
  margin: 0;
  padding: 8px 4px;
  border: 0;
  border-right: 2px solid #000;
  background: transparent;
  color: #333;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.auth-seat__opt:last-child {
  border-right: 0;
}

.auth-seat__opt:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.06);
}

.auth-seat__opt.is-selected {
  background: #fdd835;
  color: #111;
}

.auth-seat__opt[data-seat-state="you"].is-selected {
  background: var(--seat, #fdd835);
  color: #fff;
}

.auth-seat[data-color-id="yellow"] .auth-seat__opt[data-seat-state="you"].is-selected {
  color: #111;
}

.auth-seat__opt[data-seat-state="ai"].is-selected {
  background: #111;
  color: #fff;
}

.auth-seat__opt[data-seat-state="off"].is-selected {
  background: #cfc9b8;
  color: #444;
}

.auth-seat__opt:disabled,
.auth-seat__opt.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.auth-error {
  min-height: 1.2em;
  color: #b71c1c;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.auth-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.auth-option--inline {
  margin-top: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.auth-option input {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.auth-option-hint {
  margin-top: -4px;
  margin-bottom: 4px;
  color: #666;
  font-size: 12px;
}

.auth-sound-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.auth-sound-select {
  width: 118px;
  flex-shrink: 0;
  padding: 8px 10px;
  border: 3px solid #000;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  outline: none;
  cursor: pointer;
}

.auth-sound-select:focus {
  box-shadow: 0 0 0 3px rgba(253, 216, 53, 0.55);
}

.auth-sound-play {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  padding: 0;
  border: 3px solid #000;
  border-radius: 10px;
  background: #fdd835;
  color: #111;
  cursor: pointer;
}

.auth-sound-play:hover {
  filter: brightness(0.97);
}

.auth-sound-play__icon {
  width: 16px;
  height: 16px;
  display: block;
}

.auth-volume {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  cursor: pointer;
}

.auth-volume__range {
  width: 100%;
  accent-color: #fdd835;
  cursor: pointer;
}

.auth-volume__range:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.choice-modal {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.choice-modal[hidden] {
  display: none;
}

.choice-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.choice-modal__panel {
  position: relative;
  width: min(360px, calc(100vw - 32px));
  padding: 22px 20px;
  border: 4px solid #000;
  border-radius: 18px;
  background: #fffef2;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  font-family: Georgia, "Times New Roman", serif;
}

.choice-modal__panel h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.choice-modal__sub {
  margin-bottom: 14px;
  color: #444;
  font-size: 14px;
}

.choice-modal__timer {
  margin: -6px 0 14px;
  padding: 8px 10px;
  border: 2px solid #000;
  border-radius: 10px;
  background: #fdd835;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.choice-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choice-modal__btn {
  border: 3px solid #000;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.choice-modal__btn:hover {
  background: #fdd835;
}

.leaderboard-card {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: min(280px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 16px 14px;
  border: 4px solid #000;
  border-radius: 18px;
  background: #fffef2;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  pointer-events: none;
}

.leaderboard-card h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.leaderboard-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.leaderboard-list li {
  display: grid;
  grid-template-columns: 24px 14px 1fr auto;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 2px solid #000;
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.leaderboard-rank {
  text-align: center;
}

.leaderboard-medal {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  justify-self: center;
  -webkit-user-drag: none;
  pointer-events: none;
}

.leaderboard-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #000;
  background: var(--swatch, #888);
}

.leaderboard-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-score {
  font-size: 11px;
  color: #444;
}

.leaderboard-empty {
  display: block !important;
  border: 0 !important;
  background: transparent !important;
  color: #666;
  font-weight: 600;
}

.confetti-layer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.win-modal {
  position: absolute;
  inset: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.win-modal[hidden] {
  display: none;
}

.win-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 18, 0.55);
  backdrop-filter: blur(4px);
}

.win-modal__panel {
  position: relative;
  width: min(420px, calc(100vw - 32px));
  padding: 32px 28px 28px;
  border: 4px solid #000;
  border-radius: 22px;
  background:
    radial-gradient(circle at top, rgba(255, 213, 79, 0.35), transparent 55%),
    #fffef2;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  animation: win-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes win-pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.win-modal__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8860b;
}

.win-modal__panel h2 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.15;
  color: #111;
}

.win-modal__winner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px 16px;
  border: 3px solid #000;
  border-radius: 999px;
  background: #fff;
}

.win-modal__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #000;
  flex-shrink: 0;
}

.win-modal__name {
  font-size: 20px;
  font-weight: 700;
  color: #111;
}

.win-modal__sub {
  margin: 0 0 22px;
  color: #444;
  font-size: 15px;
  line-height: 1.4;
}

.win-modal__btn {
  appearance: none;
  border: 3px solid #000;
  border-radius: 14px;
  padding: 12px 22px;
  background: #fdd835;
  color: #111;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.win-modal__btn:hover {
  filter: brightness(1.05);
}

.win-modal__btn:active {
  transform: translateY(1px);
}

.pause-modal {
  position: absolute;
  inset: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.pause-modal[hidden] {
  display: none;
}

.pause-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 8, 0.62);
  backdrop-filter: blur(4px);
}

.pause-modal__panel {
  position: relative;
  width: min(420px, calc(100vw - 32px));
  padding: 26px 24px 22px;
  border: 4px solid #000;
  border-radius: 22px;
  background: #fffef2;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
}

.pause-modal__panel h2 {
  font-size: 28px;
  line-height: 1.1;
  color: #111;
}

.pause-modal__sub {
  margin-bottom: 4px;
  color: #444;
  font-size: 14px;
}

.pause-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.pause-modal__btn {
  flex: 1 1 0;
  margin-top: 0;
  border: 3px solid #000;
  border-radius: 12px;
  padding: 12px 16px;
  background: #fdd835;
  color: #111;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.pause-modal__btn--restart {
  background: #fff;
}

.pause-modal__btn:hover {
  filter: brightness(0.97);
}

body.is-paused #choice-modal,
body.is-paused #key-roll {
  pointer-events: none;
}
