/* TABOOO Pattern v1.0.2 — isolated, mobile-first enhancements, JNews-safe. */
.tbp-root{--tbp-fg:#f6f6fd;--tbp-muted:#9ca4bc;--tbp-border:rgba(194,204,255,.12);--tbp-red:#f65373;--tbp-cyan:#5cdbda;--tbp-bg:#090c17;position:relative;left:50%;transform:translateX(-50%);width:min(1390px,calc(100vw - 24px));max-width:none;margin:16px 0 42px!important;text-align:left;color:var(--tbp-fg);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:14px;line-height:1.45;isolation:isolate}
.tbp-root *,.tbp-root *:before,.tbp-root *:after{box-sizing:border-box}
.tbp-root h2,.tbp-root h3,.tbp-root p,.tbp-root ul{margin:0;padding:0;color:inherit;line-height:inherit}
.tbp-root h2,.tbp-root h3{font-family:inherit!important;font-weight:900;letter-spacing:-.045em}
.tbp-root button,.tbp-root textarea{font:inherit}
.tbp-root button{box-shadow:none!important;text-shadow:none!important;cursor:pointer}
.tbp-root button:focus-visible,.tbp-root a:focus-visible{outline:3px solid #fb9ea9!important;outline-offset:3px!important}
.tbp-root .tbp-shell{position:relative;overflow:hidden;padding:clamp(15px,2.4vw,33px);background:radial-gradient(ellipse 40% 28% at 93% 0%,rgba(154,43,96,.11),transparent 100%),radial-gradient(ellipse 37% 43% at 0% 90%,rgba(26,116,158,.075),transparent 100%),#090c17;border-radius:23px;border:1px solid #222638;box-shadow:0 22px 60px rgba(7,9,16,.21)}
.tbp-root .tbp-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 0 18px;border-bottom:1px solid var(--tbp-border)}
.tbp-root .tbp-brand{display:flex;align-items:center;gap:12px;min-width:0}.tbp-root .tbp-brand>span:last-child{display:flex;flex-direction:column;gap:1px}
.tbp-root .tbp-mark{position:relative;width:42px;height:42px;display:block;border:1px solid rgba(245,89,119,.35);border-radius:12px;background:linear-gradient(130deg,#341a37,#171a33);box-shadow:inset 0 0 18px rgba(234,60,104,.12);flex:none}
.tbp-root .tbp-mark span{display:block;width:13px;height:13px;border:2px solid #ff7799;position:absolute;transform:rotate(45deg);border-radius:3px}.tbp-root .tbp-mark span:nth-child(1){top:9px;left:9px}.tbp-root .tbp-mark span:nth-child(2){top:19px;left:20px;border-color:#62d9e3}.tbp-root .tbp-mark span:nth-child(3){top:8px;left:21px;border-color:#b18dff}.tbp-root .tbp-mark span:nth-child(4){top:20px;left:8px;border-color:#f8bf86}
.tbp-root .tbp-brand strong{font-size:clamp(15px,1.5vw,20px);letter-spacing:-.055em;color:#fff;white-space:nowrap}.tbp-root .tbp-brand-accent{color:#ff607b}.tbp-root .tbp-brand small{font-size:9px;letter-spacing:.2em;color:#9199b2;font-weight:800}
.tbp-root .tbp-actions{display:flex;align-items:center;gap:8px}.tbp-root .tbp-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #2e354c;background:#171c2a;border-radius:9px;padding:9px 12px;min-height:37px;color:#c5cee3;font-size:11px;font-weight:750;white-space:nowrap}.tbp-root .tbp-action:hover{border-color:#bc657e;background:#2b2135;color:#fff}.tbp-root .tbp-action>span:first-child{font-size:16px;line-height:1}.tbp-root .tbp-action-reset{background:#3f2337;border-color:#6e314c;color:#ffd0d6}
.tbp-root .tbp-hero{position:relative;padding:23px 24px 23px;overflow:hidden;border-bottom:1px solid var(--tbp-border)}
.tbp-root .tbp-kicker{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:800;color:#ee8d9f;letter-spacing:.21em}.tbp-root .tbp-kicker-dot{width:7px;height:7px;background:#fc5b79;border-radius:50%;box-shadow:0 0 0 5px #fa4c7827}
.tbp-root .tbp-hero h2{font-size:clamp(30px,4vw,51px);line-height:1.14!important;margin:10px 0 6px!important;color:white!important}.tbp-root .tbp-hero h2 em{font-style:normal;color:#ff5d79}.tbp-root .tbp-hero-sub{color:#a6aec3;font-size:12px;max-width:640px;line-height:1.7}
.tbp-root .tbp-hero-decor{position:absolute;right:2%;top:-18px;display:flex;gap:3px;transform:rotate(-13deg);font-size:110px;line-height:1;opacity:.13;color:#ff6486;pointer-events:none}.tbp-root .tbp-hero-decor span:nth-child(2){color:#83e0ed;margin-top:60px}.tbp-root .tbp-hero-decor span:nth-child(3){color:#b39dff;margin-top:15px}
.tbp-root .tbp-scorebar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:19px 0}
.tbp-root .tbp-scorebar>div{padding:11px 15px 10px;background:linear-gradient(140deg,#191e2f,#151a29);border-radius:12px;border:1px solid #2b3042;display:flex;flex-direction:column;gap:3px;min-width:0}
.tbp-root .tbp-scorebar span{font-size:10px;color:#8993ad;letter-spacing:.15em;font-weight:850}.tbp-root .tbp-scorebar strong{font-size:24px;line-height:1.22;color:#fff;letter-spacing:-.03em;font-weight:850}.tbp-root .tbp-scorebar .tbp-combo{color:#5bdbd5}.tbp-root .tbp-scorebar .tbp-hearts{color:#ff657d;letter-spacing:.08em;font-size:22px}
.tbp-root .tbp-grid{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:17px}
.tbp-root .tbp-board,.tbp-root .tbp-sidebar-card{border:1px solid #2b3144;border-radius:17px;background:linear-gradient(145deg,#171d2e,#111725);overflow:hidden}
.tbp-root .tbp-board{padding:clamp(15px,2vw,25px)}
.tbp-root .tbp-board-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tbp-root .tbp-section-label,.tbp-root .tbp-side-overline{font-weight:850;letter-spacing:.15em;font-size:10px;color:#8790ac}
.tbp-root .tbp-type{font-size:14px;font-weight:900;color:#f1afbf;margin:5px 0 0}.tbp-root .tbp-level-badge{padding:6px 10px;border:1px solid #65384e;border-radius:7px;background:#351f32;font-size:10px;font-weight:900;color:#ffb8c4;white-space:nowrap}
.tbp-root .tbp-progress-head{display:flex;justify-content:space-between;align-items:center;color:#929cb5;margin:18px 0 7px;font-weight:650;font-size:11px}.tbp-root .tbp-progress-track{height:5px;background:#252e43;border-radius:30px;overflow:hidden}.tbp-root .tbp-progress-fill{display:block;width:0;height:100%;border-radius:30px;background:linear-gradient(90deg,#f15077,#ffbb7c);transition:width .35s ease}
.tbp-root .tbp-question{font-size:clamp(21px,2.25vw,27px);line-height:1.28!important;color:#fff!important;margin:21px 0 6px!important}.tbp-root .tbp-question-detail{color:#a1abc2;font-size:12px}
.tbp-root .tbp-sequence{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:20px 0 25px}
.tbp-root .tbp-seq-item{position:relative;min-width:0;height:clamp(94px,10vw,130px);background:linear-gradient(145deg,#242b3f,#1a2031);border:1px solid #39445f;border-radius:13px;display:flex;align-items:center;justify-content:center}
.tbp-root .tbp-seq-index{position:absolute;top:9px;left:10px;font-size:9px;font-weight:850;letter-spacing:.1em;color:#77849e}.tbp-root .tbp-tile-visual{display:flex;align-items:center;justify-content:center;color:var(--tbp-tile-color);filter:drop-shadow(0 0 11px color-mix(in srgb,var(--tbp-tile-color),transparent 65%))}.tbp-root .tbp-symbol-svg{fill:currentColor;display:block;max-width:100%;height:auto}.tbp-root .tbp-seq-missing{border:1px dashed #9e6588;background:linear-gradient(135deg,#40263e,#232039)}.tbp-root .tbp-question-mark{font-size:62px;line-height:1;color:#ff9bb0;font-weight:300}.tbp-root .tbp-number{font-size:clamp(27px,3vw,44px);font-weight:900;letter-spacing:-.08em;font-variant-numeric:tabular-nums}
.tbp-root .tbp-choice-label{display:flex;align-items:center;gap:8px;color:#aeb7ca;font-size:10px;letter-spacing:.15em;font-weight:850;margin:0 0 10px}.tbp-root .tbp-choice-label span{color:#e96691;font-size:17px}
.tbp-root .tbp-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.tbp-root .tbp-choice{min-height:95px;position:relative;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:12px;border:1px solid #343c53;background:#202638;padding:10px;color:#fff;transition:transform .14s ease,border-color .14s ease,background .14s ease}
.tbp-root .tbp-choice:not(:disabled):hover{background:#323047;border-color:#dc7697;transform:translateY(-2px)}.tbp-root .tbp-choice:disabled{opacity:.74;cursor:default}.tbp-root .tbp-choice.is-correct{background:#173d36;border-color:#53c69b;opacity:1}.tbp-root .tbp-choice.is-wrong{background:#4d2735;border-color:#f36f88;opacity:1}
.tbp-root .tbp-answer-index{position:absolute;top:8px;left:9px;font-size:10px;color:#bdc4d6;font-weight:750;border:1px solid #49516b;border-radius:5px;min-width:20px;height:20px;display:flex;align-items:center;justify-content:center}
.tbp-root .tbp-choice .tbp-number{font-size:32px}
.tbp-root .tbp-feedback{display:flex;align-items:center;gap:11px;min-height:45px;padding:10px 13px;margin-top:16px;border-radius:10px;background:rgba(52,60,84,.4);border:1px solid rgba(155,164,193,.15);color:#aeb8cc;font-size:11px;line-height:1.4}
.tbp-root .tbp-feedback-icon{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#333e57;color:#afbdd4;flex:none;font-size:14px}.tbp-root .tbp-feedback.is-correct{background:rgba(26,116,92,.2);border-color:rgba(94,215,168,.4);color:#b4edd2}.tbp-root .tbp-feedback.is-correct .tbp-feedback-icon{background:#2f986c;color:#fff}.tbp-root .tbp-feedback.is-wrong{background:rgba(168,55,75,.16);border-color:rgba(240,103,123,.35);color:#ffb8bd}.tbp-root .tbp-feedback.is-wrong .tbp-feedback-icon{background:#b64760;color:#fff}
.tbp-root .tbp-board-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#77839c;font-size:9px;font-weight:850;letter-spacing:.08em;margin-top:14px}.tbp-root kbd{display:inline-block;border:1px solid #4b516b;border-radius:4px;min-width:17px;padding:0 3px;text-align:center;color:#a9b3cc;background:#1c2537;font:inherit}
.tbp-root .tbp-sidebar{display:flex;flex-direction:column;gap:14px}.tbp-root .tbp-sidebar-card{padding:19px}.tbp-root .tbp-level-card{background:radial-gradient(circle at 85% 10%,rgba(228,64,115,.10),transparent 60%),#171b2d}.tbp-root .tbp-level-large{display:flex;align-items:baseline;gap:9px;margin:9px 0 0;line-height:1}
.tbp-root .tbp-level-large span:first-child{font-size:68px;letter-spacing:-.09em;font-weight:950;color:#fff}.tbp-root .tbp-level-large span:last-child{font-size:12px;letter-spacing:.1em;color:#ff728d;font-weight:900}.tbp-root .tbp-level-card>p{font-size:12px;color:#98a2bd;margin:7px 0 18px}
.tbp-root .tbp-dots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.tbp-root .tbp-level-dot{display:grid;place-items:center;aspect-ratio:1;color:#8893aa;font-size:10px;font-weight:850;border-radius:7px;border:1px solid #3a425b;background:#252a3e}.tbp-root .tbp-level-dot.is-now{background:#d84b70;color:#fff;border-color:#fe7290;box-shadow:0 0 11px #e855703f}.tbp-root .tbp-level-dot.is-done{background:#233f43;border-color:#46757b;color:#89dbdd}
.tbp-root .tbp-side-divider{height:1px;background:#32374e;margin:19px 0}.tbp-root .tbp-mini-stats{display:flex;flex-direction:column;gap:10px}.tbp-root .tbp-mini-stats span{display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:750;letter-spacing:.05em;color:#98a4bb}.tbp-root .tbp-mini-stats b{color:#f2f5fd;font-size:13px}
.tbp-root .tbp-hint-card{display:flex;gap:13px;background:linear-gradient(135deg,#1a2837,#142630);border-color:#254957}.tbp-root .tbp-hint-icon{display:grid;place-items:center;border-radius:10px;flex:none;width:36px;height:36px;background:rgba(71,199,199,.12);border:1px solid rgba(71,199,199,.25);color:#7ce5e5;font-size:27px}.tbp-root .tbp-hint-card .tbp-side-overline{color:#6dc9cd}.tbp-root .tbp-hint-card p{font-size:12px;color:#bfdae0;margin-top:6px;line-height:1.6}
.tbp-root .tbp-rules-card p{display:flex;gap:10px;color:#aab2c6;line-height:1.5;font-size:11px;margin:12px 0}.tbp-root .tbp-rules-card p span{font-weight:850;color:#e97891;font-size:10px}
.tbp-root .tbp-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding-top:18px;margin-top:20px;border-top:1px solid #292c40;font-size:10px;color:#79829a}.tbp-root .tbp-footer strong{font-size:11px;color:#fff;letter-spacing:.12em}
.tbp-root .tbp-overlay{position:fixed;inset:0;z-index:999999;background:rgba(3,5,14,.81);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:22px;overflow-y:auto}.tbp-root .tbp-overlay[hidden]{display:none!important}
.tbp-root .tbp-modal{position:relative;width:min(100%,480px);max-height:calc(100vh - 44px);overflow-y:auto;border:1px solid #574059;background:radial-gradient(circle at 50% 0%,rgba(203,67,120,.17),transparent 53%),#171a2c;border-radius:19px;padding:29px;color:#f9f7ff;box-shadow:0 20px 95px rgba(0,0,0,.46);text-align:center}
.tbp-root .tbp-modal-close{position:absolute;top:12px;right:12px;width:31px;height:31px;border:1px solid #53546c;background:#303449;border-radius:8px;color:#e9e9f2;font-size:22px;line-height:1}.tbp-root .tbp-modal-close[hidden]{display:none!important}.tbp-root .tbp-modal-art{font-size:50px;color:#fb688d;text-shadow:0 0 32px #ee648b9e;line-height:1;margin-bottom:11px}.tbp-root .tbp-modal-eyebrow{font-size:10px;font-weight:850;letter-spacing:.2em;color:#f396af}.tbp-root .tbp-modal h3{font-size:clamp(24px,4vw,32px);color:#fff!important;margin:8px 0 13px!important;line-height:1.2!important}
.tbp-root .tbp-modal-body{font-size:13px;color:#bec5d7;line-height:1.65}.tbp-root .tbp-modal-body p{margin:0 0 13px}.tbp-root .tbp-modal-body ul{text-align:left;padding-left:20px;margin:0 0 16px}.tbp-root .tbp-modal-body li{margin:5px 0}.tbp-root .tbp-modal-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin-top:20px}
.tbp-root .tbp-modal-primary,.tbp-root .tbp-modal-secondary{border:1px solid transparent;border-radius:9px;padding:10px 15px;font-size:12px;font-weight:800;color:#fff;min-height:40px}.tbp-root .tbp-modal-primary{background:linear-gradient(110deg,#eb486a,#fc7181)}.tbp-root .tbp-modal-secondary{background:#303549;border-color:#4b526f}.tbp-root .tbp-modal-buttons button:hover{filter:brightness(1.12)}
.tbp-root .tbp-result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:19px}.tbp-root .tbp-result-grid span{background:#22283b;border-radius:9px;padding:10px 6px;color:#9ba9bf;font-size:9px;font-weight:850;letter-spacing:.07em}.tbp-root .tbp-result-grid strong{display:block;font-size:19px;color:#fff;margin-top:4px}
.tbp-root .tbp-socials{display:flex;gap:7px;justify-content:center;flex-wrap:wrap;width:100%}.tbp-root .tbp-socials button{font-size:11px;padding:8px}.tbp-root .tbp-share-note{font-size:11px;color:#9da9be}.tbp-root .tbp-copy-area{width:100%;min-height:86px;margin:8px 0;padding:9px;border-radius:8px;border:1px solid #505c72;background:#0d1320;color:#f8f8fc}
.tbp-root .tbp-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:1000px){.tbp-root .tbp-grid{grid-template-columns:minmax(0,1fr) 225px}.tbp-root .tbp-sidebar-card{padding:14px}.tbp-root .tbp-hero-decor{opacity:.06}.tbp-root .tbp-board{padding:16px}.tbp-root .tbp-choices{gap:8px}}
@media(max-width:750px){.tbp-root .tbp-grid{grid-template-columns:1fr}.tbp-root .tbp-sidebar{display:grid;grid-template-columns:1fr 1fr}.tbp-root .tbp-rules-card{display:none}.tbp-root .tbp-level-card{grid-row:span 1}.tbp-root .tbp-hero{padding:20px 0}.tbp-root .tbp-hero-decor{display:none}.tbp-root .tbp-scorebar{gap:7px}.tbp-root .tbp-scorebar>div{padding:10px}.tbp-root .tbp-scorebar strong{font-size:21px}}
@media(max-width:520px){.tbp-root{width:calc(100vw - 12px);margin:4px 0 25px!important}.tbp-root .tbp-shell{padding:10px;border-radius:14px}.tbp-root .tbp-header{gap:8px;padding:7px 5px 13px}.tbp-root .tbp-mark{width:31px;height:31px;border-radius:8px}.tbp-root .tbp-mark span{width:10px;height:10px}.tbp-root .tbp-mark span:nth-child(1){top:5px;left:5px}.tbp-root .tbp-mark span:nth-child(2){top:13px;left:14px}.tbp-root .tbp-mark span:nth-child(3){top:4px;left:15px}.tbp-root .tbp-mark span:nth-child(4){top:14px;left:4px}.tbp-root .tbp-brand{gap:6px}.tbp-root .tbp-brand strong{font-size:13px}.tbp-root .tbp-brand small{font-size:7px;letter-spacing:.08em}.tbp-root .tbp-actions{gap:5px}.tbp-root .tbp-action{width:32px;height:32px;min-height:32px;padding:0}.tbp-root .tbp-action-label{display:none}.tbp-root .tbp-action>span:first-child{font-size:18px}.tbp-root .tbp-hero{padding:13px 9px}.tbp-root .tbp-hero h2{font-size:clamp(26px,8vw,36px);margin:7px 0 4px!important}.tbp-root .tbp-hero-sub{font-size:11px;line-height:1.5}.tbp-root .tbp-kicker{font-size:8px}.tbp-root .tbp-scorebar{margin:11px 0;gap:5px}.tbp-root .tbp-scorebar>div{padding:8px 7px;border-radius:8px}.tbp-root .tbp-scorebar span{font-size:8px;letter-spacing:.07em}.tbp-root .tbp-scorebar strong{font-size:19px}.tbp-root .tbp-scorebar .tbp-hearts{font-size:15px;letter-spacing:0}.tbp-root .tbp-board{padding:12px;border-radius:12px}.tbp-root .tbp-section-label{font-size:8px}.tbp-root .tbp-level-badge{font-size:9px;padding:5px}.tbp-root .tbp-progress-head{margin-top:12px}.tbp-root .tbp-question{margin-top:15px!important;font-size:19px}.tbp-root .tbp-question-detail{font-size:11px}.tbp-root .tbp-sequence{gap:5px;margin:15px 0 19px}.tbp-root .tbp-seq-item{height:78px;border-radius:8px}.tbp-root .tbp-seq-index{top:5px;left:5px;font-size:8px}.tbp-root .tbp-symbol-svg{width:44px;height:44px}.tbp-root .tbp-question-mark{font-size:46px}.tbp-root .tbp-number{font-size:25px}.tbp-root .tbp-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tbp-root .tbp-choice{min-height:76px}.tbp-root .tbp-feedback{font-size:10px;padding:8px;margin-top:12px}.tbp-root .tbp-board-foot{font-size:8px}.tbp-root .tbp-sidebar{gap:8px}.tbp-root .tbp-sidebar-card{padding:12px}.tbp-root .tbp-level-large span:first-child{font-size:45px}.tbp-root .tbp-dots{gap:4px}.tbp-root .tbp-level-dot{border-radius:4px;font-size:9px}.tbp-root .tbp-hint-card{gap:7px}.tbp-root .tbp-hint-icon{width:25px;height:25px;font-size:18px;border-radius:7px}.tbp-root .tbp-hint-card p{font-size:10px}.tbp-root .tbp-side-overline{font-size:8px}.tbp-root .tbp-footer{font-size:8px;padding-top:11px;margin-top:12px}.tbp-root .tbp-footer strong{font-size:9px}}
@media(max-width:365px){.tbp-root .tbp-brand strong{font-size:11px}.tbp-root .tbp-brand small{font-size:6px}.tbp-root .tbp-action{width:29px}.tbp-root .tbp-scorebar strong{font-size:17px}.tbp-root .tbp-seq-item{height:65px}.tbp-root .tbp-symbol-svg{width:36px;height:36px}.tbp-root .tbp-board-foot>span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){.tbp-root *,.tbp-root *:before,.tbp-root *:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Compact landscape/desktop profile: prefer a single game screen on laptops. */
@media (min-width:1001px) and (max-height:980px){
 .tbp-root .tbp-shell{padding:14px 21px}
 .tbp-root .tbp-header{padding:0 0 10px}
 .tbp-root .tbp-brand .tbp-mark{height:35px;width:35px}
 .tbp-root .tbp-hero{padding:12px 19px 13px}
 .tbp-root .tbp-hero h2{font-size:34px;margin:6px 0 4px!important}
 .tbp-root .tbp-hero-sub{font-size:11px}
 .tbp-root .tbp-scorebar{margin:10px 0;gap:10px}
 .tbp-root .tbp-scorebar>div{padding:7px 12px}
 .tbp-root .tbp-scorebar strong{font-size:19px}
 .tbp-root .tbp-scorebar .tbp-hearts{font-size:19px}
 .tbp-root .tbp-board{padding:15px 18px}
 .tbp-root .tbp-progress-head{margin:9px 0 6px}
 .tbp-root .tbp-question{margin:12px 0 4px!important;font-size:23px}
 .tbp-root .tbp-sequence{margin:13px 0 14px}
 .tbp-root .tbp-seq-item{height:100px}
 .tbp-root .tbp-choices .tbp-choice{min-height:81px}
 .tbp-root .tbp-feedback{margin-top:11px;min-height:39px;padding:7px 11px}
 .tbp-root .tbp-board-foot{margin-top:8px}
 .tbp-root .tbp-sidebar-card{padding:14px}
 .tbp-root .tbp-sidebar{gap:9px}
 .tbp-root .tbp-level-large span:first-child{font-size:50px}
 .tbp-root .tbp-level-card>p{margin:3px 0 11px}
 .tbp-root .tbp-side-divider{margin:12px 0}
 .tbp-root .tbp-rules-card p{margin:7px 0}
 .tbp-root .tbp-footer{margin-top:10px;padding-top:11px}
}

/* 1.0.1 — One-screen desktop gameplay, while small/touch displays keep natural scrolling.
 * Active only for desktop-sized widths with constrained browser viewport heights.
 * Never use overflow:hidden on html/body or force the game into an iframe.
 */
@media (min-width:1001px) and (max-height:980px){
 .tbp-root{margin:4px 0 8px!important}
 .tbp-root .tbp-shell{padding:10px 15px 11px;border-radius:15px}
 .tbp-root .tbp-header{padding:0 0 6px}
 .tbp-root .tbp-brand .tbp-mark{height:30px;width:30px;border-radius:8px}
 .tbp-root .tbp-brand .tbp-mark span{width:10px;height:10px}
 .tbp-root .tbp-actions{gap:6px}
 .tbp-root .tbp-action{padding:5px 9px;min-height:31px;font-size:10px}
 .tbp-root .tbp-hero{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 13px 6px}
 .tbp-root .tbp-hero h2{font-size:25px;line-height:1.05!important;margin:1px 0 0!important}
 .tbp-root .tbp-hero-sub{font-size:10px;line-height:1.25;margin:0;max-width:340px;text-align:right}
 .tbp-root .tbp-hero-decor{display:none}
 .tbp-root .tbp-kicker{font-size:8px;letter-spacing:.15em}
 .tbp-root .tbp-scorebar{margin:7px 0;gap:7px}
 .tbp-root .tbp-scorebar>div{padding:5px 10px 4px;gap:0;border-radius:9px}
 .tbp-root .tbp-scorebar span{font-size:9px}
 .tbp-root .tbp-scorebar strong{font-size:18px;line-height:1.14}
 .tbp-root .tbp-scorebar .tbp-hearts{font-size:17px}
 .tbp-root .tbp-grid{gap:9px;grid-template-columns:minmax(0,1fr) 240px}
 .tbp-root .tbp-board{padding:10px 14px;border-radius:11px}
 .tbp-root .tbp-section-label,.tbp-root .tbp-side-overline{font-size:9px}
 .tbp-root .tbp-type{font-size:12px;margin-top:1px}
 .tbp-root .tbp-level-badge{font-size:9px;padding:4px 8px}
 .tbp-root .tbp-progress-head{margin:6px 0 4px;font-size:10px}
 .tbp-root .tbp-progress-track{height:4px}
 .tbp-root .tbp-question{margin:8px 0 3px!important;font-size:20px;line-height:1.16!important}
 .tbp-root .tbp-question-detail{font-size:10px}
 .tbp-root .tbp-sequence{margin:9px 0 10px;gap:8px}
 .tbp-root .tbp-seq-item{height:78px;border-radius:9px}
 .tbp-root .tbp-seq-index{top:5px;left:7px;font-size:8px}
 .tbp-root .tbp-seq-item .tbp-symbol-svg{max-height:54px;max-width:65px}
 .tbp-root .tbp-question-mark{font-size:47px}
 .tbp-root .tbp-choice-label{margin:0 0 5px;font-size:9px}
 .tbp-root .tbp-choices{gap:7px}
 .tbp-root .tbp-choice{min-height:66px;border-radius:9px}
 .tbp-root .tbp-choice .tbp-symbol-svg{max-height:45px;max-width:65px}
 .tbp-root .tbp-choice .tbp-number{font-size:26px}
 .tbp-root .tbp-feedback{margin-top:8px;min-height:33px;padding:6px 9px;font-size:10px}
 .tbp-root .tbp-feedback-icon{width:19px;height:19px}
 .tbp-root .tbp-board-foot{margin-top:5px;font-size:8px}
 .tbp-root .tbp-sidebar{gap:8px}
 .tbp-root .tbp-sidebar-card{padding:11px;border-radius:11px}
 .tbp-root .tbp-level-large{margin-top:3px}
 .tbp-root .tbp-level-large span:first-child{font-size:41px}
 .tbp-root .tbp-level-card>p{font-size:10px;margin:2px 0 7px}
 .tbp-root .tbp-dots{gap:4px}
 .tbp-root .tbp-level-dot{max-height:32px;font-size:9px}
 .tbp-root .tbp-side-divider{margin:8px 0}
 .tbp-root .tbp-mini-stats{gap:5px}
 .tbp-root .tbp-mini-stats span{font-size:9px}
 .tbp-root .tbp-mini-stats b{font-size:11px}
 .tbp-root .tbp-hint-card{gap:7px}
 .tbp-root .tbp-hint-card p{font-size:10px;line-height:1.35;margin-top:4px}
 .tbp-root .tbp-hint-icon{width:29px;height:29px;font-size:20px}
 .tbp-root .tbp-rules-card{display:none}
 .tbp-root .tbp-footer{margin-top:7px;padding-top:7px;font-size:9px}
 .tbp-root .tbp-footer strong{font-size:10px}
}
/* Extra-tight desktop notebooks: hide decorative explanation but never answer buttons. */
@media (min-width:1001px) and (max-height:720px){
 .tbp-root .tbp-hero-sub{display:none}
 .tbp-root .tbp-scorebar{margin:5px 0}
 .tbp-root .tbp-seq-item{height:69px}
 .tbp-root .tbp-choice{min-height:60px}
 .tbp-root .tbp-sidebar .tbp-hint-card{padding:8px}
 .tbp-root .tbp-board-foot{display:none}
 .tbp-root .tbp-footer{display:none}
}
/* Mid-height laptops: let essential game controls take priority over redundant notes. */
@media (min-width:1001px) and (max-height:820px){
 .tbp-root .tbp-hero-sub,.tbp-root .tbp-board-foot,.tbp-root .tbp-footer{display:none}
 .tbp-root .tbp-hero{padding:7px 13px 8px}
 .tbp-root .tbp-seq-item{height:71px}
 .tbp-root .tbp-choice{min-height:63px}
}
/* Avoid cramped right-aligned explanation beside the headline in compact mode. */
@media (min-width:1001px) and (max-height:980px){.tbp-root .tbp-hero-sub{display:none}}

/* v1.0.2 — Collapsible supplemental information: default visible on desktop/tablet. */
.tbp-root .tbp-mobile-more-toggle{display:none}
@media (max-width:750px){
  .tbp-root .tbp-mobile-more-toggle{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:44px;width:100%;padding:9px 12px;margin-top:12px;border:1px solid #36435c;border-radius:11px;background:linear-gradient(120deg,#20283e,#192438);color:#dfebff;font-size:11px;font-weight:750;line-height:1.4;text-align:left}
  .tbp-root .tbp-mobile-more-toggle .tbp-mobile-more-icon{display:grid;place-items:center;width:24px;height:24px;flex:none;background:rgba(105,206,212,.13);border-radius:6px;color:#82dde4;font-size:19px;font-weight:500}
  .tbp-root .tbp-mobile-more-toggle>span:nth-child(2){flex:1}
  .tbp-root .tbp-mobile-more-toggle strong{font-size:10px;white-space:nowrap;color:#f4a8bf;font-variant-numeric:tabular-nums}
  .tbp-root .tbp-sidebar{display:none}
  .tbp-root[data-tbp-info-open="true"] .tbp-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0}
  .tbp-root[data-tbp-info-open="true"] .tbp-rules-card{display:block;grid-column:1/-1}
  .tbp-root .tbp-footer{display:none}
}
@media(max-width:520px){
  /* Collapse redundant header notes, retain recognizable branding and game title. */
  .tbp-root{margin:0 0 15px!important}
  .tbp-root .tbp-shell{padding:7px 8px 10px;border-radius:12px}
  .tbp-root .tbp-header{padding:2px 3px 7px;gap:6px}
  .tbp-root .tbp-brand small{display:none}
  .tbp-root .tbp-mark{width:34px;height:34px}
  .tbp-root .tbp-actions{gap:6px}
  .tbp-root .tbp-action{width:40px;height:40px;min-height:40px;border-radius:10px}
  .tbp-root .tbp-hero{padding:7px 3px 4px;border:0}
  .tbp-root .tbp-kicker,.tbp-root .tbp-hero-sub{display:none}
  .tbp-root .tbp-hero h2{font-size:clamp(21px,6.5vw,29px);margin:0!important;line-height:1.13!important}
  .tbp-root .tbp-scorebar{margin:7px 0;gap:5px}
  .tbp-root .tbp-scorebar>div{padding:6px 5px 5px;gap:1px}
  .tbp-root .tbp-scorebar span{font-size:9px;letter-spacing:.03em}
  .tbp-root .tbp-scorebar strong{font-size:18px;line-height:1.1}
  .tbp-root .tbp-scorebar .tbp-hearts{font-size:15px;white-space:nowrap}
  .tbp-root .tbp-board{padding:10px 9px;border-radius:12px}
  .tbp-root .tbp-board-top{gap:4px}
  .tbp-root .tbp-section-label{font-size:9px}
  .tbp-root .tbp-type{font-size:12px;margin-top:1px}
  .tbp-root .tbp-progress-head{margin:6px 0 4px;font-size:10px}
  .tbp-root .tbp-progress-track{height:4px}
  .tbp-root .tbp-question{font-size:clamp(17px,4.6vw,20px);line-height:1.18!important;margin:10px 0 3px!important}
  .tbp-root .tbp-question-detail{font-size:10px;line-height:1.25}
  .tbp-root .tbp-sequence{gap:4px;margin:10px 0 10px}
  .tbp-root .tbp-seq-item{height:clamp(56px,15vw,73px);border-radius:9px}
  .tbp-root .tbp-seq-index{top:4px;left:5px;font-size:7px}
  .tbp-root .tbp-seq-item .tbp-symbol-svg{width:clamp(27px,8vw,38px);height:clamp(27px,8vw,38px)}
  .tbp-root .tbp-number{font-size:clamp(19px,5vw,26px)}
  .tbp-root .tbp-question-mark{font-size:39px}
  .tbp-root .tbp-choice-label{font-size:9px;margin:0 0 6px;line-height:1.2}
  .tbp-root .tbp-choices{gap:7px}
  .tbp-root .tbp-choice{min-height:67px;padding:6px;border-radius:9px;touch-action:manipulation}
  .tbp-root .tbp-choice .tbp-symbol-svg{width:42px;height:42px}
  .tbp-root .tbp-choice .tbp-number{font-size:27px}
  .tbp-root .tbp-answer-index{top:5px;left:6px;min-width:19px;height:19px;font-size:10px}
  .tbp-root .tbp-feedback{font-size:10px;min-height:32px;margin-top:8px;padding:6px 8px;line-height:1.3}
  .tbp-root .tbp-feedback-icon{width:19px;height:19px}
  .tbp-root .tbp-board-foot{display:none}
  .tbp-root .tbp-mobile-more-toggle{margin-top:8px;padding:7px 9px;font-size:11px}
  .tbp-root[data-tbp-info-open="true"] .tbp-sidebar{grid-template-columns:1fr}
  .tbp-root[data-tbp-info-open="true"] .tbp-rules-card{grid-column:auto}
  .tbp-root .tbp-level-large span:first-child{font-size:35px}
  .tbp-root .tbp-level-card>p{margin:5px 0 9px}
  .tbp-root .tbp-side-divider{margin:10px 0}
  .tbp-root .tbp-mini-stats{gap:6px}
  .tbp-root .tbp-sidebar-card{padding:13px}
  .tbp-root .tbp-hint-card{min-height:auto}
  .tbp-root .tbp-rules-card p{margin:7px 0;font-size:12px}
  .tbp-root .tbp-modal{padding:20px 14px;max-height:calc(100dvh - 24px)}
}
@media(max-width:365px){
 .tbp-root .tbp-shell{padding:6px}
 .tbp-root .tbp-header{padding:2px 0 6px}
 .tbp-root .tbp-brand strong{font-size:11px}
 .tbp-root .tbp-action{width:36px;min-height:36px;height:36px}
 .tbp-root .tbp-seq-item{height:53px}
 .tbp-root .tbp-choice{min-height:65px}
}
