.tw22Game{display:flex;flex-direction:column;gap:13px;max-width:100%;margin:auto}
.tw22GameTabs{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.tw22GameTabs button{font-size:12px!important;padding:7px 10px!important;border-radius:9px!important}
.tw22GameBoard{background:#f5faf6!important;border:1px solid #d2e5d7!important;border-radius:14px;padding:13px!important;text-align:center;min-height:195px}
.tw22GameBoard h3{font-size:17px;margin:2px 0 7px}
.tw22GameBoard .twGameTip{font-size:12px;line-height:1.5;margin:4px 0 12px;color:#527460}
.tw22GameActions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.tw22GameActions>button{display:inline-flex;gap:3px;flex-direction:column;align-items:center;justify-content:center;font-size:13px;padding:8px 14px!important}
.twRpsHands{display:flex;gap:17px;justify-content:center;align-items:center;margin:8px 0 15px}
.twRpsHands>div{display:flex;flex-direction:column;gap:4px;align-items:center;min-width:95px;background:#fff;border:1px solid #dbebdf;border-radius:14px;padding:9px 12px}
.twRpsHands small{font-size:10px;color:#5e816a}
.twRpsEmoji{font-size:49px;line-height:1.25;filter:drop-shadow(0px 3px 1px #0001)}
.twRpsVS{color:#2e7354;font-weight:900;font-size:15px}
.twRpsChoiceHand{font-size:29px;line-height:1.1}
.twRpsHands b{font-size:11px;color:#43644d}
.twHandPop{animation:twHandPop .45s ease-out}
@keyframes twHandPop{0%{transform:scale(.55) rotate(-18deg)}55%{transform:scale(1.22) rotate(8deg)}100%{transform:scale(1) rotate(0)}}
.twShellStage{width:min(355px,100%);height:157px;position:relative;margin:1px auto 10px;border-radius:14px;background:linear-gradient(#e0f0df 0%,#d9e9d6 75%,#b0d3b2 76%,#b0d3b2);border:1px solid #cfdfcf;overflow:hidden;--pitch:clamp(75px,24vw,116px)}
.twShellCup{position:absolute;left:6px;top:31px;width:91px;height:92px;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;cursor:pointer;transform:translate3d(calc(var(--pos) * var(--pitch)),var(--raise),0);transition:transform .48s cubic-bezier(.23,.9,.28,1);will-change:transform;z-index:2}
.twShellCup:disabled{cursor:default;opacity:1!important}
.twShellCup:not(:disabled):hover{filter:brightness(1.08)}
.twShellCup:focus-visible{outline:3px solid #24764d;border-radius:9px}
.twShellCup .twCupArt{max-width:100%;filter:drop-shadow(0 4px 2px #2b513422)}
.twShellBall{position:absolute;width:19px;height:19px;left:calc(45px + var(--ballpos) * var(--pitch));top:101px;border-radius:50%;background:radial-gradient(circle at 30% 26%,#fcffff 0 6%,#fc6a85 22%,#ac284f 75%);box-shadow:0 3px 3px #31523b66;transition:opacity .16s,left .48s;z-index:1}
.twMemoryGrid{max-width:385px;margin:10px auto;display:grid!important;grid-template-columns:repeat(4,minmax(50px,1fr));gap:6px!important}
.twMemoryGrid .tw22GameCard{height:54px;min-width:0!important;font-size:23px!important;padding:5px!important}
.twReaction.go{background:#64cc8a!important;color:#063b2d!important}
.tw22GameResult{min-height:24px;margin-top:8px;font-weight:750;color:#266e4d;font-size:13px}
.twWeeklyRanking{background:white;border:1px solid #d1e4d6;border-radius:13px;padding:12px 14px}
.twRankTop{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px}
.twRankTop h3{font-size:15px;color:#24583b;margin:0}
.twRankTop small{font-size:10px;color:#66806b}
.twRankButtons{display:flex;gap:5px}
.twRankButtons button{padding:5px 9px!important;font-size:11px!important}
.twRankButtons button.selected{background:#2b7c55!important;color:white!important}
.twRankRows{margin-top:8px;display:grid;gap:4px}
.twRankRow{display:grid;grid-template-columns:34px 1fr auto 48px;align-items:center;gap:6px;padding:6px 10px;border-radius:8px;background:#f1f7f2;font-size:12px}
.twRankRow strong{font-size:15px}.twRankRow b{color:#175b3c}.twRankRow small{font-size:10px;color:#738677;text-align:right}
.twRankFoot{display:flex;gap:8px;margin-top:9px;flex-wrap:wrap}
.twRankFoot button{font-size:11px!important;padding:6px 10px!important}
.twRankNote{font-size:10px;color:#8b7654;line-height:1.4;margin:8px 0 0}
@media(max-width:480px){.twShellStage{--pitch:clamp(68px,21vw,88px)}.twRpsEmoji{font-size:35px}.tw22GameTabs button{font-size:11px!important}.twWeeklyRanking{padding:10px}}
