:root {
  --ink: #252044;
  --muted: #625d7a;
  --purple: #5746b9;
  --purple-dark: #3b2e7e;
  --purple-pale: #eeeafd;
  --yellow: #ffcf4a;
  --yellow-soft: #fff4bf;
  --coral: #ff6f61;
  --mint: #39b98a;
  --mint-soft: #ddf7ed;
  --sky: #55b9e8;
  --paper: #fffdfa;
  --white: #fff;
  --line: #ded9ed;
  --shadow: 0 18px 50px rgba(59, 46, 126, 0.14);
  --shadow-small: 0 7px 20px rgba(59, 46, 126, 0.11);
  --radius: 22px;
  --shell: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-rounded, "Nunito", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; border-radius: 8px; color: #fff; background: var(--purple-dark); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; }
h1 { max-width: 720px; margin-bottom: 20px; font-size: clamp(2.7rem, 7vw, 5.3rem); }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3rem); }
h3 { margin-bottom: 8px; font-size: 1.18rem; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid rgba(59, 46, 126, 0.1); background: rgba(255, 253, 250, 0.94); }
.header-inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--purple-dark); font-weight: 900; text-decoration: none; letter-spacing: -0.02em; }
.brand-mark { display: inline-grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border: 3px solid var(--purple-dark); border-radius: 13px; background: var(--yellow); color: var(--purple-dark); font-weight: 1000; box-shadow: 3px 3px 0 var(--purple-dark); transform: rotate(-2deg); }
.header-inner nav { display: flex; gap: 28px; }
.header-inner nav a, .site-footer nav a { color: var(--muted); font-size: 0.94rem; font-weight: 750; text-decoration: none; }
.header-inner nav a:hover, .header-inner nav a:focus-visible, .site-footer nav a:hover, .site-footer nav a:focus-visible { color: var(--purple); text-decoration: underline; text-underline-offset: 5px; }

