/* Sudoku mission: touchscreen-first and legible from 320px to desktop */
.game-tile--sudoku{--tile-glow:#52b7e7}
.sudoku-hero{margin:12px 0 18px;border:1px solid #38668a;border-radius:20px;padding:16px;background:linear-gradient(135deg,#103550,#12213d 72%)}
.sudoku-hero .eyebrow{color:#78f9d3;letter-spacing:.12em;font-size:11px;font-weight:900}
.sudoku-hero h2{margin:7px 0;color:#fff}
.sudoku-hero p{margin:0;font-size:14px;color:#d0e8f5}
.sudoku-sizes,.sudoku-actions,.sudoku-footer{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.sudoku-sizes .btn{flex:1}.sudoku-sizes .btn.active{border-color:#7fe8d0;background:linear-gradient(130deg,#196c71,#1c66a0)}
.sudoku-settings{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:10px 0}
.sudoku-settings label{font-size:13px;color:#cfdef2;font-weight:700}
.sudoku-settings select{color:white;background:#1c3150;border:1px solid #567da8;padding:10px;border-radius:10px;max-width:55%}
.sudoku-board-wrap{max-width:460px;margin:12px auto;padding:5px;border-radius:13px;background:#90b5d0;box-shadow:0 10px 30px #0004}
.sudoku-board{--sdk-size:4;display:grid;grid-template-columns:repeat(var(--sdk-size),minmax(0,1fr));gap:0;width:100%;aspect-ratio:1}
.sdk-cell{border:1px solid #a6c6df;color:#c8e8ff;background:#1d3555;min-width:0;padding:0;aspect-ratio:1;position:relative;font-weight:900;font-size:clamp(18px,6vw,28px);touch-action:manipulation}
.sdk-cell.sdk-given{background:#10253d;color:#fff}.sdk-cell.sdk-entry{color:#89f1d3}
.sdk-cell.sdk-related{background:#2b4d68}.sdk-cell.sdk-selected{background:#196d81;outline:3px solid #ffcc4f;outline-offset:-3px;z-index:1}
.sdk-cell.sdk-conflict{background:#833c49;color:#fff}
.sdk-cell.sdk-top{border-top:3px solid #c3dfef}.sdk-cell.sdk-left{border-left:3px solid #c3dfef}.sdk-cell.sdk-right{border-right:3px solid #c3dfef}.sdk-cell.sdk-bottom{border-bottom:3px solid #c3dfef}
.sudoku-board[data-size="9"] .sdk-cell{font-size:clamp(14px,4vw,22px)}
.sdk-notes{width:100%;height:100%;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);align-items:center;justify-items:center;gap:0;font-size:clamp(9px,1.8vw,13px);font-weight:600;color:#e3ce81;line-height:1}
.sudoku-board[data-size="4"] .sdk-notes{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);font-size:clamp(12px,3vw,17px)}
.sudoku-board[data-size="6"] .sdk-notes{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr)}
.sudoku-digits{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:4px;margin:12px auto;max-width:460px}
.sudoku-digits .sdk-digit{padding:12px 0;min-width:0;background:#1f5778;border-color:#4d8db5;font-size:19px;border-radius:10px}
.sudoku-actions .btn{flex:1;min-width:120px}.sudoku-footer .btn{flex:1}
.sudoku-help{margin:15px 0;font-size:13px}
@media(max-width:390px){.sudoku-digits .sdk-digit{font-size:17px;padding:11px 0}.sudoku-actions .btn{font-size:12px;min-width:100px;padding:11px 8px}}
