/* Interaction and mobile support only; visual layout comes from the Stitch HTML. */
[hidden] { display: none !important; }
.material-symbols-outlined { vertical-align: middle; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #f0bf5c; outline-offset: 3px; }
input:disabled { opacity: 1; }
#drill-input[data-result="correct"] { background: #e4ede1; }
#drill-input[data-result="wrong"] { background: #f5e6e3; box-shadow: inset 0 0 0 1px #b3392c; }
#feedback[data-result="wrong"] { background: #f5e6e3; }
#feedback[data-result="wrong"] #feedback-title { color: #b3392c; }
#keyboard-help { margin: auto; width: min(480px, calc(100% - 32px)); padding: 24px; border-radius: 8px; background: #efe7d6; color: #1f2430; border: 1px solid #ded3be; }
#keyboard-help::backdrop { background: #171d34d9; }
.help-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 16px; }
.help-heading h2 { font: 500 20px 'Noto Serif', serif; }
.help-heading button { width: 32px; height: 32px; font-size: 24px; }
#keyboard-help p { font: 400 14px/1.8 Inter, sans-serif; }
@media (max-width: 1279px) {
  #adjective-navigation[data-open] { position: absolute; top: 64px; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; padding: 16px 20px; background: #171d34; border-bottom: 1px solid #f0bf5c33; max-height: calc(100dvh - 64px); overflow-y: auto; }
  #adjective-navigation a { padding: 12px; }
}
@media (max-width: 639px) { #drill-input { padding-right: 16px; } #drill-input + div { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
