.nomograms-page{isolation:isolate;color:#211e1a;background:#fffcf6;position:relative}.nomograms-heading{color:#fffcf6;background:#211e1a;border-top:4px solid #e25500;border-radius:12px;max-width:980px;margin:20px auto 1.2rem;padding:18px 210px 22px 24px;position:relative}.nomograms-heading h1{margin:.4rem 0 .3rem;font-size:clamp(2.4rem,4vw,3.25rem)}.nomograms-heading p{color:#efe2cd;margin:0}.nomograms-heading .text-link{color:#fffcf6}.nomograms-page .nomograms-heading a:focus-visible{outline-color:#fffcf6}.nomograms-header-bats{pointer-events:none;opacity:.9;align-items:flex-start;gap:18px;display:flex;position:absolute;top:28px;right:26px}.nomograms-header-bats img:last-child{margin-top:42px;transform:rotate(12deg)}.nomograms-game{background:#fff;border:1px solid #ded6cb;border-top:4px solid #e25500;border-radius:16px;max-width:980px;margin:0 auto;padding:clamp(16px,3vw,28px);position:relative;box-shadow:0 6px 24px #211e1a06}.nomograms-toolbar,.nomograms-puzzle-controls,.nomograms-actions,.nomograms-history,.nomograms-generation{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.nomograms-toolbar{justify-content:space-between;gap:16px}.nomograms-puzzle-controls label{font-weight:650}.nomograms-page .nomograms-button,.nomograms-page select{box-sizing:border-box;color:#211e1a;min-height:44px;font:inherit;cursor:pointer;background:#fff;border:1px solid #b6a99b;border-radius:8px;padding:9px 14px;font-size:.94rem;font-weight:600;line-height:1.3}.nomograms-page select{padding-right:28px}.nomograms-page .nomograms-button:hover:not(:disabled){background:#fff4e9;border-color:#a63c00}.nomograms-page .nomograms-check{color:#fff;background:#a63c00;border-color:#a63c00}.nomograms-page .nomograms-check:hover:not(:disabled){color:#fff;background:#853000}.nomograms-page .nomograms-button:disabled,.nomograms-page select:disabled{opacity:.45;cursor:default}:is(.nomograms-page button:focus-visible,.nomograms-page select:focus-visible,.nomograms-page a:focus-visible){outline-offset:3px;outline:3px solid #211e1a}.nomograms-instructions{max-width:76ch;margin:20px 0 8px;font-size:.94rem;line-height:1.65}.nomograms-generation{min-height:44px;margin:0 0 8px}.nomograms-generation p{color:#63594f;margin:0;font-size:.88rem}.nomograms-generation.nomograms-ready{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;min-height:0;margin:-1px;padding:0;position:absolute;overflow:hidden}.nomograms-scroll-note{color:#63594f;margin:0 0 12px;font-size:.8rem;line-height:1.5}.nomograms-viewport{overscroll-behavior:contain;touch-action:pan-x pan-y;scrollbar-gutter:stable;background:#faf7f1;border:1px solid #e5ddd4;border-radius:9px;max-height:min(66vh,780px);overflow:auto}.nomograms-scroll-space{box-sizing:border-box;width:max-content;min-width:100%;padding:24px 28px 32px}.nomograms-board{table-layout:fixed;border-collapse:separate;border-spacing:0;color:#211e1a;font-variant-numeric:tabular-nums;-webkit-user-select:none;user-select:none;background:#fff;width:max-content;margin:auto}.nomograms-board th,.nomograms-board td{box-sizing:border-box;padding:0}.nomograms-cell{text-align:center;vertical-align:middle;cursor:crosshair;touch-action:none;background:#fff;border-bottom:1px solid #b0a69b;border-right:1px solid #b0a69b;width:34px;min-width:34px;max-width:34px;height:34px;position:relative}.nomograms-cell span{color:#211e1a;pointer-events:none;font-family:Arial,sans-serif;font-size:28px;font-weight:400;line-height:30px;display:block}.nomograms-cell.nomograms-mark-1{background:#a63c00}.nomograms-cell:focus-visible{outline-offset:-4px;z-index:1;outline:3px solid #211e1a;box-shadow:inset 0 0 0 5px #fff}.nomograms-cell[aria-disabled=true]{cursor:default}.nomograms-column-clue{z-index:3;vertical-align:bottom;background:#fff;border-bottom:2px solid #211e1a;border-right:1px solid #ded6cb;width:34px;min-width:34px;max-width:34px;font-size:13px;font-weight:650;position:sticky;top:0}.nomograms-column-clue>span{flex-direction:column;align-items:center;padding:7px 0;display:flex}.nomograms-column-clue>span>span{height:18px;line-height:18px}.nomograms-row-clue{z-index:2;white-space:pre;text-align:right;background:#fff;border-bottom:1px solid #ded6cb;border-right:2px solid #211e1a;height:34px;font-size:13px;font-weight:650;position:sticky;left:0;padding:0 10px!important}.nomograms-corner{z-index:4;background:#fff;border-bottom:2px solid #211e1a;border-right:2px solid #211e1a;position:sticky;top:0;left:0}.nomograms-board .nomograms-major-right{border-right:2px solid #211e1a}.nomograms-board .nomograms-major-bottom{border-bottom:2px solid #211e1a}.nomograms-marking-tool{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 16px;margin-top:18px;display:flex}.nomograms-switch{cursor:pointer;width:224px;max-width:100%;height:50px;display:block;position:relative}.nomograms-switch input{z-index:1;opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.nomograms-switch-track{color:#211e1a;background:#fff;border:2px solid #211e1a;border-radius:10px;grid-template-columns:1fr 1fr;gap:3px;height:100%;padding:3px;font-weight:650;display:grid}.nomograms-switch-track>span{border-radius:5px;justify-content:center;align-items:center;font-size:24px;line-height:1;display:flex}.nomograms-switch-selected{color:#fff;background:#a63c00}.nomograms-switch input:focus-visible+.nomograms-switch-track{outline-offset:4px;outline:3px solid #211e1a;box-shadow:0 0 0 3px #fff}.nomograms-actions{justify-content:space-between;gap:14px;margin-top:16px}.nomograms-page .nomograms-check{min-width:108px}.nomograms-result{align-items:center;gap:8px;min-height:30px;margin:14px 0 0;font-weight:650;display:flex}.nomograms-result img{display:block}.nomograms-solved{color:#a63c00}.nomograms-privacy{color:#63594f;border-top:1px solid #eee7de;margin:12px 0 0;padding-top:16px;font-size:.8rem;line-height:1.6}.nomograms-empty{text-align:center;color:#63594f;background:#faf7f1;border:1px solid #e5ddd4;border-radius:9px;padding:64px 16px}.nomograms-confirm{color:#211e1a;background:#fff;border:1px solid #b6a99b;border-radius:12px;width:min(480px,100% - 32px);padding:24px;box-shadow:0 20px 60px #211e1a33}.nomograms-confirm::backdrop{background:#211e1a99}.nomograms-confirm h2{margin:0 0 12px;font-size:1.75rem}.nomograms-confirm p{margin:0 0 20px}.nomograms-confirm-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}@media (max-width:600px){.nomograms-game{padding:16px 12px}.nomograms-heading{margin-top:16px;padding:14px 16px 18px}.nomograms-heading>.text-link{padding-right:112px}.nomograms-heading h1{margin-top:.65rem}.nomograms-header-bats{gap:8px;top:16px;right:16px}.nomograms-header-bats img:first-child{width:52px;height:auto}.nomograms-header-bats img:last-child{width:40px;height:auto;margin-top:12px}.nomograms-puzzle-controls{gap:8px}.nomograms-puzzle-controls label{font-size:.9rem}.nomograms-page .nomograms-button{padding:10px 12px}.nomograms-history{gap:8px}.nomograms-actions{align-items:flex-start}.nomograms-marking-tool{flex-direction:column;gap:8px}}
