:root{font-family:'Pretendard Variable',Pretendard,system-ui,sans-serif;color:#1b2924;background:#faf8f2;font-synthesis:none;--green:#355944;--muted:#64726b;--line:#daddd3}*{box-sizing:border-box}body{margin:0}button,select{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #28684b;outline-offset:3px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.symbols{position:absolute;width:0;height:0}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}header{height:80px;max-width:1160px;margin:auto;display:flex;align-items:center;gap:22px;border-bottom:1px solid var(--line)}.brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:5px;font-size:31px;font-weight:850;letter-spacing:-.06em}.brand span{width:7px;height:7px;background:var(--green);border-radius:50%;align-self:flex-end;margin-bottom:8px}.tagline{font-size:13px;color:var(--muted)}.text-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:14px;font-weight:650;border-radius:12px;padding:0 10px}.text-button:hover{background:#eeeee5}header .text-button{margin-left:auto}.question{width:20px;height:20px;border:1.5px solid #78857b;border-radius:50%;display:grid;place-items:center;font-size:12px}main{max-width:960px;margin:0 auto}.heading{display:flex;align-items:center;justify-content:space-between;padding:34px 0 25px;gap:12px}h1{font-size:34px;letter-spacing:-.04em;display:flex;align-items:center;gap:13px;margin:0}.solo{font-size:12px;font-weight:650;color:#49623e;background:#e5ecdd;letter-spacing:0;padding:6px 9px;border-radius:7px}.heading p{font-size:14px;color:var(--muted);margin:10px 0 0}select{border:1px solid var(--line);background:#faf8f2;border-radius:12px;min-height:46px;padding:0 38px 0 16px;font-size:14px;font-weight:650;cursor:pointer}.layout{display:grid;grid-template-columns:minmax(0,550px) minmax(0,300px);gap:64px;align-items:start}.play{min-width:0}.board-top{display:flex;align-items:center;justify-content:space-between;padding:0 6px 12px;height:52px}#progress{font-size:13px;color:#60705a}#progress b{font-size:16px;color:#355944;padding-left:5px}.clock{display:flex;align-items:center;gap:11px;font-size:20px;font-weight:650;font-variant-numeric:tabular-nums}.icon-button{display:grid;place-items:center;min-width:44px;height:44px;border-radius:12px}.icon-button:hover:not(:disabled){background:#e6ebdf}.field{position:relative;border-radius:16px;overflow:hidden;border:2px solid #52684a;background:#52684a}.viewport{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#78936a #e5eadf;max-height:550px}.board{display:grid;grid-template-columns:repeat(9,1fr);width:100%;background:#aab79f;gap:1px;isolation:isolate}.board.zoomed{width:648px}.cell{aspect-ratio:1;min-width:0;display:grid;place-items:center;position:relative;padding:0;font-size:28px;line-height:1;background:#fafbf5;color:#276646;font-weight:550;touch-action:manipulation;user-select:none;border-radius:0}.cell:nth-child(3n):not(:nth-child(9n)){border-right:2px solid #52684a}.cell:nth-child(n+19):nth-child(-n+27),.cell:nth-child(n+46):nth-child(-n+54){border-bottom:2px solid #52684a}.cell.given{font-weight:650;color:#293d28}.cell.related{background:#eef1e6}.cell.same{background:#dce9cf}.cell.selected{background:#f8e59c;box-shadow:inset 0 0 0 2px #b69932;z-index:1}.cell:focus-visible{outline-offset:-4px;z-index:2}.cell.error{color:#a13731;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}.cell.error::after{content:'';width:5px;height:5px;border-radius:50%;background:#a13731;position:absolute;right:4px;top:4px}.cell.fresh{animation:write 140ms ease-out}.cell:disabled{opacity:1}.notes-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);position:absolute;inset:4px;align-items:center;justify-items:center;font-size:13px;font-weight:500;color:#5a6f50;line-height:1}.notes-grid span{min-width:9px;min-height:9px}#status{font-size:13px;min-height:38px;color:#53664b;text-align:center;line-height:1.5;margin:14px 0 0;padding:0 6px}.controls{padding-top:12px}.controls-heading h2{font-size:25px;letter-spacing:-.035em;margin:0 0 11px}.controls-heading p{font-size:14px;line-height:1.7;color:#5b6b54;margin:0 0 29px}.tools{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;margin-bottom:20px}.tools button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:64px;border-radius:12px;font-size:11px;font-weight:600;color:#435c39;padding:0}.tools button:hover:not(:disabled){background:#e9eee1}.tools button[aria-pressed="true"]{background:#355944;color:white}.tools svg{width:20px;height:20px}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.keypad button{height:64px;border-radius:13px;font-size:28px;font-weight:550;background:#e6eddc;color:#355944;position:relative;transition:background 100ms}.keypad button:hover:not(:disabled){background:#d6e3c8}.keypad button:active:not(:disabled){background:#cbdcba}.keypad button small{font-size:10px;position:absolute;bottom:5px;right:9px;color:#566b48}.keypad.memo button{font-size:21px;background:#f1f2eb;box-shadow:inset 0 0 0 1px #d6dece}.mode-hint{font-size:13px;line-height:1.5;color:#58694f;text-align:center;margin:15px 0 21px}.bottom-tools{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:12px}.bottom-tools svg{width:18px;height:18px}.storage{font-size:12px;color:#64725b;text-align:center;line-height:1.5;margin:18px 0 0}.storage.failed{color:#9a4337}footer{display:flex;justify-content:space-between;margin:28px 0 20px;border-top:1px solid var(--line);padding-top:17px;color:#687162;font-size:11px}.primary,.secondary{min-height:48px;display:inline-flex;align-items:center;justify-content:center;padding:0 24px;border-radius:13px;font-size:14px;font-weight:750}.primary{background:#f7d747;color:#293c25}.primary:hover{background:#edcd3d}.secondary{background:#e9eee1;color:#40573b}.pause-cover{position:absolute;inset:0;background:#edf0e6;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:4}.pause-cover>svg{width:32px;height:32px;color:#355944}.pause-cover h2{font-size:24px;letter-spacing:-.03em;margin:17px 0 0}.pause-cover p{font-size:14px;color:#607058;margin:11px 0 23px}.result{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:22px 0}.result h2{font-size:22px;letter-spacing:-.03em;margin:0 0 8px}.result p{font-size:13px;color:#5e6d55;margin:0}.result button{flex-shrink:0}dialog{border:1px solid #daddd3;border-radius:24px;padding:28px;width:min(470px,calc(100% - 32px));max-height:calc(100dvh - 48px);background:#faf8f2;color:#1b2924;box-shadow:0 20px 90px #15281930}dialog::backdrop{background:#1b292466}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.close{width:44px;height:44px;display:grid;place-items:center;flex-shrink:0;border-radius:10px;margin-right:-9px}.close:hover{background:#e9eee1}dialog h2{font-size:23px;letter-spacing:-.03em;margin:0}dialog p,dd{font-size:14px;line-height:1.7;color:#586a50}dialog p{margin:15px 0 22px}dt{font-size:14px;font-weight:750;margin-top:20px}dd{margin:6px 0 0}.close-help{width:100%;margin-top:15px}.dialog-actions{display:flex;gap:10px}.dialog-actions button{flex:1;padding:0 10px}@keyframes write{from{transform:scale(.94)}to{transform:scale(1)}}@media(max-width:1200px){header{margin:0 36px}main{margin:0 50px}.layout{gap:40px;grid-template-columns:minmax(0,550px) minmax(230px,300px)}}@media(max-width:800px){header{height:66px;margin:0 20px}.brand{font-size:27px}.tagline{display:none}header .text-button{font-size:12px;padding:0}.question{width:18px;height:18px}main{max-width:480px;margin:0 auto;padding:0 16px}.heading{padding:23px 1px 13px;gap:8px}h1{font-size:27px;gap:10px}.solo{font-size:10px;padding:5px 7px}.heading p{font-size:12px;margin-top:8px;line-height:1.5}select{font-size:12px;min-height:42px;padding:0 25px 0 12px;max-width:128px}.layout{display:block}.board-top{height:42px;padding:0 3px 5px}.clock{font-size:18px;gap:6px}#progress{font-size:12px}.field{border-radius:12px}.cell{font-size:23px}.notes-grid{font-size:10px;inset:2px}.board.zoomed{width:486px}.viewport{max-height:420px}#status{font-size:13px;margin:10px 0 0;min-height:31px;padding:0}.controls{padding-top:6px}.controls-heading{display:none}.tools{margin:0 0 10px;gap:4px}.tools button{min-height:50px;gap:5px;font-size:11px}.tools svg{width:20px;height:20px}.keypad{grid-template-columns:repeat(5,1fr);gap:6px}.keypad button{height:45px;font-size:23px;border-radius:10px}.keypad button small{font-size:9px;bottom:4px;right:6px}.mode-hint{font-size:13px;margin:11px 0 9px}.bottom-tools{padding-top:5px}.text-button{font-size:13px}.storage{font-size:11px;margin-top:8px}footer{margin:20px 0 18px;font-size:10px;padding-top:14px}.result{padding:16px 0}.result h2{font-size:20px}.result p{font-size:12px}.result .primary{padding:0 14px}dialog{padding:23px}dialog h2{font-size:21px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
/* Korean control labels and guidance follow the product's 13px minimum. */
.tools button,.storage,footer{font-size:13px}
@media(max-width:800px){header .text-button,.heading p,.solo,select,#progress,.tools button,.storage,footer,.result p{font-size:13px}.heading>div{min-width:0}.heading>label{flex-shrink:0}.solo{white-space:nowrap}footer{gap:12px;line-height:1.5}}
.solo{font-size:13px}
