*{margin:0;padding:0;box-sizing:border-box}body{font-family:Arial,sans-serif;background:linear-gradient(135deg,#ffd93d,#ffb344);min-height:100vh;display:flex;justify-content:center;align-items:center;padding:20px}.game-container{background:#fff;border-radius:20px;padding:30px;box-shadow:0 10px 30px #0000001a;max-width:900px;width:100%}h1{text-align:center;color:#ff6b35;margin-bottom:20px;font-size:2.5em}#game-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding:10px;background:#fff3e0;border-radius:10px}#puzzle-title{font-size:1.2em;font-weight:700;color:#ff6b35}#timer{font-size:1.1em;color:#666}#crossword-container{display:flex;gap:30px;margin-bottom:20px}#crossword-grid{display:grid;grid-template-columns:repeat(10,40px);grid-template-rows:repeat(10,40px);gap:1px;background:#333;border:2px solid #333;border-radius:5px}.cell{width:40px;height:40px;background:#fff;border:none;text-align:center;font-size:20px;font-weight:700;text-transform:uppercase;cursor:pointer;transition:background-color .2s}.cell:focus{outline:none;background:#fff3e0}.cell.black{background:#333}.cell.highlighted{background:#ffe082}.cell.selected{background:#ffb344}.cell-number{position:absolute;font-size:10px;top:2px;left:2px;color:#666;pointer-events:none}#clues{flex:1;max-height:400px;overflow-y:auto}.clue-section{margin-bottom:20px}.clue-section h3{color:#ff6b35;margin-bottom:10px}.clue{padding:5px;margin:2px 0;cursor:pointer;border-radius:3px;transition:background-color .2s}.clue:hover{background:#fff3e0}.clue.active{background:#ffb344;color:#fff}#controls{display:flex;gap:10px;justify-content:center}button{padding:10px 20px;font-size:16px;border:none;border-radius:25px;cursor:pointer;transition:all .3s}#check-button{background:#4caf50;color:#fff}#check-button:hover{background:#45a049}#reveal-button{background:#ff9800;color:#fff}#reveal-button:hover{background:#e68900}#new-puzzle-button{background:#2196f3;color:#fff}#new-puzzle-button:hover{background:#1976d2}#message{margin-top:20px;padding:15px;border-radius:10px;text-align:center;font-weight:700}#message.success{background:#4caf50;color:#fff}#message.error{background:#f44336;color:#fff}.hidden{display:none}@media (max-width: 768px){#crossword-container{flex-direction:column}#crossword-grid{grid-template-columns:repeat(10,30px);grid-template-rows:repeat(10,30px)}.cell{width:30px;height:30px;font-size:16px}}
