.sudoku-board { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); width: 100%; max-width: 414px; margin: 20px auto; border: 3px solid #334155; border-radius: 5px; overflow: hidden; background: #334155; }
.sudoku-cell, .sudoku-result-cell { width: 100%; min-width: 0; aspect-ratio: 1; padding: 0; margin: 0; border: 0; border-right: 1px solid #cbd5e1; border-bottom: 1px solid #cbd5e1; border-radius: 0; color: var(--text-title); background: #fff; font-family: inherit; font-size: 1.3rem; line-height: 1.2; font-weight: 600; text-align: center; }
.sudoku-cell:nth-child(9n), .sudoku-result-cell:nth-child(9n) { border-right: 0; }
.sudoku-cell:nth-child(n+73), .sudoku-result-cell:nth-child(n+73) { border-bottom: 0; }
.sudoku-board .sudoku-box-right { border-right: 3px solid #334155; }
.sudoku-board .sudoku-box-bottom { border-bottom: 3px solid #334155; }
.sudoku-cell.is-peer { background: #f1f5fc; }
.sudoku-cell:focus, .sudoku-cell.is-selected { outline: none; background: #e0e7ff; box-shadow: inset 0 0 0 2px #4f46e5; }
.sudoku-cell.is-conflict { background: #fee2e2; color: #991b1b; }
.sudoku-cell.is-conflict:focus { box-shadow: inset 0 0 0 3px #991b1b; }
.sudoku-cell.is-hint { background: #dcfce7; box-shadow: inset 0 0 0 2px #15803d; }
.sudoku-primary-controls { margin-top: 18px; }
.sudoku-primary-controls .btn { flex: 1; }
.sudoku-secondary-controls { margin-top: 12px; }
.sudoku-secondary-controls .btn { flex: 1; padding-inline: 12px; }
.sudoku-primary-controls .btn:disabled, .sudoku-secondary-controls .btn:disabled, #sudokuUygulaBtn:disabled { opacity: .55; cursor: default; }
.sudoku-import { margin-top: 24px; }
.sudoku-import summary { cursor: pointer; color: var(--color-primary); padding: 8px 0; font-weight: 600; }
.sudoku-import .form-group { margin-top: 16px; }
.sudoku-import textarea { height: auto; min-height: 120px; resize: vertical; font-family: monospace; }
.sudoku-import > .btn { margin-top: 12px; }
.sudoku-message { margin: 16px 0; padding: 14px; border-radius: var(--border-radius); background: var(--bg-main); line-height: 1.7; }
.sudoku-result-cell { display: grid; place-items: center; color: #137144; }
.sudoku-result-cell.is-original { color: var(--text-title); font-weight: 700; background: #f1f5f9; }
#sudokuDurumKart[data-state="error"] { border-left-color: #b91c1c; border-right-color: #b91c1c; }
#sudokuDurumKart[data-state="error"] .highlight { background: #fef2f2; }
#sudokuDurumKart[data-state="error"] .highlight strong { color: #b91c1c; }
#sudokuDurumKart[data-state="warning"] .highlight strong { color: #92400e; }
@media (max-width: 400px) { .sudoku-cell, .sudoku-result-cell { font-size: 1.1rem; } .sudoku-primary-controls { flex-direction: column; } }
