/* Game-specific CSS: sudoku */
/* Sudoku: high contrast large click targets */
body.og12-game .og12-game-panel:has([data-og-sudoku]) .og12-table-options{display:none}
body.og12-game .og14-su-stage{display:grid;grid-template-columns:minmax(300px,500px) minmax(210px,1fr);align-items:start;justify-content:center;gap:clamp(16px,3vw,38px);padding:clamp(8px,2vw,20px);max-width:920px;margin:2px auto 12px;background:linear-gradient(145deg,#faf6fc,#f1f1f1);border-radius:18px;border:1px solid #e4d9ea}
body.og12-game .og14-su-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));aspect-ratio:1;width:100%;border:3px solid #480477;border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 12px 26px #48047716}
body.og12-game .og14-su-cell{appearance:none;border:0;border-right:1px solid #d9c8e4;border-bottom:1px solid #d9c8e4;border-radius:0!important;background:#fff;color:#480477;font-weight:630;font-size:clamp(14px,2vw,25px);display:grid;place-items:center;cursor:pointer;padding:0;min-width:0;min-height:0}
body.og12-game .og14-su-cell.og14-su-right{border-right:2px solid #480477}
body.og12-game .og14-su-cell.og14-su-bottom{border-bottom:2px solid #480477}
body.og12-game .og14-su-cell.og14-su-given{color:#2d163e;font-weight:900;background:#faf7fc}
body.og12-game .og14-su-cell.og14-su-peer{background:#f4eaf8}
body.og12-game .og14-su-cell.og14-su-same{background:#e4f6d9}
body.og12-game .og14-su-cell.og14-su-selected{background:#ccebbd;box-shadow:inset 0 0 0 2px #339901}
body.og12-game .og14-su-cell.og14-su-conflict{color:#ad162a;background:#ffe1e4}
body.og12-game .og14-su-show-errors .og14-su-wrong{background:#ffe0e5!important;color:#c21f3d!important;box-shadow:inset 0 0 0 2px #e24b68}
body.og12-game .og14-su-cell:focus-visible{position:relative;z-index:4}
body.og12-game .og14-su-notes{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);width:100%;height:100%;font-size:clamp(7px,.7vw,12px);line-height:1;color:#7c4d90}
body.og12-game .og14-su-notes small{display:grid;place-items:center;font-size:inherit}
body.og12-game .og14-su-tools{min-width:0;padding-top:8px}
body.og12-game .og14-su-digit-pad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
body.og12-game .og14-su-digit-pad button{min-width:0;aspect-ratio:1;border-radius:14px;background:#fff;border:1px solid #dfd4e6;color:#480477;font-size:26px;font-weight:800;cursor:pointer;box-shadow:0 3px 10px #4804770a}
body.og12-game .og14-su-digit-pad button:hover{background:#ebf8e5;border-color:#339901}
body.og12-game .og14-su-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
body.og12-game .og14-su-buttons button{padding:10px 5px}
body.og12-game .og14-su-buttons [data-su-pencil][aria-pressed=true]{background:#339901;color:white;border-color:#339901}
body.og12-game .og14-su-difficulty-label{display:flex;align-items:center;gap:6px;color:#480477;font-size:12px;font-weight:700}
body.og12-game .og14-su-difficulty-label select{border:1px solid #e3d5e8;border-radius:9px;padding:9px;color:#480477;background:#fff}
body.og12-game .og14-su-tip{color:#7c6886;font-size:12px;margin:12px 0 0}
@media(max-width:820px){body.og12-game .og14-su-stage{grid-template-columns:minmax(0,500px)}body.og12-game .og14-su-tools{padding:0}body.og12-game .og14-su-digit-pad{grid-template-columns:repeat(9,minmax(0,1fr));gap:4px}body.og12-game .og14-su-digit-pad button{border-radius:9px;font-size:clamp(14px,3vw,22px)}body.og12-game .og14-su-buttons{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:520px){body.og12-game .og14-toolbar{gap:6px}body.og12-game .og14-stats{gap:4px}body.og12-game .og14-stats span{padding:6px 7px;font-size:10px}body.og12-game .og14-stats b{font-size:13px}body.og12-game .og14-actions{gap:5px}body.og12-game .og14-actions button{font-size:11px;padding:8px 8px;min-height:35px}body.og12-game .og14-status{font-size:11px}body.og12-game .og14-felt{padding:6px;border-radius:11px}body.og12-game .og14-spider-board{gap:3px;min-height:240px}body.og12-game .og14-spider-top{gap:7px;font-size:11px;min-height:53px}body.og12-game .og14-spider-deal span{display:none}body.og12-game .og14-spider-deal img{width:31px}body.og12-game .og14-spider-deck{padding:6px}body.og12-game .og14-spider-instruction{font-size:10px}body.og12-game .og14-pyramid-board{--og14-py-step:clamp(21px,6vw,32px);height:calc(6 * var(--og14-py-step) + 66px)}body.og12-game .og14-pyramid-stockrow{margin-top:0;padding-top:10px}body.og12-game .og14-pyramid-progress{font-size:12px}body.og12-game .og14-pyramid-progress small{font-size:10px}body.og12-game .og14-su-stage{padding:5px;gap:12px}body.og12-game .og14-su-grid{border-width:2px}body.og12-game .og14-su-cell{font-size:clamp(15px,4vw,21px)}body.og12-game .og14-su-buttons button{font-size:11px;white-space:normal}}
