/* TABOOO Words v1.1.0 | standalone scope, JNews-safe, mobile first */
.tw-game{--tw-bg:#080d17;--tw-panel:#131b2a;--tw-border:#2a3447;--tw-muted:#9ca8b9;--tw-text:#f7f9fc;--tw-pink:#fc506b;--tw-correct:#229879;--tw-present:#bb9341;--tw-absent:#424b60;position:relative;left:50%;transform:translateX(-50%);width:min(1050px,calc(100vw - 24px));max-width:none;margin:25px 0 55px!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.45;font-size:15px;isolation:isolate;color:var(--tw-text);text-align:left;outline-offset:5px}
.tw-game *,.tw-game *::before,.tw-game *::after{box-sizing:border-box}.tw-game button{font-family:inherit;cursor:pointer;touch-action:manipulation}.tw-game p,.tw-game h2,.tw-game h3{font-family:inherit;margin:0;line-height:inherit;color:inherit}.tw-game button:focus-visible,.tw-game [tabindex]:focus-visible{outline:3px solid #ffabb7;outline-offset:2px}.tw-game [hidden]{display:none!important}
.tw-game .tw-shell{border-radius:27px;overflow:hidden;border:1px solid #273045;background:radial-gradient(ellipse at 75% 0%,#251322 0%,transparent 32%),var(--tw-bg);box-shadow:0 26px 70px rgba(5,10,24,.15);padding:clamp(13px,4vw,39px)}
.tw-game .tw-hero{position:relative;overflow:hidden;border:1px solid #45303e;background:linear-gradient(130deg,#171b2a 15%,#241524 63%,#3f1a30);border-radius:19px;padding:25px clamp(20px,4vw,40px) 19px}.tw-game .tw-hero::after{content:"";position:absolute;right:-40px;top:-50px;width:220px;height:220px;transform:rotate(35deg);border:1px solid rgba(255,123,148,.22);box-shadow:inset 0 0 80px rgba(255,73,112,.1);border-radius:30px;pointer-events:none}
.tw-game .tw-kicker{display:flex;align-items:center;gap:8px;letter-spacing:.21em;font-size:10px;font-weight:800;color:#f3b0bb;position:relative;z-index:1}.tw-game .tw-pulse{width:7px;height:7px;background:var(--tw-pink);box-shadow:0 0 0 5px #fc506b2f;border-radius:50%;display:inline-block}
.tw-game .tw-hero-row{position:relative;z-index:1;display:flex;align-items:start;justify-content:space-between;gap:15px;margin-top:21px}.tw-game .tw-logo{font-size:clamp(40px,6.8vw,77px);line-height:.95;font-weight:950;letter-spacing:-.085em;color:#fff;display:inline-block}.tw-game .tw-logo>span:first-child{color:var(--tw-pink)}.tw-game .tw-logo .tw-dot{color:var(--tw-pink)}.tw-game .tw-brand p{font-size:clamp(13px,2.1vw,16px);color:#d3bdc6;margin:14px 0 0;font-weight:550}
.tw-game .tw-header-actions{display:flex;gap:8px;flex-shrink:0}.tw-game .tw-icon-button{width:37px;height:37px;border-radius:10px;border:1px solid #564359;background:#ffffff11;color:#fff;font-size:17px;font-weight:800;display:grid;place-items:center;line-height:1}.tw-game .tw-icon-button:hover{background:#ffffff2a}
.tw-game .tw-mode-group{display:flex;gap:8px;flex-wrap:wrap;position:relative;z-index:1;margin-top:30px}.tw-game .tw-mode{border:1px solid #675166;background:#ffffff0d;color:#ded7df;border-radius:10px;padding:10px 15px;font-weight:800;font-size:12px;min-height:41px;line-height:1.2}.tw-game .tw-mode.is-active{background:var(--tw-pink);border-color:var(--tw-pink);color:#fff}.tw-game .tw-mode:hover:not(.is-active){background:#ffffff24}
.tw-game .tw-game-body{max-width:600px;margin:35px auto 0}.tw-game .tw-game-top{display:flex;justify-content:space-between;align-items:end;gap:12px}.tw-game .tw-overline{font-size:10px;letter-spacing:.13em;color:#e397a5;font-weight:850}.tw-game .tw-game-title{font-weight:850;letter-spacing:-.04em;font-size:clamp(19px,3.5vw,27px);line-height:1.2;color:#fff;margin:5px 0 0}.tw-game .tw-game-counter{text-align:right;white-space:nowrap;min-width:72px}.tw-game .tw-game-counter>span{display:block;font-size:9px;font-weight:700;color:#8a99b3;letter-spacing:.15em}.tw-game .tw-game-counter strong{display:block;font-weight:900;font-size:26px;letter-spacing:-.06em}.tw-game .tw-game-counter .tw-divider{color:#7e89a0;font-size:17px}
.tw-game .tw-daily-note{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0 24px}.tw-game .tw-mode-badge{color:#f6b3c0;border:1px solid #8c495e;background:#5b293829;border-radius:30px;font-size:9px;font-weight:900;letter-spacing:.12em;padding:5px 9px}.tw-game .tw-puzzle-info{color:#a7b1c0;font-size:11px}
.tw-game .tw-board{display:flex;flex-direction:column;align-items:center;gap:8px;touch-action:manipulation}.tw-game .tw-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;width:min(100%,375px)}.tw-game .tw-tile{aspect-ratio:1/1;min-width:0;display:flex;align-items:center;justify-content:center;border:2px solid #384154;background:#171f30;border-radius:11px;font-size:clamp(24px,5vw,34px);line-height:1;font-weight:900;color:#fff;user-select:none;transition:background .2s ease,border-color .2s ease,transform .15s ease;box-shadow:inset 0 -2px 2px #0002}.tw-game .tw-row.is-current .tw-tile:not(.has-letter){border-color:#5b667b}.tw-game .tw-tile.has-letter{border-color:#7886a1}.tw-game .tw-tile.is-correct,.tw-game .tw-example .is-correct{background:var(--tw-correct);border-color:var(--tw-correct);color:white}.tw-game .tw-tile.is-present,.tw-game .tw-example .is-present{background:var(--tw-present);border-color:var(--tw-present);color:white}.tw-game .tw-tile.is-absent,.tw-game .tw-example .is-absent{background:var(--tw-absent);border-color:var(--tw-absent);color:white}
.tw-game .tw-shake{animation:tw-shake .27s ease-in-out}.tw-game .tw-message{text-align:center;min-height:26px;margin:15px 0 14px;color:#ffbdc7;font-size:12px;font-weight:750}.tw-game .tw-keyboard{display:flex;flex-direction:column;gap:7px;max-width:560px;margin:0 auto}.tw-game .tw-key-row{display:flex;gap:5px;justify-content:center;width:100%}.tw-game .tw-key{min-width:0;flex:1;max-width:53px;height:clamp(40px,6.7vw,55px);border-radius:7px;border:1px solid #48546a;background:#313d53;color:#fff;font-size:clamp(13px,2.5vw,17px);font-weight:850;padding:0;display:flex;align-items:center;justify-content:center;box-shadow:none}.tw-game .tw-key-special{flex:1.45;max-width:78px;font-size:10px;letter-spacing:.02em;background:#586477}.tw-game .tw-key.tw-delete{font-size:25px}.tw-game .tw-key.is-absent{background:#343d4e;border-color:#343d4e;color:#bcc3ce}.tw-game .tw-key.is-present{background:var(--tw-present);border-color:var(--tw-present)}.tw-game .tw-key.is-correct{background:var(--tw-correct);border-color:var(--tw-correct)}.tw-game .tw-key:hover{filter:brightness(1.2)}.tw-game .tw-key:active{transform:scale(.94)}
.tw-game .tw-under-board{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:18px;color:#8996ab}.tw-game .tw-tiny-hint{font-size:11px}.tw-game .tw-new-game{border:1px solid #785265;border-radius:9px;background:#272030;color:#efbcc9;padding:8px 13px;font-size:11px;font-weight:800}.tw-game .tw-new-game:hover{background:#443044}
.tw-game .tw-result{background:linear-gradient(115deg,#252039,#19293b);border:1px solid #664358;border-radius:16px;padding:25px 22px;text-align:center;margin-top:24px}.tw-game .tw-result-icon{font-size:42px;color:#ff9cac}.tw-game .tw-result h3{font-size:25px;font-weight:900;letter-spacing:-.04em}.tw-game .tw-result p{font-size:13px;color:#b7c2d0;margin-top:8px}.tw-game .tw-result-actions{display:flex;justify-content:center;gap:10px;margin-top:20px;flex-wrap:wrap}.tw-game .tw-result-actions button{border-radius:9px;padding:11px 16px;font-size:12px;font-weight:850;color:white;min-height:40px}.tw-game .tw-share{background:var(--tw-pink);border:1px solid var(--tw-pink)}.tw-game .tw-result-next{background:#37465d;border:1px solid #5b6881}
.tw-game .tw-footer{border-top:1px solid #273146;margin-top:38px;padding-top:18px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;color:#909cad;font-size:10px;letter-spacing:.12em;font-weight:750}.tw-game .tw-footer span:first-child{color:#fff}
.tw-game .tw-overlay{z-index:50;position:fixed;inset:0;background:rgba(1,4,11,.84);display:flex;justify-content:center;align-items:center;padding:20px;backdrop-filter:blur(8px)}.tw-game .tw-dialog{position:relative;background:#131d2b;color:#f7f9fc;border:1px solid #445067;border-radius:18px;padding:30px 25px;max-width:450px;width:100%;max-height:min(680px,90vh);overflow-y:auto;box-shadow:0 20px 90px #0008}.tw-game .tw-dialog h2{font-size:25px;font-weight:900;margin:0 0 15px;color:#fff}.tw-game .tw-dialog h3{font-size:16px;font-weight:850;margin:19px 0 10px;color:#fff}.tw-game .tw-dialog p{color:#c1cbd9;font-size:13px;line-height:1.65;margin:9px 0}.tw-game .tw-dialog strong{color:#fff}.tw-game .tw-dialog .tw-muted{color:#8795a8;font-size:12px}.tw-game .tw-close{position:absolute;right:13px;top:12px;width:32px;height:32px;background:#29374d;border:1px solid #46556b;border-radius:9px;color:#fff;display:grid;place-items:center}.tw-game .tw-example{display:flex;gap:4px;margin-top:14px}.tw-game .tw-example>span{display:grid;place-items:center;width:38px;height:38px;border:2px solid #445167;border-radius:6px;font-weight:900}.tw-game .tw-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.tw-game .tw-stats-grid>div{display:flex;align-items:center;justify-content:center;flex-direction:column;background:#1e2b3c;border-radius:9px;padding:13px 4px}.tw-game .tw-stats-grid strong{font-size:21px}.tw-game .tw-stats-grid span{font-size:10px;color:#c1c9d5}.tw-game .tw-dist-row{display:flex;align-items:center;gap:9px;margin:7px 0;font-size:11px}.tw-game .tw-dist-row>span{width:12px}.tw-game .tw-dist-track{flex:1;background:#273143;border-radius:3px;overflow:hidden}.tw-game .tw-dist-track>div{min-width:25px;background:#247c72;padding:3px 5px;text-align:right;font-weight:800}.tw-game .tw-share-text{width:100%;height:150px;background:#0f1826;border:1px solid #465368;border-radius:9px;color:#fff;padding:12px;resize:vertical;font:13px monospace}
@keyframes tw-shake{0%,100%{transform:translateX(0)}20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
@media(max-width:620px){.tw-game{margin:8px 0 35px!important}.tw-game .tw-shell{border-radius:17px;padding:11px}.tw-game .tw-hero{padding:24px 17px 18px;border-radius:12px}.tw-game .tw-hero::after{opacity:.55;right:-115px}.tw-game .tw-hero-row{margin-top:24px}.tw-game .tw-hero .tw-brand p{margin-top:11px}.tw-game .tw-mode-group{margin-top:22px}.tw-game .tw-mode{flex:1;padding:9px 10px;font-size:11px}.tw-game .tw-game-body{margin:25px auto 0;padding:0 3px}.tw-game .tw-daily-note{margin:14px 0 19px}.tw-game .tw-board{gap:6px}.tw-game .tw-row{gap:6px;width:min(100%,350px)}.tw-game .tw-tile{border-radius:8px}.tw-game .tw-key-row{gap:3px}.tw-game .tw-key{height:49px;font-size:13px;border-radius:6px}.tw-game .tw-key-special{font-size:9px}.tw-game .tw-footer{margin-top:30px}.tw-game .tw-game-title{font-size:20px}}
@media(max-width:370px){.tw-game .tw-hero{padding:22px 12px 15px}.tw-game .tw-logo{font-size:42px}.tw-game .tw-icon-button{width:32px;height:32px}.tw-game .tw-kicker{font-size:9px}.tw-game .tw-key{height:43px;font-size:12px}.tw-game .tw-key-special{font-size:8px}.tw-game .tw-game-counter strong{font-size:23px}.tw-game .tw-overline{font-size:9px}}
@media(prefers-reduced-motion:reduce){.tw-game *, .tw-game *::before,.tw-game *::after{animation:none!important;transition:none!important}}

/* v1.1.0 — Clue card, visible before the first guess. */
.tw-game .tw-clue{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 23px;padding:16px 17px;background:linear-gradient(105deg,#211e30,#18263b);border:1px solid #64516e;border-radius:13px;flex-wrap:wrap}
.tw-game .tw-clue-copy{flex:1 1 235px;min-width:0}
.tw-game .tw-clue-kicker{display:block;color:#ff9fac;font-size:10px;font-weight:900;letter-spacing:.14em;margin-bottom:8px}
.tw-game .tw-clue-primary{font-size:13px;color:#f0e9f3;line-height:1.55;font-weight:650;margin:0}
.tw-game .tw-clue-extra{font-size:14px;color:#91e3c9;font-weight:850;line-height:1.5;margin:10px 0 0}
.tw-game .tw-clue-button{flex:0 1 auto;min-height:40px;border-radius:9px;padding:10px 13px;background:#f1506b;border:1px solid #fa6781;color:#fff;font-size:11px;font-weight:850;white-space:nowrap}
.tw-game .tw-clue-button:hover:not(:disabled){background:#fd7087}
.tw-game .tw-clue-button:disabled{cursor:default;background:#253b44;border-color:#3b615e;color:#91e3c9}
@media(max-width:620px){.tw-game .tw-clue{padding:14px;margin-bottom:19px;gap:12px}.tw-game .tw-clue-button{width:100%;justify-content:center}}

/* v1.2.0 — editorial semantic clue; larger question-first hierarchy. */
.tw-game .tw-clue{background:linear-gradient(110deg,#202037,#19283d);border-color:#80536a;padding:19px 20px;gap:20px}
.tw-game .tw-clue-copy{flex-basis:280px}
.tw-game .tw-clue-kicker{font-size:10px;color:#ff9caa;letter-spacing:.12em;margin-bottom:9px}
.tw-game .tw-clue-primary{font-size:clamp(15px,2.2vw,18px);font-weight:760;line-height:1.55;letter-spacing:-.01em;color:#fff}
.tw-game .tw-clue-extra{font-size:13px;line-height:1.55;margin-top:12px;padding-top:12px;border-top:1px solid #476060;color:#a3edcf}
.tw-game .tw-clue-button{padding:11px 16px;min-height:44px;font-size:12px}
@media(max-width:620px){.tw-game .tw-clue{padding:16px;gap:13px}.tw-game .tw-clue-primary{font-size:15px}.tw-game .tw-clue-button{width:100%}}
/* v2.0.0 — Adventure / multi-round mode, scoped to TABOOO Words. */
.tw-game .tw-dashboard{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 12px}
.tw-game .tw-stat{border:1px solid #3e4760;border-radius:12px;padding:11px 12px;background:linear-gradient(135deg,#222b3f,#171c2d);display:flex;flex-direction:column;gap:5px;min-width:0}
.tw-game .tw-stat>span{font-size:10px;letter-spacing:.14em;color:#b1bdd1;font-weight:800}
.tw-game .tw-stat strong{font-size:clamp(16px,3vw,23px);letter-spacing:-.03em;color:#f9fafc;white-space:nowrap;font-weight:900}
.tw-game .tw-stat .tw-lives{font-size:clamp(15px,3vw,21px);letter-spacing:-.08em;color:#ff6982}
.tw-game .tw-progress{height:8px;border-radius:100px;background:#253148;overflow:hidden;margin:4px 0 9px}
.tw-game .tw-progress-fill{background:linear-gradient(90deg,#fc6276,#fac178);height:100%;border-radius:100px;transition:width .35s ease}
.tw-game .tw-quest-label{margin:0 0 20px;font-size:10px;color:#e6a8b5;letter-spacing:.13em;font-weight:900}
.tw-game .tw-result-bonus{font-size:15px!important;color:#9eebc5!important;font-weight:900!important;letter-spacing:.03em}
.tw-game .tw-restart{background:#e74e68;border:1px solid #f4677b}
.tw-game .tw-auto-next{color:#91a5c3!important;font-size:11px!important;margin-top:15px!important}
.tw-game .tw-result[hidden],.tw-game .tw-restart[hidden],.tw-game .tw-result-next[hidden],.tw-game .tw-auto-next[hidden],.tw-game .tw-share[hidden],.tw-game .tw-new-game[hidden]{display:none!important}
.tw-game .tw-key:disabled{cursor:default;opacity:.8}
.tw-game .tw-clue-primary{font-size:clamp(16px,2.3vw,19px)}
@media(max-width:620px){.tw-game .tw-dashboard{gap:6px}.tw-game .tw-stat{padding:10px 7px}.tw-game .tw-stat>span{font-size:9px;letter-spacing:.08em}.tw-game .tw-stat strong{font-size:16px}.tw-game .tw-stat .tw-lives{font-size:15px}.tw-game .tw-quest-label{font-size:9px}.tw-game .tw-result{padding:20px 12px}}
@media(max-width:350px){.tw-game .tw-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}.tw-game .tw-stat strong{font-size:19px}}

/* v2.1.0 — Social Sharing Edition (scoped to the existing modal) */
.tw-game .tw-dialog:has(.tw-social-grid){max-width:580px}
.tw-game .tw-share-intro{font-size:13px;margin:0 0 17px!important}
.tw-game .tw-share-score{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:16px 0 18px}
.tw-game .tw-share-score>div{background:linear-gradient(140deg,#2c2943,#1a293c);border:1px solid #4e4a65;border-radius:10px;padding:13px 8px;display:flex;align-items:center;flex-direction:column;gap:4px}
.tw-game .tw-share-score>div span{font-size:10px;color:#d0bccb;font-weight:850;letter-spacing:.12em}
.tw-game .tw-share-score>div strong{font-size:clamp(19px,5vw,27px);font-weight:900;color:#fff}
.tw-game .tw-social-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:12px 0 16px}
.tw-game .tw-social{display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none!important;gap:8px;min-width:0;min-height:85px;padding:10px 5px;background:#1a2739;border:1px solid #3c4c61;border-radius:12px;color:#f8f9ff!important;font-size:11px;font-weight:700;transition:transform .15s ease,border-color .15s ease}
.tw-game .tw-social:hover{transform:translateY(-2px);border-color:#f17b93;background:#25334a}
.tw-game .tw-social:focus-visible,.tw-game .tw-share-tools button:focus-visible{outline:3px solid #fd8ba1;outline-offset:2px}
.tw-game .tw-social-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:#46506a;color:#fff;font-weight:950;font-size:19px}
.tw-game .tw-social-whatsapp .tw-social-icon{background:#177c53;font-size:13px}.tw-game .tw-social-facebook .tw-social-icon{background:#2761b3;font-size:22px}
.tw-game .tw-social-threads .tw-social-icon{background:#101114}.tw-game .tw-social-x .tw-social-icon{background:#080b10}
.tw-game .tw-social-telegram .tw-social-icon{background:#1876a7}.tw-game .tw-social-linkedin .tw-social-icon{background:#165e9a;font-size:15px}
.tw-game .tw-social-bluesky .tw-social-icon{background:#2458c5}.tw-game .tw-social-reddit .tw-social-icon{background:#b7471a;font-size:16px}
.tw-game .tw-share-tools{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.tw-game .tw-share-tools button{background:#e85672;border:1px solid #ff7890;border-radius:9px;min-height:40px;padding:9px 12px;color:#fff;font-size:11px;font-weight:850;cursor:pointer}
.tw-game .tw-share-tools button:nth-child(2){background:#26374e;border-color:#586a82}
.tw-game .tw-share-tools .tw-native-share{background:#245f57;border-color:#46887d}
.tw-game .tw-share-tools button[hidden]{display:none!important}
.tw-game .tw-share-tools button:hover{filter:brightness(1.1)}
.tw-game .tw-share-help{margin:14px 0 7px!important;color:#afbacb!important;font-size:11px!important;line-height:1.5!important}
.tw-game .tw-share-feedback{margin:12px 0 0;min-height:1.2em;font-size:12px;color:#a8f0cf;font-weight:700}
@media(max-width:620px){.tw-game .tw-dialog:has(.tw-social-grid){padding:25px 17px;max-height:90dvh}.tw-game .tw-social-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.tw-game .tw-social{font-size:10px;min-height:77px}.tw-game .tw-social-icon{width:30px;height:30px;font-size:16px}.tw-game .tw-share-tools button{flex:1 1 140px}}
@media(max-width:350px){.tw-game .tw-social-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tw-game .tw-social{flex-direction:row;min-height:55px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.tw-game .tw-social{transition:none}}

/* v2.2.0 — Single Answer Board + wide, immersive-safe presentation.
 * Scoped to .tw-game: no global body, JNews, or PLAY Full Immersive overrides. */
.tw-game{width:min(1380px,calc(100vw - 20px));margin:12px 0 18px!important}
.tw-game .tw-shell{padding:clamp(12px,1.7vw,23px);border-radius:19px}
.tw-game .tw-hero{padding:13px clamp(16px,2vw,26px) 13px;border-radius:14px}
.tw-game .tw-hero::after{height:155px;width:155px;top:-49px}
.tw-game .tw-hero-row{margin-top:8px;align-items:center}
.tw-game .tw-logo{font-size:clamp(35px,4.3vw,54px)}
.tw-game .tw-brand p{margin:5px 0 0;font-size:12px}
.tw-game .tw-kicker{font-size:9px}
.tw-game .tw-mode-group{margin-top:13px}
.tw-game .tw-mode{min-height:34px;padding:7px 13px;font-size:11px}
.tw-game .tw-game-body{max-width:none;margin:14px auto 0}
.tw-game .tw-dashboard{gap:8px;margin-bottom:7px}
.tw-game .tw-stat{padding:8px 14px;gap:2px;border-radius:9px}
.tw-game .tw-stat strong{font-size:clamp(17px,2vw,21px)}
.tw-game .tw-stat>span{font-size:9px}
.tw-game .tw-progress{height:5px;margin:0 0 11px}
.tw-game .tw-stage-grid{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:clamp(16px,2.4vw,34px);align-items:start}
.tw-game .tw-question-panel,.tw-game .tw-answer-panel{min-width:0}
.tw-game .tw-question-panel{background:linear-gradient(145deg,rgba(47,38,58,.7),rgba(19,27,42,.8));border:1px solid #374058;border-radius:14px;padding:clamp(15px,2.1vw,24px);min-height:327px}
.tw-game .tw-quest-label{margin:0 0 12px}
.tw-game .tw-game-title{font-size:clamp(18px,2.1vw,24px)}
.tw-game .tw-daily-note{margin:12px 0 15px}
.tw-game .tw-clue{margin:0;padding:clamp(14px,1.8vw,20px);gap:15px}
.tw-game .tw-clue-copy{flex:1 1 190px}
.tw-game .tw-clue-primary{font-size:clamp(16px,1.8vw,19px)}
.tw-game .tw-clue-button{width:auto}
.tw-game .tw-answer-panel{display:flex;flex-direction:column;align-items:stretch;padding:2px 0 0}
.tw-game .tw-board{display:flex;align-items:center;justify-content:center;min-height:79px;margin:2px auto 2px;width:100%}
.tw-game .tw-row{width:min(100%,440px);gap:10px}
.tw-game .tw-tile{font-size:clamp(27px,3.3vw,42px);border-radius:12px;aspect-ratio:1.15/1}
.tw-game .tw-tile.is-success{background:#16a079;border-color:#7af2c1;box-shadow:0 0 23px #17ae7c88, inset 0 -2px 2px #004a3e8c}
.tw-game .tw-tile.is-wrong{background:#bd324d;border-color:#ff8ea1;box-shadow:0 0 17px #ff476757}
.tw-game .tw-row-win .tw-tile{animation:tw-single-win .65s ease both}
.tw-game .tw-row-win .tw-tile:nth-child(2){animation-delay:.09s}.tw-game .tw-row-win .tw-tile:nth-child(3){animation-delay:.18s}.tw-game .tw-row-win .tw-tile:nth-child(4){animation-delay:.27s}.tw-game .tw-row-win .tw-tile:nth-child(5){animation-delay:.36s}
.tw-game .tw-row-wrong{animation:tw-shake .36s ease-in-out}
.tw-game .tw-message{min-height:19px;margin:5px auto 8px;font-size:12px}
.tw-game .tw-attempts{border:1px solid #354158;border-radius:11px;padding:9px 11px;background:#121a2a;margin:0 0 11px;min-height:62px}
.tw-game .tw-attempts-head{display:flex;justify-content:space-between;gap:8px;align-items:center;color:#aebad1;font-size:9px;letter-spacing:.04em;flex-wrap:wrap}
.tw-game .tw-attempts-head strong{font-size:9px;color:#f5c1cd;letter-spacing:.09em}
.tw-game .tw-attempt-history{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px;min-height:19px;align-items:center}
.tw-game .tw-attempt-empty{font-size:11px;color:#8f9aae}
.tw-game .tw-attempt-chip{font-size:10px;font-weight:800;border:1px solid #644352;border-radius:6px;padding:4px 6px;background:#3a2638;color:#ffc8d2;letter-spacing:.04em}
.tw-game .tw-attempt-win{background:#163b38;border-color:#398c71;color:#9ef6d1}
.tw-game .tw-keyboard{max-width:520px;width:100%}
.tw-game .tw-key{height:clamp(38px,4.9vw,47px)}
.tw-game .tw-under-board{margin-top:10px}
.tw-game .tw-footer{margin-top:14px;padding-top:12px}
.tw-game .tw-result{margin-top:14px;padding:15px 18px}
.tw-game .tw-result-icon{font-size:30px}
.tw-game .tw-result h3{font-size:21px}
@keyframes tw-single-win{0%{transform:scale(.9);filter:brightness(1)}55%{transform:scale(1.13);filter:brightness(1.4)}100%{transform:scale(1);filter:brightness(1)}}
@media(max-width:820px){
  .tw-game .tw-stage-grid{grid-template-columns:1fr;gap:12px}
  .tw-game .tw-question-panel{min-height:0;padding:15px}
  .tw-game .tw-game-top{align-items:center}
  .tw-game .tw-daily-note{margin:10px 0}
  .tw-game .tw-quest-label{margin-bottom:7px}
  .tw-game .tw-clue{padding:13px}
  .tw-game .tw-answer-panel{padding:1px 0}
  .tw-game .tw-board{min-height:62px}
  .tw-game .tw-row{width:min(100%,360px);gap:6px}
  .tw-game .tw-message{margin:5px auto 9px}
}
@media(max-width:620px){
  .tw-game{width:min(100%,calc(100vw - 12px));margin:4px 0 13px!important}
  .tw-game .tw-shell{padding:9px}
  .tw-game .tw-hero{padding:13px 14px}
  .tw-game .tw-hero-row{margin-top:11px}
  .tw-game .tw-logo{font-size:45px}
  .tw-game .tw-brand p{margin-top:5px}
  .tw-game .tw-mode-group{margin-top:14px}
  .tw-game .tw-dashboard{gap:5px}
  .tw-game .tw-stat{padding:8px 6px}
  .tw-game .tw-game-body{padding:0 1px;margin-top:11px}
  .tw-game .tw-question-panel{padding:12px}
  .tw-game .tw-clue-primary{font-size:15px}
  .tw-game .tw-board{min-height:64px;margin:0 auto}
  .tw-game .tw-tile{font-size:31px;border-radius:8px}
  .tw-game .tw-attempts{padding:8px;margin-bottom:9px}
  .tw-game .tw-key{height:clamp(37px,10.5vw,46px)}
  .tw-game .tw-key-row{gap:3px}
  .tw-game .tw-footer{margin-top:11px}
}
@media(prefers-reduced-motion:reduce){.tw-game .tw-row-win .tw-tile,.tw-game .tw-row-wrong{animation:none!important}}

/* v2.2.1 — Reset control, intentionally scoped to the TABOOO Words component. */
.tw-game .tw-play-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;position:relative;z-index:2}
.tw-game .tw-play-controls .tw-mode-group{flex:1 1 340px;margin-top:12px}
.tw-game .tw-reset-game{margin-top:12px;padding:8px 15px;min-height:36px;white-space:nowrap;border-radius:9px;border:1px solid #946279;background:#2a2638;color:#ffcfdb;font-size:11px;font-weight:850;box-shadow:none;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.tw-game .tw-reset-game:hover,.tw-game .tw-reset-game:focus-visible{background:#453047;border-color:#e87590;color:#fff}
.tw-game .tw-reset-game span{font-size:18px;line-height:1}
.tw-game .tw-reset-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}
.tw-game .tw-reset-actions button{flex:1 1 170px;min-height:44px;border-radius:9px;padding:11px 12px;font-size:12px;font-weight:850}
.tw-game .tw-reset-cancel{background:#293447;border:1px solid #53637a;color:#f0f2f7}
.tw-game .tw-reset-confirm{background:#e85672;border:1px solid #ff7890;color:#fff}
.tw-game .tw-reset-actions button:hover{filter:brightness(1.12)}
@media(max-width:620px){
  .tw-game .tw-play-controls{gap:0}
  .tw-game .tw-play-controls .tw-mode-group{flex:1 1 100%;margin-top:10px}
  .tw-game .tw-reset-game{margin:8px 0 0;min-height:35px;padding:8px 12px;width:100%}
}
