@import url('./common.css');
:root{--ink:#14525a;--gold:#ab6d3c;--accent:#08757c}.grid{--cell:min(calc((100cqw - 6px)/8),calc((100cqh - 6px)/8),46px);grid-template-columns:repeat(8,var(--cell));grid-template-rows:repeat(8,var(--cell));border:3px solid #a56031;border-radius:6px;overflow:hidden}.grid button{background:#fbefd680;font-size:clamp(10px,3vw,15px);font-weight:650}.grid button.occupied,.mini-cell{background-image:url('../../prism-sudoku/glass-surface.webp');background-size:220px;background-blend-mode:multiply;color:#fff6df;text-shadow:0 1px 2px #0008}.grid button.hint-anchor{outline:3px solid #132e45;outline-offset:-3px}.tray{height:83px;flex:none;display:flex;gap:7px;overflow-x:auto;padding:4px 2px 7px;overscroll-behavior-x:contain;scrollbar-width:thin;border-top:1px solid #ba9163}.piece{flex:none;width:63px;height:66px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;border:1px solid #b38c56;border-radius:6px;background:#fff1d699;color:#174b4c;padding:4px;font-size:11px}.piece[aria-pressed=true]{border:3px solid #104f58;padding:2px}.piece-preview{display:grid;width:43px;height:43px;grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(5,1fr)}.mini-cell{border:1px solid #fbe4b680;border-radius:1px}.piece-label{font-size:11px;line-height:13px}.tray-empty{font-size:12px;margin:auto}
@media(max-height:690px){.tray{height:70px;padding-bottom:3px}.piece{height:59px;width:58px}.piece-preview{width:35px;height:35px}}
.tray{overflow-y:hidden;height:88px}.piece-preview{align-content:center;justify-content:center}.controls #undo{background-color:#a74427}.controls #rotate{background-color:#086c73}.controls #hint{background-color:#8b6815}.controls #restart{background-color:#405c2d}.controls #undo,.controls #rotate,.controls #hint,.controls #restart{background-image:url('../../prism-sudoku/glass-surface.webp');background-blend-mode:multiply;background-size:220px;color:#fff4d6;border-color:#bf9459}
@media(max-height:690px){.tray{height:76px}}
