.wave3-board{min-width:0}.wave3-game{width:min(100%,460px);margin:18px auto;color:#173e42}.wave3-score{font-size:.85rem;line-height:1.6;text-align:center;margin:10px 0 16px;overflow-wrap:anywhere}.wave3-cell{box-sizing:border-box;min-width:0;min-height:44px;border:1px solid #bfd3ce;border-radius:12px;background:#fff;color:#173e42;font:inherit;cursor:pointer;padding:9px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px}.wave3-cell:disabled{cursor:default}.wave3-cell:focus-visible,.ballistic-powers select:focus-visible{outline:3px solid #267361;outline-offset:3px}.sow-board{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:10px;align-items:stretch;background:linear-gradient(135deg,#e8d6b9,#f5ecda);border:1px solid #c7af89;border-radius:24px;padding:14px;box-shadow:inset 0 0 0 4px #f3e8d4}.sow-store{background:#d4c09d;border-radius:26px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;overflow-wrap:anywhere;min-width:0;padding:5px}.sow-store small{font-size:.68rem;line-height:1.3;text-align:center}.sow-store strong{font-size:1.5rem}.sow-pits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.sow-pit{border-radius:22px;background:radial-gradient(ellipse at 50% 50%,#f8efda,#e0c99f);min-width:0;min-height:100px;box-sizing:border-box;padding:8px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid #bba47e;color:#344d42}.sow-pit strong{font-size:1.5rem}.sow-pit small{font-size:.75rem}.sow-pits button:not(:disabled){box-shadow:inset 0 0 0 2px #29785e}.sow-pits button:disabled{opacity:.65}.sow-arrow{text-align:center;line-height:1.1;font-size:1.2rem;color:#6e775a;margin:5px 0}.sow-seeds{display:flex;gap:3px;flex-wrap:wrap;justify-content:center;max-width:44px;min-height:7px}.sow-seeds i{width:7px;height:6px;border-radius:55% 30%;background:#678353;box-shadow:inset 0 -1px #3e5e38}.knight-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:8px;background:#e2ebe5;border-radius:16px}.knight-cell{aspect-ratio:1;font-size:1.35rem;padding:4px;border-radius:9px}.knight-cell.is-visited{background:#d5e8db;color:#577063}.knight-cell.is-current{background:#226b5a;color:white;font-size:2rem;opacity:1}.knight-cell.is-legal{border:2px solid #27785f;background:#f5fcf5;box-shadow:0 2px 0 #bcd9c6}.knight-cell.is-star{color:#a17025}.knight-cell.is-star.is-current{color:#ffe3a2}.knight-hole{border-radius:8px;background:#cad8cf;box-shadow:inset 0 1px 4px #b8cbc1;aspect-ratio:1}.ballistic-scene{display:block;width:100%;height:auto;border:1px solid #c4d8cc;border-radius:16px;box-sizing:border-box}.ballistic-powers{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}.ballistic-powers label{display:flex;flex-direction:column;gap:7px;font-size:.88rem;line-height:1.4;min-width:0}.ballistic-powers select{font:inherit;min-height:46px;border:1px solid #b8cec4;background:white;color:#173e42;border-radius:10px;padding:8px;width:100%}.ballistic-powers button{grid-column:1/-1;background:#236b59;color:#fff;justify-self:center;min-width:132px;padding:10px 24px}.ballistic-powers button:disabled{opacity:.55}.wave3-note{font-size:.8rem;line-height:1.55;color:#58726c;margin:16px 0 4px}.wave3-result{font-weight:700;text-align:center;margin:16px 0}.wave3-steps{line-height:1.7;padding-inline-start:24px;overflow-wrap:anywhere}.lesson:has(.wave3-game){width:min(650px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box}.lesson .wave3-game{margin:12px auto}@media(max-width:520px){.wave3-game{margin:12px auto}.sow-board{grid-template-columns:44px minmax(0,1fr) 44px;padding:10px;gap:6px;border-radius:19px}.sow-pits{gap:5px}.sow-pit{min-height:91px;padding:6px 2px}.sow-store{padding:3px}.knight-grid{padding:3px;gap:3px}.knight-cell{font-size:1.1rem}.knight-cell.is-current{font-size:1.65rem}.wave3-score{font-size:.8rem}.wave3-note{font-size:.76rem}}@media(prefers-reduced-motion:reduce){.wave3-game *{animation:none;transition:none}}@media(forced-colors:active){.sow-pits button:not(:disabled),.knight-cell.is-legal{outline:2px solid Highlight}.sow-seeds i{background:ButtonText}.knight-cell.is-current{outline:3px solid Highlight}}

@media(max-width:380px){.sow-board{grid-template-columns:1fr 1fr}.sow-middle{grid-column:1/-1;grid-row:2}.sow-store{min-height:44px;flex-direction:row;gap:7px;border-radius:14px}.sow-store strong{font-size:1.25rem}}
