.su-app{--board-size:clamp(320px, min(560px, calc(100vw - 380px), calc(100dvh - 470px)), 560px);--chrome-size:var(--board-size);flex-direction:column;align-items:center;gap:0;width:100%;display:flex}@media (width<=900px){.su-app{--board-size:clamp(300px, min(560px, calc(100vw - 40px), calc(100dvh - 470px)), 560px)}}@media (width<=440px){.su-app{--board-size:clamp(260px, min(560px, calc(100vw - 96px), calc(100dvh - 470px)), 560px)}.su-board-frame{padding:8px}}.su-topbar{width:var(--chrome-size);margin-bottom:var(--s-3);flex-wrap:wrap;align-items:center;gap:12px;display:flex}.su-topbar .segmented{border-radius:10px;flex:none;gap:2px;padding:3px}.su-topbar .segmented button{white-space:nowrap;border-radius:7px;flex:none;min-height:34px;padding:0 14px;font-size:13px;font-weight:650}.su-clock{color:#34495e;font-variant-numeric:tabular-nums;flex:none;align-items:center;gap:5px;font-size:13px;font-weight:700;display:inline-flex}.su-clock svg{color:#95a5a6}.su-topbar-right{align-items:center;gap:8px;margin-left:auto;display:flex}.su-sound{font:inherit;color:#475569;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex:none;padding:7px 10px;font-size:12.5px;font-weight:650;transition:border-color .15s;box-shadow:0 1px 2px #0000000d}.su-sound:hover{color:#2478b5;border-color:#3498db}.su-board-frame{background:#fff;border:1px solid #eef1f5;border-radius:12px;padding:12px;box-shadow:0 4px 14px #0000000f}.sudoku-board{width:var(--board-size);aspect-ratio:1;background:#94a3b8;border:2px solid #334155;border-radius:4px;grid-template-columns:repeat(9,1fr);gap:1px;display:grid;overflow:hidden}.sudoku-board.is-generating{opacity:.45;pointer-events:none}.sudoku-cell{font-family:inherit;font-size:clamp(13px, calc(var(--board-size) / 9 * .52), 30px);color:#2478b5;cursor:pointer;background:#fff;border:0;place-items:center;padding:0;font-weight:600;transition:background .12s;display:grid;position:relative}.sudoku-cell.given{color:#1e293b;background:#f8fafc;font-weight:750}.sudoku-cell.selected{color:#fff;z-index:2;background:#2478b5;font-weight:800}.sudoku-cell.same{color:#1e1b4b;background:#b3c0fc;font-weight:800}.sudoku-cell.same.given{color:#1e1b4b;background:#b3c0fc}.sudoku-cell.peer{background:#eef2ff}.sudoku-cell.same.peer{background:#b3c0fc}.sudoku-cell.error{color:#e74c3c}.sudoku-cell.selected.error{color:#fecaca}.sudoku-cell.error.same{color:#e74c3c}.sudoku-cell:hover:not(.given):not(.selected){background:#e0e7ff}.sudoku-cell.same:hover{background:#a5b4fc}.sudoku-cell:focus,.sudoku-cell:focus-visible{outline:none}.sudoku-cell.box-right{border-right:2px solid #334155}.sudoku-cell.box-bottom{border-bottom:2px solid #334155}.number-pad{margin-top:var(--s-4);flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.number-pad button{width:44px;height:46px;font-family:inherit;font-size:var(--fs-2xl);color:#1e293b;cursor:pointer;touch-action:manipulation;background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex:none;font-weight:700;transition:all .15s;box-shadow:0 2px 5px #0000000f}.number-pad button:hover{color:#2478b5;border-color:#3498db;transform:translateY(-1px)}.number-pad button.active{color:#fff;background:#3498db;border-color:#3498db;box-shadow:0 4px 10px #3498db59}.number-pad button.done{opacity:.4}.number-pad button.erase{width:58px;font-size:var(--fs-sm);color:#64748b;padding:0;font-weight:650}.su-actions{margin-top:var(--s-3);justify-content:center;gap:10px;display:flex}.su-actions .su-btn{flex:none;min-height:42px;padding:0 26px}.su-btn{font:inherit;cursor:pointer;white-space:nowrap;border-radius:8px;padding:10px 16px;font-size:14px;font-weight:650;transition:transform .1s,filter .12s,border-color .15s}.su-btn:active{transform:translateY(1px)}.su-btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.su-btn-ghost{color:#475569;background:#fff;border:1px solid #e2e8f0}.su-btn-ghost:hover:not(:disabled){color:#2478b5;border-color:#3498db}.su-btn-primary{color:#fff;background:#3498db;border:1px solid #3498db;box-shadow:0 2px 5px #3498db4d}.su-btn-primary:hover{filter:brightness(1.05)}.su-topbar .su-btn-primary{flex:none;padding:7px 14px;font-size:13px}.sudoku-same-hint{margin-top:var(--s-2);font-size:var(--fs-xs);color:#64748b;align-items:center;gap:var(--s-2);width:var(--chrome-size);visibility:hidden;min-height:20px;line-height:20px;display:inline-flex}.sudoku-same-hint.is-visible{visibility:visible}.sudoku-same-hint:before{content:"";background:#b3c0fc;border-radius:6px;width:16px;height:16px}.su-tip{margin:var(--s-3) 0 0;color:#aab4c0;text-align:center;font-size:12px}@media print{.site-header,.site-footer,.crumbs,.game-hero,.side-panel,.content-section,.number-pad,.sudoku-same-hint,.su-tip,.su-topbar,.su-actions,.play-layout:before{display:none!important}body{background:#fff}.container{width:100%;max-width:none}.play-layout{padding:0;display:block}.play-panel{box-shadow:none;border:0;margin:0;padding:0;display:block}.su-app{display:block}.su-board-frame{box-shadow:none;border:0;padding:0}.sudoku-board{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:0 0;border:2.5pt solid #000;gap:0;width:100%;max-width:170mm;margin:0 auto}.sudoku-cell{-webkit-print-color-adjust:exact;print-color-adjust:exact;border:.5pt solid #999;font-size:16pt;font-weight:700;color:#000!important;background:0 0!important}.sudoku-cell.box-right{border-right:1.8pt solid #000}.sudoku-cell.box-bottom{border-bottom:1.8pt solid #000}.sudoku-cell.given{color:#000!important}.sudoku-cell.selected,.sudoku-cell.same,.sudoku-cell.peer{background:0 0!important}@page{margin:12mm}}@media (width<=640px){.number-pad{grid-template-columns:repeat(5,1fr);gap:8px;width:min(340px,100%);display:grid}.number-pad button,.number-pad button.erase{width:auto;height:48px}.su-actions{gap:8px}.su-actions .su-btn{padding:0 14px}.sudoku-cell{font-size:clamp(13px, calc(var(--board-size) / 9 * .52), 24px)}.su-topbar{gap:8px}.su-topbar-right{justify-content:space-between;width:100%;margin-left:0}.su-btn{padding:9px 8px;font-size:13px}}
