.math-crossword{color:#e8f3f5}.math-crossword-layout{display:grid;grid-template-columns:minmax(0,1fr) 18rem;gap:1.25rem;margin-top:1.25rem;align-items:start}.math-crossword-card{min-width:0;padding:1.25rem;border:1px solid #31515b;border-radius:1.25rem;background:#0c2028}.math-crossword-scroll{overflow-x:auto;padding:.5rem}.math-crossword-grid{display:grid;grid-template-columns:repeat(var(--math-size),minmax(0,1fr));gap:2px;width:min(100%,calc(var(--math-size) * 4rem));margin:auto;aspect-ratio:1}.math-crossword-cell,.math-crossword-void{min-width:0;aspect-ratio:1;display:grid;place-items:center;border-radius:.2rem;font-size:var(--math-font);font-weight:800}.math-crossword-cell{border:1px solid #af9663;color:#172328;background:#f8e9bb}.math-crossword-cell.given{background:#f5d98d}.math-crossword-cell.editable{background:#fffaf0;border-color:#50c6bb;cursor:pointer}.math-crossword-cell.active{outline:3px solid #19b8ac;outline-offset:-3px;background:#c8fff3}.math-crossword-void{background:transparent}.math-crossword-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:1.25rem}.math-crossword-controls input{width:10rem;border:1px solid #59919a;border-radius:.7rem;background:#08161b;padding:.65rem;color:#fff;text-align:center}.math-crossword-controls button{border:1px solid #477580;border-radius:.7rem;background:#15333d;padding:.65rem 1rem;color:#fff;font-weight:700}.math-crossword-controls button.primary{border-color:#5cddc0;background:#087565}.math-crossword-controls button:disabled{opacity:.45;cursor:default}.math-crossword-bank{margin-top:1.25rem;padding-top:1rem;border-top:1px solid #31515b;text-align:center}.math-crossword-bank>span{color:#a9c5c7;font-size:.8rem;text-transform:uppercase;letter-spacing:.1em}.math-crossword-bank>div{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:.75rem}.math-crossword-bank button{min-width:3rem;padding:.5rem .7rem;border:1px solid #72c7ba;border-radius:.5rem;background:#d9f8eb;color:#0f6659;font-weight:800}.math-crossword-bank button:disabled{opacity:.45}.math-crossword-label{display:block;color:#a9c5c7;font-size:.8rem;text-transform:uppercase;letter-spacing:.1em}.math-crossword-summary>strong{display:block;margin-top:.5rem;font-size:2rem}.math-crossword-summary p{margin:1rem 0;color:#b6cdcf;line-height:1.5}.math-crossword-progress{height:.5rem;overflow:hidden;border-radius:1rem;background:#17353d}.math-crossword-progress span{display:block;height:100%;background:#2ed6b3}.math-crossword-stat{display:flex;justify-content:space-between;padding:.75rem 0;border-top:1px solid #294850}.math-crossword-notice{margin-top:1rem;padding:.85rem 1rem;border:1px solid #bd9652;border-radius:.75rem;background:#3b2c17;color:#fff1d3}.math-crossword-notice a{text-decoration:underline}@media(max-width:850px){.math-crossword-layout{grid-template-columns:1fr}.math-crossword-card{padding:.75rem}}
