.table-practice {
  box-sizing: border-box;
  container-type: inline-size;
  width: min(100%, 29rem);
  min-inline-size: 0;
  margin: .2rem auto .45rem;
  padding: .55rem .7rem .85rem;
  border: 2px solid #fff;
  border-radius: 1.15rem;
  background: #fff8eaf5;
  color: #4b345a;
  text-align: center;
}
.table-practice legend,
.table-practice-heading {
  font: 600 1rem/1.2 var(--am-readable-font, system-ui);
}
.table-practice legend {
  margin-inline: auto;
  padding: .2rem .75rem;
  border-radius: 999px;
  background: #fff8ea;
}
.table-practice-heading {
  margin: .7rem 0 .35rem;
}
.table-practice-numbers,
.table-practice-challenges {
  display: grid;
  gap: .4rem;
}
.table-practice-numbers {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 19rem;
  margin-inline: auto;
}
.table-practice-challenges {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.table-practice label {
  position: relative;
  display: grid;
  min-width: 0;
  margin: 0;
  cursor: pointer;
}
.table-practice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.table-practice label span {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: .25rem .4rem;
  border: 2px solid #b58dbb;
  border-radius: 999px;
  background: #f0dfef;
  color: #493053;
  box-shadow: 0 2px 0 #c9a9ce;
  font: 700 .875rem/1.1 var(--am-readable-font, system-ui);
}
.table-practice-numbers label span {
  font-family: 'claire_handbold', var(--am-readable-font, system-ui);
  font-size: 1.25rem;
}
.table-practice label:hover span {
  border-color: #723c78;
}
.table-practice input:checked + span {
  border-color: #623668;
  background: #794582;
  color: #fff;
  box-shadow: 0 2px 0 #623668;
}
.table-practice input:focus-visible + span {
  outline: 3px solid #53315e;
  outline-offset: 2px;
}
@container (min-width: 432px) {
  .table-practice-numbers {
    grid-template-columns: repeat(9, minmax(0, 1fr));
    max-width: none;
  }
}
