/* TABOOO Numbers 1.0.0 — entirely scoped to .tnum, no JNews global overrides. */
.tnum{--tnum-accent:#f65b77;--tnum-bg:#090a14;--tnum-ink:#f7f8ff;--tnum-muted:#a0a4b8;--tnum-line:rgba(225,226,245,.13);--tnum-panel:#161725;position:relative;width:100%;max-width:none;margin:0 auto 28px;color:var(--tnum-ink)!important;background:transparent;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.45;font-size:14px;isolation:isolate;outline:none}
.tnum,.tnum *,.tnum *:before,.tnum *:after{box-sizing:border-box}
.tnum h2,.tnum h3,.tnum p{font-family:inherit;color:inherit!important;margin:0!important;padding:0;line-height:inherit}
.tnum button{font-family:inherit;cursor:pointer;line-height:1.2}
.tnum button:focus-visible,.tnum a:focus-visible{outline:3px solid #ffb6c2;outline-offset:3px}
.tnum [hidden]{display:none!important}
.tnum .tnum-frame{padding:22px clamp(16px,2.6vw,38px) 16px;border:1px solid #2b2a3e;border-radius:23px;background:radial-gradient(circle at 93% 5%,rgba(211,48,96,.16),transparent 32%),radial-gradient(circle at 2% 70%,rgba(81,48,149,.09),transparent 40%),#0b0c16;box-shadow:0 24px 75px rgba(0,0,0,.18);max-width:1280px;margin:0 auto;overflow:hidden}
.tnum .tnum-topbar{display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:40px;padding-bottom:17px;border-bottom:1px solid var(--tnum-line)}
.tnum .tnum-back{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;color:#b8b7c9!important;font-weight:800;letter-spacing:.12em;font-size:11px;text-decoration:none!important}.tnum .tnum-back:hover{color:white!important}.tnum .tnum-back span{font-size:21px;font-weight:400}
.tnum .tnum-brand{font-size:clamp(15px,2vw,21px);font-weight:850;letter-spacing:-.05em;color:white;white-space:nowrap}.tnum .tnum-brand strong{color:#f77789}.tnum .tnum-brand strong span{color:white}
.tnum .tnum-top-actions{display:flex;align-items:center;gap:12px}.tnum .tnum-edition{color:#8b90a8;letter-spacing:.17em;font-size:10px;font-weight:800}.tnum .tnum-help-btn{border:1px solid #56526a;border-radius:100%;background:transparent;color:white;width:31px;height:31px;font-size:15px;font-weight:800}
.tnum .tnum-title-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:26px 0 25px}.tnum .tnum-overline{color:#ff738b;font-size:10px;letter-spacing:.2em;font-weight:850}.tnum .tnum-title-row h2{font-size:clamp(24px,3.8vw,43px)!important;letter-spacing:-.055em;line-height:1.06;margin:10px 0 11px!important;font-weight:900}.tnum .tnum-title-row h2 em{color:#f37b8f;font-style:normal}.tnum .tnum-title-row p{color:#a8acc0!important;font-size:12px}.tnum .tnum-level-chip{border:1px solid #59344c;background:linear-gradient(125deg,#301b2d,#141424);border-radius:13px;min-width:105px;padding:12px 17px;display:flex;flex-direction:column;align-items:center;gap:2px;box-shadow:0 0 30px rgba(195,54,87,.09)}.tnum .tnum-level-chip span{color:#eeb0ba;font-size:9px;letter-spacing:.12em;font-weight:800}.tnum .tnum-level-chip strong{font-size:35px;line-height:1.08;color:#fff;font-weight:900}.tnum .tnum-level-chip small{color:#bcb1c3;font-size:10px;letter-spacing:.08em;font-weight:750}
.tnum .tnum-game-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(245px,.9fr);gap:20px;align-items:start}.tnum .tnum-puzzle-col{background:linear-gradient(150deg,rgba(37,38,56,.8),rgba(18,19,34,.87));border:1px solid #353448;padding:16px clamp(12px,2vw,22px) 18px;border-radius:18px;min-width:0}
.tnum .tnum-board-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:15px}.tnum .tnum-section-label{font-size:10px;letter-spacing:.15em;font-weight:850;color:#e9d8df;display:flex;align-items:center;gap:8px}.tnum .tnum-led{width:7px;height:7px;background:#ff5875;box-shadow:0 0 0 4px #ff587520;border-radius:50%;display:block}.tnum .tnum-section-label span[data-bind]{color:#9591a8}.tnum .tnum-difficulty{font-size:9px;color:#ffb5c0;border:1px solid #76394e;border-radius:50px;padding:6px 10px;font-weight:850;letter-spacing:.1em}
.tnum .tnum-board-shell{position:relative;background:#0f1321;border:1px solid #4a4d65;box-shadow:0 0 0 5px rgba(235,75,115,.055),0 18px 38px rgba(0,0,0,.18);border-radius:13px;padding:clamp(6px,1vw,11px);margin:auto;width:min(100%,500px)}
.tnum .tnum-board{--tnum-n:4;display:grid;grid-template-columns:repeat(var(--tnum-n),minmax(0,1fr));aspect-ratio:1/1;border:2px solid #74748e;background:#606779;gap:1px;border-radius:5px;overflow:hidden}.tnum .tnum-cell{min-width:0;min-height:0;padding:0;border:0!important;border-radius:0!important;background:#1b2033;color:#d8ddf3;font-size:clamp(17px,3.2vw,31px);font-weight:800;display:flex;align-items:center;justify-content:center;transition:background .16s ease,color .16s ease,transform .12s ease;position:relative;box-shadow:none!important}.tnum .tnum-board[data-size="9"] .tnum-cell{font-size:clamp(16px,2.3vw,26px)}.tnum .tnum-cell.is-given{background:#2b3044;color:#d3d6e7}.tnum .tnum-cell.is-solved{color:#8ed8ff}.tnum .tnum-cell.is-peer:not(.is-selected){background:#26243d}.tnum .tnum-cell.is-match:not(.is-selected){background:#3c2946;color:#ffd5df}.tnum .tnum-cell.is-selected{background:#e94e6e!important;color:#fff!important;box-shadow:inset 0 0 0 2px #fff5!important}.tnum .tnum-cell.is-box-left{border-left:3px solid #a7a6c2!important}.tnum .tnum-cell.is-box-top{border-top:3px solid #a7a6c2!important}.tnum .tnum-cell.is-error{background:#b72842!important;animation:tnum-shake .27s linear 1}.tnum .tnum-cell:hover:not(.is-selected){background:#413653}
.tnum .tnum-board[data-size="4"] .tnum-cell{font-size:clamp(28px,5vw,53px)}.tnum .tnum-board[data-size="6"] .tnum-cell{font-size:clamp(23px,4vw,37px)}
.tnum .tnum-candidates{width:90%;height:90%;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);align-items:center;justify-items:center;font-size:clamp(7px,1.05vw,12px);line-height:1;font-weight:650;color:#e6b8c4}.tnum .tnum-board[data-size="4"] .tnum-candidates{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);font-size:16px}.tnum .tnum-board[data-size="6"] .tnum-candidates{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);font-size:11px}
.tnum .tnum-feedback{color:#a6aabe;font-size:12px;text-align:center;min-height:38px;display:flex;align-items:center;justify-content:center;padding:11px 4px 5px}.tnum .tnum-feedback[data-kind="success"]{color:#7fe1ac}.tnum .tnum-feedback[data-kind="danger"]{color:#ffa5ad}.tnum .tnum-feedback[data-kind="warning"]{color:#ffc492}
.tnum .tnum-keypad{--tnum-n:4;display:grid;grid-template-columns:repeat(var(--tnum-n),minmax(0,1fr));gap:7px;width:min(100%,500px);margin:0 auto}.tnum .tnum-keypad button{background:#282c40;color:#f7f8ff;border:1px solid #42435a;border-radius:9px;min-width:0;min-height:45px;font-size:20px;font-weight:850;box-shadow:0 3px 0 #14151f;transition:background .18s,transform .1s}.tnum .tnum-keypad button:hover{background:#593447;border-color:#a95c77}.tnum .tnum-keypad button:active{transform:translateY(2px);box-shadow:none}
.tnum .tnum-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:min(100%,500px);margin:13px auto 0}.tnum .tnum-tools button{min-height:38px;border:1px solid #35374c;border-radius:8px;background:#171a2a;color:#b5b9cd;font-size:11px;font-weight:760;display:flex;gap:6px;align-items:center;justify-content:center;flex-wrap:wrap}.tnum .tnum-tools button:hover,.tnum .tnum-tools button.is-on{border-color:#a55274;background:#332338;color:#fbd9e4}.tnum .tnum-tools button>span:first-child{font-size:16px}.tnum .tnum-tool-state{color:#e9899f;font-size:9px}
.tnum .tnum-sidebar{display:grid;gap:13px;min-width:0}.tnum .tnum-panel{background:linear-gradient(160deg,#1b1b2b,#141521);border:1px solid #303043;border-radius:15px;padding:clamp(14px,1.9vw,22px)}.tnum .tnum-panel-heading{font-size:10px;font-weight:850;letter-spacing:.11em;color:#d9d9ea;display:flex;justify-content:space-between;align-items:center;gap:8px}.tnum .tnum-panel-heading>span{color:#fc718c;font-size:13px}.tnum .tnum-score-label{font-size:10px;font-weight:800;letter-spacing:.16em;color:#b5aabd;margin-top:21px}.tnum .tnum-score{font-size:clamp(38px,4vw,51px);letter-spacing:-.045em;font-weight:900;line-height:1.1;margin:3px 0 21px;color:#fff;text-shadow:0 0 25px rgba(235,59,95,.2);font-variant-numeric:tabular-nums}.tnum .tnum-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--tnum-line)}.tnum .tnum-stats-grid>div{padding:15px 4px 7px;display:flex;flex-direction:column;gap:6px}.tnum .tnum-stats-grid>div:nth-child(odd){border-right:1px solid var(--tnum-line)}.tnum .tnum-stats-grid>div:nth-child(even){padding-left:14px}.tnum .tnum-stats-grid>div:nth-child(n+3){border-top:1px solid var(--tnum-line)}.tnum .tnum-stats-grid span{color:#9397ae;font-size:9px;font-weight:760;letter-spacing:.14em}.tnum .tnum-stats-grid strong{color:#fcfcff;font-size:20px;font-weight:850;font-variant-numeric:tabular-nums}.tnum [data-bind="lives"]{color:#fb6680!important;white-space:nowrap;letter-spacing:.05em;font-size:17px!important}
.tnum .tnum-progress-track{height:9px;border-radius:12px;background:#323041;overflow:hidden;margin:20px 0 8px}.tnum .tnum-progress-fill{height:100%;width:0;border-radius:12px;background:linear-gradient(90deg,#f55070,#ff9b81);transition:width .25s ease}.tnum .tnum-progress-copy{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;color:#adb1c3;font-size:9px;font-weight:770;letter-spacing:.06em}.tnum .tnum-level-steps{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;margin-top:20px}.tnum .tnum-level-steps span{aspect-ratio:1;border-radius:5px;background:#282b3b;border:1px solid #34374d;color:#999db0;font-size:10px;display:flex;align-items:center;justify-content:center;font-weight:800;min-width:0}.tnum .tnum-level-steps .is-current{background:#ee5673;border-color:#fb93aa;color:#fff;box-shadow:0 0 12px rgba(253,68,104,.35)}.tnum .tnum-level-steps .is-done{background:#2e654c;border-color:#3ca477;color:#c2f8df}
.tnum .tnum-rules-panel p{color:#a9afc2!important;font-size:11px;line-height:1.6!important;margin-top:12px!important}.tnum .tnum-rules-panel strong{color:#f6d8e4}.tnum .tnum-rules-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:17px}.tnum .tnum-rules-tags span{border:1px solid #514051;padding:6px 8px;border-radius:6px;font-size:9px;font-weight:800;color:#e0b3c4}
.tnum .tnum-side-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tnum .tnum-side-actions button{font-size:11px;font-weight:780;border:1px solid #403b51;border-radius:9px;padding:11px 7px;background:#1e1c2c;color:#e6dfe9}.tnum .tnum-side-actions button:hover{background:#3d2940;border-color:#a34e6a}.tnum .tnum-side-actions button:last-child{grid-column:1/-1;background:#352035;border-color:#733c55;color:#ffc5d4}
.tnum .tnum-footer{padding:19px 0 0;margin-top:20px;border-top:1px solid var(--tnum-line);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#858ba2;font-size:9px;font-weight:750;letter-spacing:.1em}
.tnum .tnum-overlay{position:absolute;inset:0;z-index:4;display:flex;align-items:center;justify-content:center;background:rgba(8,9,19,.89);backdrop-filter:blur(8px);border-radius:10px;padding:14px;text-align:center}.tnum .tnum-overlay-inner{max-width:350px}.tnum .tnum-overlay-symbol{display:block;font-size:60px;line-height:1;color:#ff8ca3;filter:drop-shadow(0 0 18px #ff567788)}.tnum .tnum-overlay h3{font-weight:900;font-size:clamp(22px,3vw,32px);margin:12px 0!important;line-height:1.1}.tnum .tnum-overlay p{color:#acb0c6!important;font-size:12px;line-height:1.6!important}.tnum .tnum-result-stats{display:flex;justify-content:center;gap:20px;margin:19px 0;color:#bdc0d1;font-size:11px}.tnum .tnum-result-stats strong{display:block;color:#fff;font-size:20px}.tnum .tnum-primary{border:0;border-radius:11px;color:white;background:linear-gradient(100deg,#ec5274,#b93456);padding:13px 19px;font-weight:850;box-shadow:0 7px 24px #c8426644}.tnum .tnum-ghost{border:1px solid #484157;background:transparent;color:#e9c0ce;padding:12px 17px;border-radius:10px;font-weight:750;margin:11px auto 0;display:block}.tnum .tnum-primary:hover{filter:brightness(1.12)}
.tnum .tnum-dialog{position:fixed;inset:0;z-index:2147480000;background:rgba(5,5,13,.88);display:flex;align-items:center;justify-content:center;padding:18px}.tnum .tnum-dialog-card{position:relative;width:min(100%,480px);background:#1b1b2d;border:1px solid #6c3854;border-radius:18px;box-shadow:0 25px 80px #0009;padding:27px;max-height:90vh;overflow-y:auto}.tnum .tnum-dialog-close{position:absolute;top:13px;right:13px;border:0;color:#fff;font-size:24px;background:transparent}.tnum .tnum-dialog h3{font-size:29px;font-weight:850;margin:11px 0!important}.tnum .tnum-dialog p{font-size:13px;color:#bcc0d2!important;line-height:1.7!important;margin:10px 0!important}.tnum .tnum-dialog .tnum-primary{margin-top:14px}
@keyframes tnum-shake{0%,100%{transform:translateX(0)}25%,75%{transform:translateX(-3px)}50%{transform:translateX(3px)}}
@media(max-width:900px){.tnum .tnum-game-layout{grid-template-columns:minmax(0,1fr) minmax(220px,.75fr);gap:12px}.tnum .tnum-panel{padding:13px}.tnum .tnum-score{font-size:35px}.tnum .tnum-level-steps{gap:3px}.tnum .tnum-level-steps span{font-size:9px}}
@media(max-width:740px){.tnum .tnum-frame{padding:16px 12px 12px;border-radius:15px}.tnum .tnum-game-layout{grid-template-columns:1fr;gap:15px}.tnum .tnum-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.tnum .tnum-stat-panel{grid-row:span 2}.tnum .tnum-side-actions{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}.tnum .tnum-side-actions button:last-child{grid-column:auto}.tnum .tnum-edition{display:none}.tnum .tnum-title-row{padding:22px 2px}.tnum .tnum-puzzle-col{padding:15px 12px}.tnum .tnum-board-shell{width:min(100%,440px)}.tnum .tnum-score{font-size:35px}}
@media(max-width:475px){.tnum .tnum-back{font-size:9px;letter-spacing:.06em}.tnum .tnum-brand{font-size:15px}.tnum .tnum-topbar{gap:7px}.tnum .tnum-top-actions{gap:5px}.tnum .tnum-title-row h2{font-size:clamp(22px,6vw,29px)!important}.tnum .tnum-title-row p{font-size:11px;max-width:220px}.tnum .tnum-level-chip{min-width:78px;padding:10px 8px}.tnum .tnum-level-chip strong{font-size:28px}.tnum .tnum-level-chip span{font-size:8px}.tnum .tnum-level-chip small{font-size:8px}.tnum .tnum-board-shell{padding:5px;border-radius:9px}.tnum .tnum-board[data-size="9"] .tnum-cell{font-size:clamp(13px,4.2vw,20px)}.tnum .tnum-cell.is-box-left{border-left-width:2px!important}.tnum .tnum-cell.is-box-top{border-top-width:2px!important}.tnum .tnum-keypad{gap:3px}.tnum .tnum-keypad[data-size="9"]{grid-template-columns:repeat(5,minmax(0,1fr))}.tnum .tnum-keypad[data-size="6"]{grid-template-columns:repeat(3,minmax(0,1fr))}.tnum .tnum-keypad button{min-height:39px;font-size:16px;border-radius:7px}.tnum .tnum-tools{gap:4px}.tnum .tnum-tools button{font-size:10px;padding:5px 3px}.tnum .tnum-sidebar{grid-template-columns:1fr}.tnum .tnum-stat-panel{grid-row:auto}.tnum .tnum-side-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.tnum .tnum-side-actions button:last-child{grid-column:1/-1}.tnum .tnum-level-steps span{font-size:11px}.tnum .tnum-board[data-size="9"] .tnum-candidates{font-size:7px}.tnum .tnum-footer{font-size:8px}}
@media(prefers-reduced-motion:reduce){.tnum *,.tnum *:before,.tnum *:after{animation:none!important;transition:none!important}}
