.alphabet-review .practice-head { align-items: start; }
.alphabet-review .practice-head > div { min-width: 0; }
.alphabet-review .practice-head h1 { overflow-wrap: anywhere; }
.alphabet-review > .bar { margin: 8px 0 20px; }
.ar-card { margin: 16px 0; padding: 22px 18px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); color: var(--ink); }
.ar-card h1 { margin: 8px 0 16px; font: 800 1.7rem/1.25 var(--font-display); }
.ar-card h2 { margin: 0 0 14px; font: 800 1.35rem/1.3 var(--font-display); }
.ar-card > p { line-height: 1.5; }
.ar-hint { padding: 16px; border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; background: var(--cream-2); font-size: 1.12rem; font-weight: 800; overflow-wrap: anywhere; }
.ar-instruction, .ar-note { color: var(--ink-2); font-size: .88rem; line-height: 1.55; }
.ar-note { margin: 20px 4px; }
.ar-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.ar-option { display: grid; gap: 4px; align-content: center; justify-items: center; min-width: 0; min-height: 114px; padding: 12px 6px; border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 18px; background: var(--white); color: var(--ink); cursor: pointer; }
.ar-option strong { font: 700 clamp(1.7rem,8vw,2.4rem)/1.75 var(--font-tamil); white-space: nowrap; }
.ar-option > span { font-size: .75rem; font-weight: 800; text-align: center; }
.ar-option:disabled { opacity: 1; cursor: default; }
.ar-option.is-correct { border-color: var(--green); background: var(--green-soft); }
.ar-option.is-wrong { border-color: var(--red); background: var(--red-soft); }
.ar-feedback { margin: 18px 0; padding: 20px; border: 1px solid var(--green); border-radius: 20px; background: var(--green-soft); color: var(--ink); }
.ar-feedback.is-wrong { border-color: var(--orange); background: var(--orange-soft); }
.ar-feedback > strong { font-size: 1.1rem; }
.ar-feedback p { margin: 10px 0 18px; line-height: 1.65; }
.ar-feedback [lang=ta] { font: 700 1.4rem/1.8 var(--font-tamil); white-space: nowrap; }
.alphabet-review .primary, .alphabet-review > .secondary { width: 100%; min-height: 50px; font-size: 1rem; }
.alphabet-review > .secondary { margin-top: 12px; }
.ar-complete { text-align: center; }
.ar-complete h1 { margin: 10px 0; font-size: 3.2rem; color: var(--ink); }
.ar-category-results { list-style: none; margin: 22px 0 0; padding: 0; }
.ar-category-results li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); text-align: left; }
.ar-review-list { list-style: none; padding: 0; margin: 0; }
.ar-review-list li { display: grid; grid-template-columns: 72px minmax(0,1fr); align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.ar-review-list strong { font: 700 1.6rem/1.8 var(--font-tamil); text-align: center; white-space: nowrap; }
.ar-review-list span { color: var(--ink-2); line-height: 1.5; overflow-wrap: anywhere; }
.ar-encouragement { padding: 10px 4px; text-align: center; line-height: 1.5; }
.alphabet-review button:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
html[data-theme=dark] .ar-hint { background: #342e24; }
html[data-theme=dark] :is(.ar-option.is-correct,.ar-feedback) { background: #203b32; }
html[data-theme=dark] .ar-option.is-wrong { background: #482e29; }
html[data-theme=dark] .ar-feedback.is-wrong { background: #392e25; }
@media (max-width: 360px) {
  .ar-card { padding: 18px 12px; }
  .ar-options { gap: 9px; }
  .ar-option { min-height: 100px; }
  .ar-hint { padding: 12px; font-size: 1rem; }
}
