#mix-names {
  margin-block: clamp(1.25rem, 3.5vw, 2.6rem) 0;
  container-type: inline-size;
}

.mix-name-game {
  display: grid;
  align-items: center;
  gap: .85rem 2rem;
  padding: clamp(1rem, 2.6vw, 1.8rem);
  border: 1px solid #d4c5a8;
  border-radius: 16px;
  background: #fff8ea;
  color: var(--ink, #102e24);
}
.mix-name-copy h2 {
  margin: 0;
  font: 400 clamp(1.55rem, 3vw, 2.2rem)/1.1 var(--display, Georgia, serif);
  letter-spacing: -.045em;
}
.mix-name-caption { margin: .4rem 0 0; font-size: 1.05rem; }
.mix-name-controls { min-width: 0; }
.mix-name-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.mix-name-options button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .43em;
  min-height: 44px;
  padding: .5em .83em .5em .64em;
  border: 1px solid #ad8a56;
  border-radius: 1.4rem .65rem .65rem 1.4rem;
  background: #f7d997;
  color: #243529;
  font: 400 1.03rem/1.2 var(--display, Georgia, serif);
}
.mix-name-options button:nth-child(2) { background: #dce9d0; border-color: #8ba087; }
.mix-name-options button:nth-child(3) { background: #e8dae9; border-color: #b298aa; }
.mix-name-options button::before {
  content: "";
  width: .42em;
  height: .42em;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #fff8ea;
}
.mix-name-options button[aria-pressed="true"] {
  background: #214b3a;
  border-color: #214b3a;
  color: #fff9ec;
}
.mix-name-options button:hover { text-decoration: underline; }
.mix-name-shuffle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 0;
  padding: .35rem 0;
  background: transparent;
  color: #254d3a;
  font: 600 1rem/1.2 var(--body, Georgia, serif);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .21em;
}
.mix-name-shuffle:hover { text-decoration-thickness: 2px; }

@container (min-width: 47rem) {
  .mix-name-game { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
}
