.practice-card .felt-table {
  position: relative;
  isolation: isolate;
}

.practice-card .practice-meter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  padding: 0;
  margin: 1.15rem 0 1.55rem;
  list-style: none;
}

.practice-meter > li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-width: 0;
  min-height: 46px;
  padding: .4rem .5rem;
  border: 1px solid #faf0e845;
  border-radius: 7px;
  background: #faf0e808;
  color: #e3e9da;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.practice-meter > li b {
  font-size: .875rem;
  font-weight: 600;
}

.practice-meter > li svg {
  width: 20px;
  height: 25px;
  flex-shrink: 0;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.practice-meter > li path {
  opacity: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.practice-meter > li.current {
  border-color: #faf0e8b3;
  background: #faf0e814;
  color: var(--ivory);
}

.practice-meter > li.complete {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--felt);
  box-shadow: 0 3px 0 var(--jade);
}

.practice-meter > li.complete path {
  opacity: 1;
  stroke: var(--red);
}

.practice-reward {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: .95rem;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1.1rem;
  border: 1px solid #c7d9bf;
  border-radius: 11px;
  background: #edf2e7;
}

.practice-reward-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 76px;
  border: 1px solid #dacdb8;
  border-radius: 10px;
  background: #fffaf3;
  box-shadow: 0 4px 0 var(--jade);
  transform: rotate(-6deg);
}

.practice-reward-emblem img {
  width: auto;
  height: 57px;
}

.practice-reward-emblem > span {
  position: absolute;
  right: -7px;
  bottom: -5px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid #fffaf3;
  border-radius: 50%;
  background: var(--red);
  color: white;
}

.practice-reward-emblem svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.practice-reward-count {
  display: block;
  margin-bottom: .2rem;
  color: var(--felt);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
}

.practice-reward h3 {
  color: var(--felt);
  font: 400 clamp(1.45rem, 2.2vw, 1.75rem)/1.12 var(--serif);
  letter-spacing: -.035em;
}

.hint-body .practice-reward p {
  min-height: 0;
  margin-top: .4rem;
  color: #36543d;
  font-size: 1rem;
  line-height: 1.45;
}

.practice-card[data-all-complete="true"] .practice-reward {
  background: #f9eee4;
  border-color: #d8b3a6;
}

.practice-card[data-all-complete="true"] .practice-reward-count {
  color: var(--red);
}

.practice-card[data-all-complete="true"] .practice-reward-emblem {
  box-shadow: 0 4px 0 var(--red);
}

.practice-celebration {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.practice-confetti {
  position: absolute;
  top: 60%;
  left: 50%;
  width: 7px;
  height: 12px;
  border-radius: 2px;
  background: var(--ivory);
  opacity: 0;
}

.practice-confetti.confetti-1 {
  background: #b8d2ad;
  width: 9px;
  height: 9px;
  border-radius: 0;
  clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
}

.practice-confetti.confetti-2 {
  background: #e7a599;
  width: 6px;
  height: 11px;
}

.practice-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.hint-body .practice-next-question {
  min-height: 0;
  margin-top: 1.25rem;
  color: var(--felt);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}

.practice-card[data-complete="true"] #practice-retry {
  padding: .65rem .95rem;
  border: 1px solid #acbba8;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}

.practice-card[data-complete="true"] #practice-retry:hover {
  background: #e5ecdf;
  border-color: var(--felt);
}

@media (max-width: 420px) {
  .practice-card .practice-meter {
    gap: .4rem;
  }

  .practice-meter > li {
    gap: .2rem;
    padding-inline: .2rem;
  }

  .practice-reward {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: .8rem;
    padding: .85rem .75rem;
  }

  .practice-reward-emblem {
    width: 48px;
    height: 64px;
  }

  .practice-reward-emblem img {
    height: 47px;
  }

  .practice-reward h3 {
    font-size: 1.45rem;
  }

  .practice-card[data-complete="true"] .practice-actions {
    align-items: stretch;
    gap: .65rem;
  }

  .practice-card[data-complete="true"] #practice-action,
  .practice-card[data-complete="true"] #practice-retry {
    width: 100%;
  }
}