.hero { position: relative; display: grid; min-height: 580px; grid-template-columns: 1.25fr 0.75fr; align-items: center; gap: 50px; padding-block: 75px 90px; }
.hero::before { position: absolute; z-index: -1; top: 15%; right: 5%; width: 340px; height: 340px; border-radius: 50%; background: var(--yellow-soft); content: ""; filter: blur(1px); }
.eyebrow { margin-bottom: 12px; color: var(--purple); font-size: 0.79rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.hero-lede { max-width: 680px; margin-bottom: 26px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 0.92rem; font-weight: 700; }
.hero-points span { display: inline-grid; width: 22px; height: 22px; margin-right: 5px; place-items: center; border-radius: 50%; background: var(--mint-soft); color: #137653; }
.hero-visual { position: relative; display: grid; min-height: 360px; place-items: center; }
.hero-machine { position: relative; display: grid; width: 240px; height: 220px; place-items: center; border: 5px solid var(--purple-dark); border-radius: 38px 38px 28px 28px; background: var(--purple); box-shadow: 12px 14px 0 var(--yellow), var(--shadow); transform: rotate(2deg); }
.hero-machine::before, .hero-machine::after { position: absolute; top: 76px; width: 48px; height: 70px; border: 5px solid var(--purple-dark); background: var(--coral); content: ""; }
.hero-machine::before { left: -52px; border-radius: 17px 0 0 17px; }
.hero-machine::after { right: -52px; border-radius: 0 17px 17px 0; }
.hero-machine i { position: absolute; bottom: -30px; width: 38px; height: 35px; border: 5px solid var(--purple-dark); border-top: 0; border-radius: 0 0 8px 8px; background: var(--sky); }
.hero-machine i:nth-of-type(1) { left: 24px; }
.hero-machine i:nth-of-type(2) { left: 96px; }
.hero-machine i:nth-of-type(3) { right: 24px; }
.machine-face { display: grid; width: 115px; height: 115px; place-items: center; border: 5px solid var(--purple-dark); border-radius: 24px; background: var(--white); color: var(--purple-dark); font-size: 5rem; font-weight: 1000; box-shadow: inset 0 -8px 0 var(--purple-pale); }
.orbit { position: absolute; z-index: 2; display: grid; width: 66px; height: 66px; place-items: center; border: 3px solid var(--purple-dark); border-radius: 50%; font-size: 1.2rem; font-weight: 1000; box-shadow: 5px 5px 0 var(--purple-dark); }
.orbit-one { top: 25px; right: 12px; background: var(--mint-soft); transform: rotate(8deg); }
.orbit-two { bottom: 25px; left: 8px; background: var(--yellow); transform: rotate(-8deg); }

.game-section { padding-block: 76px 100px; background: var(--purple-pale); }
.section-heading { max-width: 680px; margin-bottom: 36px; }
.section-heading > p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.narrow { max-width: 640px; }
.level-picker { display: grid; margin-bottom: 20px; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.level-button { display: flex; min-height: 76px; align-items: center; gap: 10px; padding: 12px; border: 2px solid transparent; border-radius: 15px; color: var(--muted); background: rgba(255,255,255,0.62); cursor: pointer; text-align: left; transition: transform 150ms ease, border-color 150ms ease, background 150ms ease; }
.level-button:hover { transform: translateY(-2px); }
.level-button:focus-visible, .rule-option:focus-visible, .button:focus-visible, input:focus-visible, summary:focus-visible { outline: 4px solid rgba(85, 185, 232, 0.5); outline-offset: 3px; }
.level-button.is-active { border-color: var(--purple); color: var(--ink); background: var(--white); box-shadow: var(--shadow-small); }
.level-button strong, .level-button small { display: block; }
.level-button strong { font-size: 0.92rem; }
.level-button small { color: var(--muted); font-size: 0.72rem; }
.level-number { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: var(--purple-dark); background: var(--yellow-soft); font-weight: 1000; }
.is-active .level-number { background: var(--yellow); }

.game-card { position: relative; overflow: hidden; border: 1px solid rgba(59, 46, 126, 0.12); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.streak-celebration { position: absolute; z-index: 5; inset: 0; pointer-events: none; }
.streak-spark { position: absolute; top: 42%; left: 50%; color: var(--yellow); font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 1000; opacity: 0; text-shadow: 1px 1px 0 var(--purple-dark); animation: streak-spark 760ms cubic-bezier(.17,.67,.32,1.25) forwards; }
.game-toolbar { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.game-status { display: flex; align-items: center; gap: 9px; color: var(--purple-dark); font-size: 0.88rem; font-weight: 900; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px var(--mint-soft); }
.scoreboard { display: flex; gap: 5px; margin: 0; }
.scoreboard > div { min-width: 66px; padding: 5px 10px; border-radius: 10px; background: #f7f5fc; text-align: center; }
.scoreboard dt { color: var(--muted); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.scoreboard dd { margin: -2px 0 0; color: var(--purple-dark); font-size: 1.15rem; font-weight: 1000; }

.machine-stage { display: grid; padding: 48px 28px; grid-template-columns: 110px 50px minmax(180px, 260px) 50px 110px; align-items: center; justify-content: center; background-color: #fffdf8; background-image: radial-gradient(rgba(87,70,185,0.13) 1.5px, transparent 1.5px); background-size: 22px 22px; }
.number-pod { display: grid; min-height: 104px; place-items: center; align-content: center; border: 3px solid var(--purple-dark); border-radius: 20px; background: var(--white); box-shadow: 5px 5px 0 var(--purple-dark); }
.number-pod span { color: var(--muted); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.number-pod strong { color: var(--purple-dark); font-size: 2.2rem; line-height: 1.1; }
.output-pod { background: var(--yellow-soft); }
.flow-arrow { color: var(--coral); font-size: 2rem; font-weight: 1000; text-align: center; }
.function-machine { position: relative; display: grid; min-height: 154px; place-items: center; align-content: center; overflow: hidden; border: 4px solid var(--purple-dark); border-radius: 29px; background: var(--purple); color: var(--white); box-shadow: 7px 8px 0 var(--yellow); }
.function-machine::before { position: absolute; inset: 10px; border: 2px dashed rgba(255,255,255,0.34); border-radius: 20px; content: ""; }
.function-machine .machine-label { position: relative; font-size: 0.7rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.function-machine strong { position: relative; font-size: 4.4rem; line-height: 1; }
.function-machine.is-revealed strong { max-width: 80%; font-size: clamp(1.15rem, 3vw, 1.8rem); text-align: center; }
.gear { position: absolute; color: rgba(255,255,255,0.23); font-size: 3rem; }
.gear-left { bottom: 4px; left: 12px; }
.gear-right { top: 4px; right: 12px; }
.function-machine.is-running .gear { animation: spin 650ms linear; }

.game-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.test-panel, .guess-panel { padding: 30px; }
.test-panel { border-right: 1px solid var(--line); }
.panel-title { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.panel-title h3 { margin: 2px 0 3px; }
.panel-title p { margin: 0; color: var(--muted); font-size: 0.86rem; }
.step-badge { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--purple-dark); background: var(--yellow); font-weight: 1000; }
.test-form label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 0.74rem; font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; }
.input-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
input { width: 100%; min-height: 48px; border: 2px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--white); padding: 9px 12px; font-weight: 800; }
input:focus { border-color: var(--sky); }
.field-help { margin: 7px 0 18px; color: var(--muted); font-size: 0.75rem; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--purple-dark); border-radius: 11px; padding: 9px 18px; cursor: pointer; font-weight: 900; text-decoration: none; transition: transform 130ms ease, box-shadow 130ms ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); box-shadow: none; }
.button-primary { color: var(--white); background: var(--purple); box-shadow: 4px 4px 0 var(--purple-dark); }
.button-secondary { color: var(--purple-dark); background: var(--yellow); box-shadow: 3px 3px 0 var(--purple-dark); }
.button:disabled { cursor: not-allowed; opacity: 0.55; transform: none; }
.test-results { overflow: hidden; min-height: 127px; border: 1px solid var(--line); border-radius: 12px; }
.table-header, .history-row { display: grid; grid-template-columns: 1fr 1fr; text-align: center; }
.table-header { padding: 6px 10px; color: var(--muted); background: #f7f5fc; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.history-row { padding: 7px 10px; border-top: 1px solid var(--line); font-weight: 900; }
.history-row span:last-child { color: var(--purple); }
.empty-history { display: flex; min-height: 82px; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 0.82rem; }
.empty-history span { font-size: 1.4rem; }
.rule-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rule-option { min-height: 57px; border: 2px solid var(--line); border-radius: 12px; color: var(--purple-dark); background: var(--white); cursor: pointer; font-size: 1.08rem; font-weight: 1000; transition: transform 130ms ease, border-color 130ms ease, background 130ms ease; }
.rule-option:hover { border-color: var(--purple); background: var(--purple-pale); transform: translateY(-2px); }
.rule-option.is-wrong { border-color: var(--coral); color: #9a342b; background: #fff0ee; }
.rule-option.is-correct { border-color: var(--mint); color: #116345; background: var(--mint-soft); }
.rule-option:disabled { cursor: default; transform: none; }
.feedback { display: flex; min-height: 68px; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; color: var(--muted); background: #f7f5fc; font-size: 0.84rem; }
.feedback p { margin: 0; }
.feedback-icon { font-size: 1.4rem; }
.feedback.is-success { color: #116345; background: var(--mint-soft); }
.feedback.is-error { color: #913128; background: #fff0ee; }
.next-button { width: 100%; margin-top: 12px; }
.noscript-note { max-width: 780px; margin: 16px auto 0; padding: 12px 16px; border: 2px solid var(--coral); border-radius: 12px; background: #fff0ee; text-align: center; }

.content-section { padding-block: 100px; }
.how-grid { display: grid; padding: 0; margin: 0; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; counter-reset: steps; }
.how-grid li { position: relative; min-height: 205px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-small); }
.how-grid li:nth-child(2) { transform: translateY(14px); }
.how-grid li p { margin: 0; color: var(--muted); }
.how-number { display: grid; width: 42px; height: 42px; margin-bottom: 22px; place-items: center; border: 2px solid var(--purple-dark); border-radius: 12px; color: var(--purple-dark); background: var(--yellow); font-weight: 1000; box-shadow: 3px 3px 0 var(--purple-dark); }
.teacher-tip { display: flex; max-width: 850px; align-items: flex-start; gap: 18px; margin: 58px auto 0; padding: 24px 28px; border: 2px dashed var(--purple); border-radius: 18px; background: var(--purple-pale); }
.teacher-tip h3, .teacher-tip p { margin-bottom: 0; }
.teacher-tip p { color: var(--muted); }
.tip-icon { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--purple-dark); background: var(--yellow); font-size: 1.3rem; }

.table-section { padding-block: 95px; background: var(--purple-dark); color: var(--white); }
.table-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 75px; }
.table-copy h2 { color: var(--white); }
.table-copy > p:not(.eyebrow) { color: #d8d3f0; }
.table-copy .eyebrow { color: var(--yellow); }
.mini-feedback { margin-top: 26px; padding: 12px 15px; border-left: 4px solid var(--yellow); border-radius: 0 8px 8px 0; color: #ece8ff; background: rgba(255,255,255,0.08); font-size: 0.88rem; }
.mini-feedback.is-success { border-color: #62e0ae; color: #c6f7e4; }
.mini-feedback.is-error { border-color: #ff9389; color: #ffd8d4; }
.practice-card { padding: 22px; border-radius: 22px; color: var(--ink); background: var(--white); box-shadow: 10px 10px 0 var(--yellow); }
.practice-card table { width: 100%; border-collapse: collapse; text-align: center; }
.practice-card caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.practice-card th, .practice-card td { padding: 12px; border-bottom: 1px solid var(--line); }
.practice-card thead th { color: var(--muted); background: #f7f5fc; font-size: 0.73rem; letter-spacing: 0.08em; text-transform: uppercase; }
.practice-card tbody th { color: var(--purple-dark); font-size: 1.2rem; }
.practice-card input { max-width: 100px; text-align: center; }
.practice-card .button { width: 100%; margin-top: 18px; }

.level-guide { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.level-guide article { padding: 23px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.level-guide article:nth-child(even) { background: var(--yellow-soft); }
.level-guide span { display: inline-block; margin-bottom: 18px; padding: 4px 9px; border-radius: 20px; color: var(--purple-dark); background: var(--purple-pale); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.level-guide p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.faq-section { padding-block: 100px; background: #f4f1fc; }
.faq-layout { display: grid; grid-template-columns: 0.7fr 1.3fr; align-items: start; gap: 75px; }
.faq-list details { border-bottom: 1px solid #cfc9e2; }
.faq-list summary { position: relative; padding: 21px 40px 21px 0; cursor: pointer; font-size: 1.03rem; font-weight: 900; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 18px; right: 4px; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--purple-dark); background: var(--yellow); content: "+"; font-size: 1.25rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding-right: 40px; margin-bottom: 22px; color: var(--muted); }

.site-footer { padding-block: 52px; color: #ddd8f3; background: #211a4b; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.footer-brand { color: var(--white); }
.footer-inner > div > p { margin: 12px 0 0; color: #a9a2cc; font-size: 0.86rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; }
.site-footer nav a { color: #ddd8f3; }
.copyright { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); color: #8e87b5; font-size: 0.76rem; }

.not-found-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: var(--purple-pale); }
.not-found-card { width: min(100%, 520px); padding: 55px; border: 2px solid var(--purple-dark); border-radius: 25px; background: var(--white); box-shadow: 10px 10px 0 var(--yellow); text-align: center; }
.not-found-card .brand-mark { margin-bottom: 28px; }
.not-found-card h1 { margin: 0 auto 10px; color: var(--purple); font-size: 6rem; }
.not-found-card p:not(.eyebrow) { color: var(--muted); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 50% { transform: scale(1.08); } }
@keyframes streak-spark { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scale(0.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--spark-x)), calc(-50% + var(--spark-y))) rotate(var(--spark-rotate)) scale(1.15); } }
.number-pod.is-updated { animation: pop 300ms ease; }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 65px; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .hero-visual { min-height: 300px; }
  .level-picker { grid-template-columns: 1fr 1fr; }
  .machine-stage { grid-template-columns: 90px 36px minmax(160px, 220px) 36px 90px; }
  .number-pod { min-height: 90px; }
  .table-layout, .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .level-guide { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .site-header { position: static; }
  .header-inner { min-height: 68px; }
  .brand { font-size: 0.9rem; }
  .brand-mark { width: 38px; height: 38px; border-width: 2px; border-radius: 11px; box-shadow: 2px 2px 0 var(--purple-dark); }
  .header-inner nav { display: none; }
  .hero { padding-block: 50px 60px; }
  .hero-visual { display: none; }
  .hero-points { display: grid; justify-items: start; }
  .game-section, .content-section, .table-section, .faq-section { padding-block: 65px; }
  .level-picker { gap: 7px; }
  .level-button { min-height: 65px; padding: 8px; }
  .level-button small { display: none; }
  .level-number { width: 32px; height: 32px; }
  .game-card { border-radius: 19px; }
  .game-toolbar { align-items: flex-start; padding: 14px; }
  .game-status { padding-top: 7px; }
  .scoreboard { display: grid; grid-template-columns: 1fr 1fr; }
  .scoreboard > div { min-width: 56px; padding: 2px 7px; }
  .machine-stage { padding: 34px 14px 42px; grid-template-columns: 72px 26px minmax(110px, 160px) 26px 72px; }
  .number-pod { min-height: 72px; border-width: 2px; border-radius: 13px; box-shadow: 3px 3px 0 var(--purple-dark); }
  .number-pod strong { font-size: 1.5rem; }
  .number-pod span { font-size: 0.56rem; }
  .flow-arrow { font-size: 1.25rem; }
  .function-machine { min-height: 112px; border-width: 3px; border-radius: 20px; box-shadow: 5px 6px 0 var(--yellow); }
  .function-machine strong { font-size: 3.2rem; }
  .function-machine .machine-label { font-size: 0.56rem; }
  .gear { font-size: 2rem; }
  .game-grid { grid-template-columns: 1fr; }
  .test-panel, .guess-panel { padding: 24px 18px; }
  .test-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .input-row { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid li:nth-child(2) { transform: none; }
  .teacher-tip { margin-top: 30px; padding: 20px; }
  .level-guide { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; gap: 14px 20px; }
}

@media (max-width: 430px) {
  h1 { font-size: 2.5rem; }
  .machine-stage { grid-template-columns: 60px 20px minmax(105px, 135px) 20px 60px; }
  .number-pod strong { font-size: 1.25rem; }
  .function-machine { min-height: 100px; }
  .rule-options { grid-template-columns: 1fr; }
  .practice-card { padding: 14px; }
  .practice-card th, .practice-card td { padding: 9px 5px; }
  .practice-card input { max-width: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
