/* Word Ladder only: the ladder of words and the answer field. Shared rules are in ../shared/base.css. */
.rungs { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.rungs li { display: flex; gap: 4px; align-items: center; }
.rungs li span { display: inline-grid; place-items: center; width: 40px; height: 44px; border-radius: 8px; background: var(--raised); font-size: 24px; font-weight: 800; text-transform: uppercase; }
.rungs li span.changed { background: var(--accent); color: var(--ink); }
.rungs li.goal span { background: transparent; border: 2px dashed var(--muted); color: var(--muted); }
.rungs li.goal.reached span { border-style: solid; border-color: var(--right); color: var(--right); }
.rungs li.gap { color: var(--muted); font-weight: 600; padding-left: 4px; }
.answer { margin-top: 12px; }
.answer .label { display: block; margin-bottom: 6px; }
#answer { width: 100%; font: inherit; font-size: 28px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); background: var(--raised); border: 2px solid var(--muted); border-radius: 12px; padding: 10px 14px; }
.hint-out { min-height: 1.4em; margin: 6px 0; color: var(--accent); font-weight: 600; }
.answer-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.answer-actions [type="submit"] { flex: 1 1 100%; }
.verdict .why { color: var(--muted); }
@media (max-height: 600px) { .rungs li span { width: 34px; height: 36px; font-size: 20px; } .rungs { gap: 4px; } #answer { font-size: 24px; padding: 8px 12px; } }
