.table-practice { max-width:42rem; margin:0 auto; padding:2rem 1rem; text-align:center; }
.table-practice h1 { font-size:clamp(2.4rem, 7vw, 4rem); letter-spacing:-.035em; line-height:1; margin-bottom:1rem; }
.table-practice > p { color:var(--muted); line-height:1.5; }
.table-practice-card { margin:1.5rem auto; padding:clamp(1rem, 4vw, 2rem); background:var(--white); border:1px solid var(--line); border-radius:1.35rem; }
.table-practice .tables { grid-template-columns:repeat(9, minmax(0, 1fr)); max-width:30rem; margin:1rem auto; }
.table-practice .tables button { font-size:clamp(.85rem, 4vw, 1.2rem); }
#practice-progress { color:var(--muted); font-weight:700; }
.practice-timer-wrap { max-width:22rem; margin:1rem auto 0; }
.practice-cane { display:block; width:100%; height:34px; }
.practice-cane path {
  fill:none;
  stroke-linecap:round;
  stroke-dasharray:var(--practice-cane-length, 100) 101;
}
.practice-cane[data-draining] path { transition:stroke-dasharray .1s linear; }
@media (prefers-reduced-motion:reduce) { .practice-cane[data-draining] path { transition:none; } }
.practice-number-space { display:flex; justify-content:center; align-items:center; gap:.1em; min-height:clamp(8rem, 28vh, 12rem); font-size:clamp(2.5rem, 11vw, 5rem); font-weight:900; line-height:1; font-variant-numeric:tabular-nums; white-space:nowrap; }
#practice-hidden { color:var(--muted); margin-bottom:.5rem; }
#practice-form { display:flex; flex-wrap:wrap; justify-content:center; gap:.5rem; }
#practice-answer { width:min(12rem, 65%); padding:.75rem; border:1px solid var(--line); border-radius:.6rem; color:var(--ink); background:var(--paper); }
#practice-form button { padding:.75rem 1rem; border:0; border-radius:.6rem; color:#172e28; background:var(--yellow); font-weight:850; }
#practice-feedback { min-height:1.5em; margin-top:.5rem; color:var(--muted); }
.practice-back { display:inline-block; font-weight:700; }

.table-practice .tables button.is-mastered {
  background:#aef0bd;
  border-color:#4b9d65;
  color:#103c24;
}
.table-practice .tables button.is-mastered[aria-pressed="true"] {
  outline:2px solid #d59b28;
  outline-offset:2px;
}
.table-practice .tables button.is-mastered:focus-visible {
  outline:3px solid #8a56ea;
  outline-offset:3px;
}
#practice-mastery-status:not(:empty), #practice-login {
  margin-bottom:.6rem;
}
