.kl.ng{--felt:#21456e;--felt-2:#183457;--felt-3:#0f223b;--felt-edge:#081426;--mark-ink:#fff8e829;--ng-motif-sz:176px;--felt-pattern:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23FFF8E8' stroke-opacity='.09' stroke-width='1.5'%3E%3Cpath d='M24 196h156M24 196V40'/%3E%3Cpath d='M48 196v-8M72 196v-12M96 196v-8M120 196v-12M144 196v-8M24 172h8M24 148h12M24 124h8M24 100h12M24 76h8'/%3E%3C/g%3E%3Cg fill='%23FFF8E8' fill-opacity='.07'%3E%3Crect x='46' y='152' width='18' height='18' rx='3'/%3E%3Crect x='68' y='152' width='18' height='18' rx='3'/%3E%3Crect x='90' y='152' width='18' height='18' rx='3'/%3E%3Crect x='68' y='130' width='18' height='18' rx='3'/%3E%3Crect x='90' y='130' width='18' height='18' rx='3'/%3E%3Crect x='112' y='130' width='18' height='18' rx='3'/%3E%3Crect x='68' y='108' width='18' height='18' rx='3'/%3E%3Crect x='46' y='130' width='18' height='18' rx='3'/%3E%3Crect x='90' y='86' width='18' height='18' rx='3'/%3E%3C/g%3E%3C/svg%3E") left 10px bottom 8px / var(--ng-motif-sz) var(--ng-motif-sz) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23FFF8E8' stroke-opacity='.08' stroke-width='1.5'%3E%3Cpolygon points='196,196 58,196 196,58'/%3E%3Cpolygon points='176,176 106,176 176,106'/%3E%3Cpath d='M168 196v-6M148 196v-9M128 196v-6M108 196v-9M88 196v-6'/%3E%3C/g%3E%3C/svg%3E") right 12px bottom 8px / var(--ng-motif-sz) var(--ng-motif-sz) no-repeat, radial-gradient(circle at 18px 18px, #fff8e80a 1px, transparent 1.2px) 0 0 / 28px 28px;--ng-paper:#fffdf7;--ng-paper-rim:#d9ccb4;--ng-clue-bg:#f6f1e6;--ng-clue-alt:#efe8d9;--ng-clue-bg-hi:#dde8fa;--ng-clue-ink:#14306e;--ng-clue-done:#9aa6ba;--ng-clue-over-bg:#fdecef;--ng-clue-over-ink:#c21f2b;--ng-cell-bg:#fff;--ng-cell-hover:#edf3fc;--ng-cell-lane:#f5f8fd;--ng-grid-thin:#d3dbe8;--ng-grid-major:#14306e;--ng-fill:#14306e;--ng-fill-hi:#1d4496;--ng-cross:#7b8ba6;--ng-hint-ring:#ffce1f;--ng-err-ring:#d7261e;--ng-tool-bg:#0b182e9e;--ng-tool-ink:#f2f6ff}[data-theme=dark] .kl.ng{--felt:#162b47;--felt-2:#102036;--felt-3:#091322;--felt-edge:#040912;--mark-ink:#d7e6ff1f;--felt-pattern:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23DCE8FF' stroke-opacity='.07' stroke-width='1.5'%3E%3Cpath d='M24 196h156M24 196V40'/%3E%3Cpath d='M48 196v-8M72 196v-12M96 196v-8M120 196v-12M144 196v-8M24 172h8M24 148h12M24 124h8M24 100h12M24 76h8'/%3E%3C/g%3E%3Cg fill='%23DCE8FF' fill-opacity='.055'%3E%3Crect x='46' y='152' width='18' height='18' rx='3'/%3E%3Crect x='68' y='152' width='18' height='18' rx='3'/%3E%3Crect x='90' y='152' width='18' height='18' rx='3'/%3E%3Crect x='68' y='130' width='18' height='18' rx='3'/%3E%3Crect x='90' y='130' width='18' height='18' rx='3'/%3E%3Crect x='112' y='130' width='18' height='18' rx='3'/%3E%3Crect x='68' y='108' width='18' height='18' rx='3'/%3E%3Crect x='46' y='130' width='18' height='18' rx='3'/%3E%3Crect x='90' y='86' width='18' height='18' rx='3'/%3E%3C/g%3E%3C/svg%3E") left 10px bottom 8px / var(--ng-motif-sz) var(--ng-motif-sz) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23DCE8FF' stroke-opacity='.06' stroke-width='1.5'%3E%3Cpolygon points='196,196 58,196 196,58'/%3E%3Cpolygon points='176,176 106,176 176,106'/%3E%3Cpath d='M168 196v-6M148 196v-9M128 196v-6M108 196v-9M88 196v-6'/%3E%3C/g%3E%3C/svg%3E") right 12px bottom 8px / var(--ng-motif-sz) var(--ng-motif-sz) no-repeat, radial-gradient(circle at 18px 18px, #dce8ff09 1px, transparent 1.2px) 0 0 / 28px 28px;--ng-paper:#1a2334;--ng-paper-rim:#31415e;--ng-clue-bg:#202b40;--ng-clue-alt:#26334c;--ng-clue-bg-hi:#32486f;--ng-clue-ink:#eaf0fc;--ng-clue-done:#607290;--ng-clue-over-bg:#d7261e3d;--ng-clue-over-ink:#ff8e8a;--ng-cell-bg:#141b29;--ng-cell-hover:#212e46;--ng-cell-lane:#1b263b;--ng-grid-thin:#2b3954;--ng-grid-major:#6d88b8;--ng-fill:#efe4ce;--ng-fill-hi:#fff4dc;--ng-cross:#7b92b8;--ng-hint-ring:#ffce1f;--ng-err-ring:#ff6b63;--ng-tool-bg:#08101ebd;--ng-tool-ink:#eaf0fc}.ng-static{place-items:center;padding:20px 12px 26px;display:grid}.ng-static svg{width:min(100%,540px);height:auto;display:block}.ng-nojs{color:#fffdf7;background:#0e1c34d1;border-radius:10px;margin:12px 0 0;padding:8px 14px;font-size:14px;font-weight:700}.kl.is-ready .kl-placeholder{display:none}.kl.ng .kl-board{box-sizing:border-box;z-index:2;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:8px 8px 26px;display:flex;position:relative}.kl.ng .ng-sentinel.kl-card{opacity:0;pointer-events:none;border-radius:0;width:1px;height:1px;position:absolute;top:0;left:0}.ng-frame{--cs:34px;--ng-row-w:64px;--ng-col-h:64px;--ng-clue-fs:13px;grid-template-columns:var(--ng-row-w) auto;grid-template-rows:var(--ng-col-h) auto;background:var(--ng-paper);border:2px solid var(--ng-grid-major);touch-action:none;box-sizing:border-box;border-radius:12px;gap:0;max-width:calc(100vw - 16px);padding:0;display:grid;overflow:hidden;box-shadow:0 14px 30px #060e1c5c,0 2px 6px #060e1c38}.ng-corner{background:var(--ng-paper);color:var(--ng-clue-ink);border-right:2px solid var(--ng-grid-major);border-bottom:2px solid var(--ng-grid-major);font:400 clamp(9px, calc(var(--ng-clue-fs) * .8), 13px)/1 var(--sign);letter-spacing:0;user-select:none;place-items:center;padding:2px;display:grid}.ng-col-clues{grid-auto-flow:column;grid-auto-columns:var(--cs);border-bottom:2px solid var(--ng-grid-major);align-items:stretch;display:grid}.ng-row-clues{grid-auto-rows:var(--cs);border-right:2px solid var(--ng-grid-major);align-items:stretch;display:grid}.ng-clue-col,.ng-clue-row{background:var(--ng-clue-bg);color:var(--ng-clue-ink);font:700 var(--ng-clue-fs)/1.06 var(--read-ui);font-variant-numeric:tabular-nums;box-sizing:border-box;transition:background-color .12s,color .12s;display:flex;overflow:hidden}.ng-clue-col:nth-child(2n),.ng-clue-row:nth-child(2n){background:var(--ng-clue-alt)}.ng-clue-col{border-right:1px solid var(--ng-grid-thin);flex-direction:column;justify-content:flex-end;align-items:center;gap:2px;padding:4px 0 5px}.ng-clue-col:last-child{border-right:0}.ng-clue-col.is-major{border-right:2px solid var(--ng-grid-major)}.ng-clue-row{justify-content:flex-end;align-items:center;gap:clamp(3px, calc(var(--cs) * .17), 7px);border-bottom:1px solid var(--ng-grid-thin);flex-direction:row;padding:0 7px 0 4px}.ng-clue-row:last-child{border-bottom:0}.ng-clue-row.is-major{border-bottom:2px solid var(--ng-grid-major)}.ng-clue-col.is-active,.ng-clue-row.is-active{background:var(--ng-clue-bg-hi)}.ng-clue-col.is-done,.ng-clue-row.is-done{opacity:.56}.ng-clue-col.is-over,.ng-clue-row.is-over{background:var(--ng-clue-over-bg);color:var(--ng-clue-over-ink);opacity:1}.ng-num{text-align:center;transition:opacity .15s,color .15s;display:inline-block;position:relative}.ng-num.is-hit{color:var(--ng-clue-done);text-decoration:line-through 1.8px}.ng-clue-col.is-over .ng-num.is-hit,.ng-clue-row.is-over .ng-num.is-hit{color:var(--ng-clue-over-ink);text-decoration:none}.ng-grid{grid-template-columns:repeat(var(--ng-n), var(--cs));grid-template-rows:repeat(var(--ng-n), var(--cs));background:var(--ng-cell-bg);touch-action:none;display:grid;position:relative}.ng-cell{width:var(--cs);height:var(--cs);border:0;border-right:1px solid var(--ng-grid-thin);border-bottom:1px solid var(--ng-grid-thin);background:var(--ng-cell-bg);cursor:pointer;box-sizing:border-box;-webkit-tap-highlight-color:transparent;outline:none;place-items:center;margin:0;padding:0;transition:background-color .1s;display:grid;position:relative}.ng-cell.is-last-c{border-right:0}.ng-cell.is-last-r{border-bottom:0}.ng-cell.is-maj-c{border-right:2px solid var(--ng-grid-major)}.ng-cell.is-maj-r{border-bottom:2px solid var(--ng-grid-major)}.ng-cell.is-lane{background:var(--ng-cell-lane)}.ng-cell:hover{background:var(--ng-cell-hover)}.ng-cell:focus-visible{z-index:4;box-shadow:inset 0 0 0 2.5px var(--ng-hint-ring), 0 0 0 2px var(--ng-grid-major)}.ng-cell:after{content:"";inset:clamp(1px, calc(var(--cs) * .08), 3px);border-radius:clamp(1px, calc(var(--cs) * .1), 4px);background:var(--ng-fill);opacity:0;pointer-events:none;transition:transform .12s cubic-bezier(.16,1,.3,1),opacity .1s;position:absolute;transform:scale(.45)}.ng-cell.is-filled:after{opacity:1;transform:scale(1)}.ng-cell.is-filled:hover:after{background:var(--ng-fill-hi)}.ng-x{width:58%;height:58%;stroke:var(--ng-cross);stroke-width:2.4px;stroke-linecap:round;fill:none;opacity:0;pointer-events:none;transition:transform .12s cubic-bezier(.16,1,.3,1),opacity .1s;transform:scale(.6)}.ng-cell.is-cross .ng-x{opacity:1;transform:scale(1)}.ng-cell.is-hint{z-index:3;box-shadow:inset 0 0 0 3px var(--ng-hint-ring);animation:1.1s ease-in-out 2 ng-pulse}.ng-cell.is-mistake{z-index:3;box-shadow:inset 0 0 0 3px var(--ng-err-ring);animation:1.1s ease-in-out 2 ng-pulse}@keyframes ng-pulse{0%,to{filter:brightness()}50%{filter:brightness(1.18)}}.kl.ng.is-won .ng-cell{border-color:#0000}.kl.ng.is-won .ng-cell:after{border-radius:0;inset:0}.kl.ng.is-won .ng-cell.is-cross .ng-x{opacity:0}.kl.ng.is-won .ng-grid{animation:.45s cubic-bezier(.16,1,.3,1) ng-reveal}@keyframes ng-reveal{0%{transform:scale(.97)}55%{transform:scale(1.025)}to{transform:scale(1)}}.ng-win-art{border:2px solid var(--yellow);background:#fffdf7;border-radius:10px;place-items:center;width:84px;height:84px;margin:0 auto 4px;padding:6px;display:grid;box-shadow:0 6px 14px #060e1c59}.ng-win-art:empty{display:none}.ng-win-art svg{width:100%;height:100%;display:block}.ng-bar{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.ng-tools{background:var(--ng-tool-bg);border:1.5px solid #fff3;border-radius:999px;align-items:center;gap:4px;padding:4px;display:inline-flex;box-shadow:0 6px 16px #060e1c47}.ng-tool{min-width:96px;min-height:40px;color:var(--ng-tool-ink);font:700 14px/1 var(--read-ui);cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;gap:7px;padding:0 16px;transition:background-color .15s,color .15s,transform .12s;display:inline-flex}.ng-tool svg{flex:none;width:17px;height:17px}.ng-tool:hover{background:#ffffff1a}.ng-tool:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}.ng-tool[aria-pressed=true]{background:var(--yellow);color:var(--navy);box-shadow:0 2px 8px #060e1c40}.ng-kb-tip{font:700 12.5px/1.2 var(--read-ui);color:#ecf3ffd1;margin:0}.kl.ng .kl-splash-btns{max-width:560px}@media (hover:none),(width<=760px){.ng-kb-tip{display:none}}@media (width<=760px){.kl.ng{--ng-motif-sz:112px}.kl.ng .kl-board{gap:8px;padding:8px 4px 22px}.ng-frame{border-radius:10px}.ng-clue-row{padding:0 5px 0 3px}.ng-tool{min-width:108px;min-height:42px;font-size:14px}}@media (height<=500px) and (width>=560px){.kl.ng .kl-board{flex-direction:row;justify-content:center;align-items:center;gap:14px;padding:6px 12px 18px}.ng-bar{flex-direction:column}.ng-tools{border-radius:16px;flex-direction:column}.ng-tool{min-width:92px;min-height:38px;padding:0 12px}.ng-kb-tip{display:none}}@media (height<=520px){.kl.ng .kl-wide{display:none}.kl.ng .kl-hud{flex-wrap:nowrap;gap:6px;padding:5px 10px}.kl.ng .kl-stats{gap:4px;width:auto}.kl.ng .kl-stat{flex:none;min-width:52px;padding:2px 8px 3px}.kl.ng .kl-stat dt{font-size:10px}.kl.ng .kl-stat dd{margin-top:1px;font-size:14px}.kl.ng .kl-btns{gap:4px;width:auto}}.kl.ng.is-fs .kl-board{justify-content:center;min-height:100%}@media (prefers-reduced-motion:reduce){.ng-cell:after,.ng-x,.ng-tool,.kl.ng.is-won .ng-grid,.ng-cell.is-hint,.ng-cell.is-mistake{transition:none;animation:none}}
