/* TABOOO Memory v1.0.1. Styles are scoped to avoid JNews and TABOOO PLAY collisions. */
.tbm-root{--tbm-bg:#090b12;--tbm-panel:#171923;--tbm-line:#303142;--tbm-soft:#a7a7b8;--tbm-white:#fff;--tbm-red:#ee4e69;--tbm-pink:#fe809d;position:relative;left:50%;transform:translateX(-50%);width:min(1380px,calc(100vw - 22px));max-width:none;margin:8px 0 20px!important;color:var(--tbm-white);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.5;text-align:left;isolation:isolate}
.tbm-root *, .tbm-root *::before,.tbm-root *::after{box-sizing:border-box}.tbm-root button{font:inherit}.tbm-root button:focus-visible{outline:3px solid #ff90a5;outline-offset:3px}.tbm-root button{cursor:pointer}.tbm-root button:disabled{cursor:not-allowed}.tbm-root [hidden]{display:none!important}.tbm-root h2,.tbm-root h3,.tbm-root p{padding:0;margin:0;color:inherit;line-height:1.15;font-family:inherit}.tbm-root h2,.tbm-root h3{font-weight:900;letter-spacing:-.04em}
.tbm-root .tbm-game{position:relative;border:1px solid #302632;border-radius:20px;overflow:hidden;background:radial-gradient(ellipse 45% 70% at 99% 0,rgba(114,24,54,.23),transparent 78%),radial-gradient(ellipse 50% 70% at 0 90%,rgba(80,22,67,.21),transparent 70%),var(--tbm-bg);box-shadow:0 15px 80px rgba(0,0,0,.28);min-height:610px;padding:0 clamp(16px,2.6vw,38px);display:flex;flex-direction:column}
.tbm-root .tbm-header{height:89px;min-height:89px;border-bottom:1px solid #282631;display:flex;align-items:center;justify-content:space-between;gap:14px}.tbm-root .tbm-brand{display:flex;align-items:center;gap:15px}.tbm-root .tbm-brand-mark{display:grid;place-items:center;width:45px;height:45px;color:#fff;background:linear-gradient(135deg,#9a294d,#ff5b70);border:1px solid #ff8d9e;border-radius:12px;font-size:26px;box-shadow:0 8px 28px #e92c5d3b}.tbm-root .tbm-eyebrow{font-size:10px;letter-spacing:.23em;font-weight:850;color:#f6a5b9}.tbm-root .tbm-logo{font-size:29px;line-height:1.08!important;letter-spacing:-.06em;color:#fff!important}.tbm-root .tbm-logo span{color:#ff5574}.tbm-root .tbm-header-actions{display:flex;align-items:center;gap:8px}.tbm-root .tbm-online{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.11em;color:#aeb0c5;font-weight:850;margin-right:13px}.tbm-root .tbm-dot{width:6px;height:6px;border-radius:50%;background:#44d6a3;box-shadow:0 0 0 4px rgba(68,214,163,.13)}.tbm-root .tbm-icon-btn{width:36px;height:36px;border-radius:10px;border:1px solid #3b3444;background:#171522;color:#c6b8ca;font-size:17px;font-weight:800;box-shadow:none}.tbm-root .tbm-icon-btn:hover,.tbm-root .tbm-icon-btn.is-on{background:#433044;color:#fff}
.tbm-root .tbm-intro{position:relative;min-height:465px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(275px,.9fr);align-items:center;gap:20px;overflow:hidden}.tbm-root .tbm-intro-copy{padding:34px 0 44px 12px;position:relative;z-index:2}.tbm-root .tbm-kicker{font-size:11px;font-weight:850;letter-spacing:.18em;color:#ff91aa;display:inline-flex;align-items:center;gap:10px}.tbm-root .tbm-kicker i{display:inline-block;height:7px;width:7px;border-radius:50%;background:#ff5875;box-shadow:0 0 0 5px #ed45602b}.tbm-root .tbm-intro h3{font-size:clamp(30px,4.6vw,61px);line-height:1.055!important;color:#fff!important;margin:17px 0 15px;max-width:700px;letter-spacing:-.07em}.tbm-root .tbm-intro h3 em{font-style:normal;color:#ff5b79}.tbm-root .tbm-intro-copy>p{color:#bcb8c5;max-width:510px;font-size:14px;line-height:1.7}.tbm-root .tbm-mode-picker{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0 20px}.tbm-root .tbm-mode{border:1px solid #474050;background:#171723;border-radius:12px;min-width:157px;min-height:71px;text-align:left;padding:12px 16px;color:#fff;box-shadow:none}.tbm-root .tbm-mode strong{display:block;font-size:15px;letter-spacing:.01em}.tbm-root .tbm-mode small{color:#aea8bb;display:block;margin-top:3px;font-size:11px}.tbm-root .tbm-mode:hover{border-color:#e96580}.tbm-root .tbm-mode.is-selected{border-color:#ff6181;background:linear-gradient(130deg,#422035,#241b2f);box-shadow:0 0 0 1px #e8577a33}.tbm-root .tbm-primary{border:0;min-height:43px;border-radius:11px;padding:12px 22px;background:linear-gradient(120deg,#f05c7c,#c72a50);color:#fff!important;font-size:12px;font-weight:900;letter-spacing:.07em;box-shadow:0 8px 25px #bd275055}.tbm-root .tbm-primary:hover{transform:translateY(-2px);filter:brightness(1.12)}.tbm-root .tbm-primary span{padding-left:18px}.tbm-root .tbm-intro-foot{color:#898599;display:block;margin-top:13px;font-size:11px}
.tbm-root .tbm-intro-art{min-height:425px;position:relative;isolation:isolate}.tbm-root .tbm-art-glow{position:absolute;inset:4%;background:radial-gradient(circle,#b3315b65,transparent 65%);filter:blur(20px)}.tbm-root .tbm-art-orbit{position:absolute;left:9%;right:9%;top:14%;bottom:12%;border:1px solid #f55a8135;border-radius:50%;transform:rotate(31deg)}.tbm-root .tbm-art-card{position:absolute;width:clamp(85px,12vw,150px);aspect-ratio:4/5;border-radius:18px;border:1px solid #ff8295a6;display:grid;place-items:center;color:#fff;font-size:58px;font-weight:800;text-shadow:0 0 24px #e75287;box-shadow:inset 0 0 40px #d7466022,0 15px 48px #0006;background:linear-gradient(130deg,#56263a,#251b35);transform:rotate(-16deg)}.tbm-root .tbm-art-one{top:16%;left:22%;transform:rotate(-22deg)}.tbm-root .tbm-art-two{top:23%;right:13%;transform:rotate(17deg);background:linear-gradient(140deg,#38315f,#201a34);border-color:#a38beb}.tbm-root .tbm-art-three{bottom:12%;left:17%;transform:rotate(13deg);background:linear-gradient(140deg,#232d55,#1a1b35);border-color:#7393ef}.tbm-root .tbm-art-four{bottom:8%;right:17%;transform:rotate(-13deg)}
.tbm-root .tbm-play{flex:1;display:flex;flex-direction:column;padding:18px 0 14px}.tbm-root .tbm-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.tbm-root .tbm-stat{background:linear-gradient(130deg,#1b1a27,#14131e);border:1px solid #332b39;border-radius:13px;padding:12px 17px;min-height:69px}.tbm-root .tbm-stat>span{font-size:10px;letter-spacing:.15em;color:#a39caf;font-weight:800;display:block}.tbm-root .tbm-stat strong{display:block;margin-top:4px;color:#fff;font-size:24px;line-height:1;font-weight:900;letter-spacing:-.04em}.tbm-root .tbm-stat strong span{font-size:13px;font-weight:650;color:#a5a0b2}.tbm-root .tbm-stat-time strong{color:#ff7992}.tbm-root .tbm-progress{height:4px;margin:12px 0 17px;border-radius:6px;background:#302434;overflow:hidden}.tbm-root .tbm-progress-fill{height:100%;width:100%;display:block;border-radius:6px;background:linear-gradient(90deg,#f47c9c,#f54967);transition:width .22s linear}.tbm-root .tbm-progress-fill.is-low{background:#ffb157}
.tbm-root .tbm-play-main{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:19px;flex:1;align-items:stretch}.tbm-root .tbm-board-column{min-width:0;display:flex;flex-direction:column}.tbm-root .tbm-board-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 13px}.tbm-root .tbm-board-head h3{font-size:23px;color:#fff!important;letter-spacing:-.045em;margin-top:5px}.tbm-root .tbm-pairs-label{white-space:nowrap;color:#e9aec4;border:1px solid #62364e;background:#281725;padding:7px 10px;border-radius:9px;font-size:10px;letter-spacing:.07em;font-weight:850}.tbm-root .tbm-board-wrap{position:relative;min-height:250px;flex:1;display:grid;align-items:center;background:radial-gradient(ellipse 70% 120% at 50% 50%,rgba(96,29,72,.2),transparent 80%),#10111b;border:1px solid #2d2938;border-radius:17px;padding:13px}.tbm-root .tbm-board{display:grid;grid-template-columns:repeat(var(--tbm-cols,4),minmax(0,1fr));gap:clamp(5px,.85vw,10px);max-width:680px;width:100%;margin:auto}.tbm-root .tbm-tile{display:block;position:relative;aspect-ratio:1.25/1;width:100%;border:none;padding:0;background:transparent;perspective:650px;min-height:0}.tbm-root .tbm-tile-inner{position:relative;display:block;width:100%;height:100%;transform-style:preserve-3d;transition:transform .38s ease}.tbm-root .tbm-tile.is-open .tbm-tile-inner{transform:rotateY(180deg)}.tbm-root .tbm-tile-front,.tbm-root .tbm-tile-back{position:absolute;display:grid;place-items:center;inset:0;backface-visibility:hidden;border:1px solid #47334a;border-radius:clamp(7px,.9vw,14px)}.tbm-root .tbm-tile-back{background:linear-gradient(145deg,#35243c,#1d1d2d);color:#ff8ca7;box-shadow:inset 0 0 32px rgba(243,83,132,.05);font-size:clamp(20px,4vw,35px)}.tbm-root .tbm-tile-back span{display:grid;place-items:center;width:42%;aspect-ratio:1;border:1px solid #9e4b6c;border-radius:10px;transform:rotate(-14deg);font-weight:850}.tbm-root .tbm-tile-front{transform:rotateY(180deg);background:linear-gradient(140deg,#402c4d,#242235);border-color:#a66086;color:#fff;font-size:clamp(25px,4vw,48px)}.tbm-root .tbm-tile.is-matched .tbm-tile-front{border-color:#61d7a8;background:linear-gradient(140deg,#224c46,#19332f);box-shadow:inset 0 0 30px #3dba8f27}.tbm-root .tbm-tile:not(:disabled):hover .tbm-tile-back{border-color:#ff799d;background:linear-gradient(140deg,#51304e,#2c2039)}.tbm-root .tbm-tile:disabled{cursor:default}.tbm-root .tbm-board.is-paused{filter:blur(9px);pointer-events:none;user-select:none}.tbm-root .tbm-board-overlay{position:absolute;inset:0;border-radius:16px;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(13,13,23,.62);backdrop-filter:blur(2px);text-align:center;padding:15px;pointer-events:none}.tbm-root .tbm-overlay-title{font-size:clamp(19px,2.5vw,28px);letter-spacing:-.03em;color:#fff;font-weight:900;text-shadow:0 4px 24px #000}.tbm-root .tbm-overlay-text{font-size:12px;margin-top:7px;color:#e7b1c5;line-height:1.5}.tbm-root .tbm-status{min-height:26px;text-align:center;margin:13px 0 0;font-size:12px;font-weight:700;color:#d7bbcb}.tbm-root .tbm-status[data-tone="good"]{color:#6de4b5}.tbm-root .tbm-status[data-tone="bad"]{color:#ff99a3}.tbm-root .tbm-status[data-tone="tip"]{color:#ddb8e3}
.tbm-root .tbm-side{display:flex;flex-direction:column;gap:11px;min-width:0}.tbm-root .tbm-side-card{padding:17px;border:1px solid #3a2d3d;background:radial-gradient(circle at 99% 0,#5a2337aa,transparent 55%),linear-gradient(150deg,#211827,#171722);border-radius:14px;min-height:255px}.tbm-root .tbm-side-top{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap}.tbm-root .tbm-side-eyebrow{color:#fa819a;letter-spacing:.13em;font-weight:850;font-size:10px}.tbm-root .tbm-mini-badge{color:#c8a5bc;border:1px solid #674052;border-radius:20px;padding:3px 6px;font-size:8px;font-weight:750;white-space:nowrap}.tbm-root .tbm-side h3{font-size:clamp(24px,2.7vw,34px);line-height:1.02!important;margin:14px 0 10px;color:#fff!important}.tbm-root .tbm-side h3 span{color:#f66c8e}.tbm-root .tbm-side p{font-size:12px;line-height:1.5;color:#aea7b6;margin-bottom:16px}.tbm-root .tbm-mission-stats{border-top:1px solid #4d3546;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:7px 0;color:#b5a7b8;font-size:11px}.tbm-root .tbm-mission-stats strong{font-size:15px;color:#fff}.tbm-root .tbm-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tbm-root .tbm-action{min-height:38px;border-radius:10px;border:1px solid #514055;color:#eee1eb;background:#22202f;font-weight:750;font-size:10px;padding:8px;white-space:normal;box-shadow:none}.tbm-root .tbm-action:hover:not(:disabled){border-color:#ee6d91;color:#fff}.tbm-root .tbm-action:disabled{opacity:.45}.tbm-root .tbm-action span{color:#fcb3c7}.tbm-root .tbm-hint{grid-column:1/-1}.tbm-root .tbm-reset{grid-column:1/-1}.tbm-root .tbm-help-line{text-align:center;color:#7e7b8c;font-size:10px;line-height:1.5}
.tbm-root .tbm-result,.tbm-root .tbm-end{flex:1;min-height:456px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;text-align:center;padding:38px 18px}.tbm-root .tbm-result-mark{width:85px;height:85px;display:grid;place-items:center;border-radius:22px;border:1px solid #e96c87;font-size:52px;line-height:1;transform:rotate(-12deg);background:linear-gradient(145deg,#732c4e,#24192a);box-shadow:0 0 55px #d3376d58;color:#fff;margin-bottom:12px}.tbm-root .tbm-result-title,.tbm-root .tbm-end-title{font-size:clamp(32px,5vw,57px);color:#fff!important;line-height:1.05!important}.tbm-root .tbm-result-desc,.tbm-root .tbm-end-desc{color:#aea3b8;font-size:14px;line-height:1.6}.tbm-root .tbm-result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-width:580px;width:100%;margin:20px 0 10px}.tbm-root .tbm-result-grid>div,.tbm-root .tbm-end-number{background:#191723;border:1px solid #38283d;border-radius:12px;padding:14px}.tbm-root .tbm-result-grid span,.tbm-root .tbm-end-number span{display:block;font-size:10px;letter-spacing:.12em;color:#b7a7ba;font-weight:800}.tbm-root .tbm-result-grid strong,.tbm-root .tbm-end-number strong{display:block;font-weight:950;color:#fff;font-size:29px;letter-spacing:-.04em}.tbm-root .tbm-end-number{min-width:180px;margin:19px 0 10px}.tbm-root .tbm-result-actions{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.tbm-root .tbm-secondary{border:1px solid #594259;color:#f4e7f3;border-radius:11px;min-height:42px;padding:11px 18px;background:#282031;font-size:11px;font-weight:850;letter-spacing:.04em;box-shadow:none}.tbm-root .tbm-secondary:hover{background:#433148;border-color:#f47a9c}.tbm-root .tbm-social{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:7px}.tbm-root .tbm-social span{color:#b7a7ba;font-size:11px}.tbm-root .tbm-social button{border:1px solid #58425d;color:#f2e4f0;background:#252033;border-radius:8px;font-size:11px;padding:6px 10px}.tbm-root .tbm-social button:hover{border-color:#f97d98}.tbm-root .tbm-footer{min-height:37px;border-top:1px solid #2e2733;display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap;color:#827b8e;font-size:9px;font-weight:800;letter-spacing:.14em}.tbm-root .tbm-footer>span:first-child{color:#e3b5c5}.tbm-root .tbm-footer>span:last-child span{color:#d74667;margin:0 6px}
.tbm-root .tbm-modal{position:absolute;inset:0;z-index:20;display:grid;place-items:center}.tbm-root .tbm-modal-backdrop{position:absolute;inset:0;background:#02020bd6;backdrop-filter:blur(9px)}.tbm-root .tbm-modal-box{background:#201926;color:#fff;border:1px solid #69445c;border-radius:17px;position:relative;width:min(480px,calc(100% - 28px));box-shadow:0 25px 75px #0009;padding:30px;max-height:90%;overflow:auto}.tbm-root .tbm-modal-title{font-size:28px;margin-bottom:15px;color:#fff!important}.tbm-root .tbm-modal-body{line-height:1.7;color:#d7c6d6;font-size:14px}.tbm-root .tbm-modal-body p{line-height:1.6;margin:12px 0}.tbm-root .tbm-modal-body ol{padding-left:22px}.tbm-root .tbm-modal-body li{margin-bottom:5px}.tbm-root .tbm-modal-close{position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:8px;background:#463047;border:0;color:#fff;font-size:25px}.tbm-root .tbm-modal-ok{margin-top:18px}
@media(max-width:1050px){.tbm-root .tbm-play-main{grid-template-columns:minmax(0,1fr) 220px;gap:12px}.tbm-root .tbm-side-card{padding:13px}.tbm-root .tbm-side h3{font-size:27px}}
@media(max-width:720px){.tbm-root{width:min(100vw - 10px,1380px)}.tbm-root .tbm-game{padding:0 12px;border-radius:13px;min-height:585px}.tbm-root .tbm-header{min-height:68px;height:68px}.tbm-root .tbm-brand{gap:9px}.tbm-root .tbm-brand-mark{height:34px;width:34px;font-size:21px;border-radius:9px}.tbm-root .tbm-logo{font-size:22px}.tbm-root .tbm-eyebrow{font-size:8px}.tbm-root .tbm-header-actions{gap:5px}.tbm-root .tbm-online{display:none}.tbm-root .tbm-icon-btn{width:31px;height:31px}.tbm-root .tbm-intro{grid-template-columns:1fr;min-height:510px;gap:0}.tbm-root .tbm-intro-copy{padding:37px 9px 23px}.tbm-root .tbm-intro h3{font-size:clamp(32px,8.5vw,55px)}.tbm-root .tbm-intro-copy>p{font-size:13px}.tbm-root .tbm-intro-art{position:absolute;right:-40px;bottom:2px;width:245px;min-height:180px;opacity:.37;pointer-events:none}.tbm-root .tbm-art-card{width:66px;border-radius:12px;font-size:32px}.tbm-root .tbm-art-one{left:22%;top:8%}.tbm-root .tbm-art-two{right:16%;top:0}.tbm-root .tbm-art-three{left:25%;bottom:18%}.tbm-root .tbm-art-four{right:20%;bottom:10%}.tbm-root .tbm-mode-picker{margin-top:22px}.tbm-root .tbm-mode{min-width:0;flex:1;padding:11px}.tbm-root .tbm-mode strong{font-size:13px}.tbm-root .tbm-mode small{font-size:10px}.tbm-root .tbm-stats{gap:5px}.tbm-root .tbm-stat{padding:9px 6px;min-height:58px;border-radius:9px}.tbm-root .tbm-stat>span{font-size:8px;letter-spacing:.1em}.tbm-root .tbm-stat strong{font-size:18px}.tbm-root .tbm-stat strong span{font-size:9px}.tbm-root .tbm-play{padding-top:12px}.tbm-root .tbm-progress{margin:9px 0 13px}.tbm-root .tbm-play-main{grid-template-columns:1fr;gap:12px}.tbm-root .tbm-board-head{margin-bottom:10px}.tbm-root .tbm-board-head h3{font-size:20px}.tbm-root .tbm-kicker{font-size:9px}.tbm-root .tbm-pairs-label{font-size:9px;padding:6px}.tbm-root .tbm-board-wrap{padding:9px;min-height:248px}.tbm-root .tbm-board{grid-template-columns:repeat(var(--tbm-mobile-cols,4),minmax(0,1fr))!important;max-width:420px;gap:7px}.tbm-root .tbm-tile{aspect-ratio:1.05/1}.tbm-root .tbm-tile-front{font-size:clamp(21px,6vw,34px)}.tbm-root .tbm-tile-back{font-size:21px}.tbm-root .tbm-side{display:grid;grid-template-columns:1fr;gap:9px}.tbm-root .tbm-side-card{min-height:0;padding:12px}.tbm-root .tbm-side h3{display:none}.tbm-root .tbm-side p{display:none}.tbm-root .tbm-side-top{margin-bottom:7px}.tbm-root .tbm-mission-stats{display:inline-flex;border:none;border-right:1px solid #503449;padding:0 9px 0 0;margin:0 7px 0 0;gap:6px}.tbm-root .tbm-mission-stats strong{font-size:12px}.tbm-root .tbm-mission-stats span{font-size:10px}.tbm-root .tbm-mission-stats:last-child{border:0}.tbm-root .tbm-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.tbm-root .tbm-hint,.tbm-root .tbm-reset{grid-column:auto}.tbm-root .tbm-action{font-size:9px;padding:7px 4px}.tbm-root .tbm-help-line{font-size:9px}.tbm-root .tbm-footer{min-height:42px;font-size:8px}.tbm-root .tbm-result,.tbm-root .tbm-end{min-height:520px}.tbm-root .tbm-result-grid{gap:5px}.tbm-root .tbm-result-grid>div{padding:10px 5px}.tbm-root .tbm-result-grid strong{font-size:20px}.tbm-root .tbm-result-grid span{font-size:8px}}
@media(max-width:390px){.tbm-root .tbm-mission-stats{margin-right:4px;padding-right:5px}.tbm-root .tbm-mission-stats span{font-size:9px}.tbm-root .tbm-intro h3{font-size:32px}.tbm-root .tbm-mode strong{font-size:12px}.tbm-root .tbm-board{gap:5px}.tbm-root .tbm-board-wrap{padding:7px}}
@media(prefers-reduced-motion:reduce){.tbm-root *,.tbm-root *::before,.tbm-root *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
