body:not(.coop-island-active):has(#panel-game.active #gameArena.active:not(.settlement-view) #topGameBtns:not([style*="display: none"])) .app>.header,body:not(.coop-island-active):has(#panel-game.active #gameArena.active:not(.settlement-view) #topGameBtns:not([style*="display: none"])) .app>.nav-tabs{display:none!important}@media(min-width:601px)and (min-height:501px){body.pet-free #petCat{display:block!important}body.pet-free #petCat,body.pet-free #petCat .cat-art{width:56px;height:56px}body.pet-free.pet-small #petCat,body.pet-free.pet-small #petCat .cat-art{width:44px;height:44px}body.pet-free #petCat .cat-art{transform:none}body.pet-free #petCat.cat-face-right .cat-art{transform:scaleX(-1)}body.pet-free #petCat.cat-jumping .cat-art{animation-name:catJumpLane}body.pet-free #petCat.cat-celebrate .cat-art{animation-name:catCelebrateLane}body.pet-free #petCat.cat-excited .cat-art{animation-name:catComboLane}}@media(min-height:501px){.app>#panel-game.active{margin-bottom:0!important;display:flex!important;flex-direction:column;min-height:0}#gameArena.active{flex:1;min-height:0;display:flex!important;flex-direction:column;gap:12px;padding:16px 20px;margin:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}#gameArena.active>.game-header{flex:none;margin:0}#gameArena.active>#gameContent:not(:has(#tenseQuestionSlot)){flex:1;min-height:0;display:flex!important;flex-direction:column;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}#gameContent>.listen-game:not(.recognition-intro):not(.recognition-practice){flex:1;min-height:0;display:flex!important;flex-direction:column;gap:clamp(10px,2vh,20px);overflow-y:auto;overscroll-behavior:contain}#gameContent>.listen-game:not(.recognition-intro):not(.recognition-practice)>.question-area{flex:none;margin-top:auto!important;display:flex;flex-direction:column;align-items:center;gap:8px;margin:0;padding:0}#gameContent>.listen-game:not(.recognition-intro):not(.recognition-practice)>.choices-grid{flex:1 1 auto;min-height:150px;max-height:560px;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(64px,1fr));gap:clamp(10px,2vh,20px);margin:0}#gameContent>.listen-game .choices-grid>.choice-btn{height:auto;min-height:64px;font-size:clamp(24px,min(4.6vh,7vw),52px);letter-spacing:1px}#gameContent>.listen-game>.listen-answer-reveal{flex:none;min-height:56px;margin:auto 0 0!important;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 12px;font-size:17px}#gameContent>.listen-game>.listen-answer-reveal .game-inline-feedback{margin:0}#gameContent>.listen-game>.listen-answer-reveal .listen-syllables{font-size:22px}#gameContent>.listen-game>.listen-answer-reveal .listen-chunk-btn{margin:0}#gameContent>.recognition-intro{flex:1;min-height:0;display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:0!important;overflow-y:auto}#gameContent>.recognition-intro .recognition-core-word{font-size:clamp(48px,min(11vh,16vw),120px)!important;line-height:1.1}#gameContent>.recognition-intro .recognition-core-meaning{font-size:clamp(26px,4vh,40px)!important;margin:6px 0!important}#gameContent>.recognition-practice{flex:1;min-height:0;display:flex!important;flex-direction:column;justify-content:center;align-items:stretch;gap:clamp(8px,1.6vh,16px);padding:0!important;overflow-y:auto}#gameContent>.recognition-practice>*{flex:none;margin:0!important}#gameContent>.recognition-practice>:first-child{margin-top:auto!important}#gameContent>.recognition-practice>.listen-answer-reveal{margin-top:auto!important}#gameContent>.recognition-practice>.big-listen-btn{display:inline-flex!important;align-self:center;align-items:center;justify-content:center}#gameContent>.recognition-practice .recognition-core-word{font-size:clamp(44px,min(9vh,15vw),100px)!important}#gameContent>.recognition-practice>.choices-grid{flex:0 1 auto;min-height:90px;height:clamp(100px,26vh,260px);grid-template-rows:minmax(0,1fr)}#gameContent>.recognition-practice .choice-btn{height:100%;min-height:72px;font-size:clamp(24px,min(4.2vh,7vw),44px)}#gameContent>.recognition-practice>.listen-answer-reveal{min-height:52px}#gameContent>.spell-game{flex:1;min-height:0;display:flex!important;flex-direction:column;align-items:center;gap:clamp(10px,2vh,22px);overflow-y:auto;overscroll-behavior:contain;padding:0}#gameContent>.spell-game>*{flex:none;margin:0!important;grid-column:auto!important;grid-row:auto!important}#gameContent>.spell-game>.word-to-spell{margin-top:auto!important;position:static!important;width:auto!important;max-height:none!important;display:flex;flex-direction:column;align-items:center;gap:6px}#gameContent>.spell-game .spell-emoji{font-size:clamp(56px,9vh,96px);line-height:1}#gameContent>.spell-game .spell-hint{font-size:clamp(20px,2.8vh,30px)}#gameContent>.spell-game .letter-slot{width:clamp(40px,min(8vh,11vw),84px);height:clamp(44px,min(8vh,11vw),84px);font-size:clamp(24px,min(4.4vh,6vw),44px)}#gameContent>.spell-game #letterButtons{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:760px}#gameContent>.spell-game .letter-btn{width:clamp(44px,min(9vh,12vw),92px);height:clamp(44px,min(9vh,12vw),92px);font-size:clamp(24px,min(4.6vh,6.4vw),46px)}#gameContent>.spell-game>div:has(>#hintBtn){margin-top:auto!important;align-self:center!important;justify-self:auto!important;display:flex;gap:12px!important;justify-content:center;flex-wrap:wrap!important}#gameContent>.spell-game>div:has(>#hintBtn)>.nav-btn{min-height:48px;padding:8px 22px;font-size:17px}#gameContent>.spell-game>#hintSteps{position:static!important;width:auto!important;margin-top:-4px!important}#gameArena.active>#gameContent:has(>.mobile-fill-question){overflow-y:auto}#gameContent>.mobile-fill-info{flex:none}#gameContent>.mobile-fill-question{flex:none;margin:auto 0 clamp(10px,2vh,24px)!important}#gameContent>.mobile-fill-question>div:first-child{font-size:clamp(56px,min(10vh,16vw),110px)!important;line-height:1.1}#gameContent>.mobile-fill-question .fill-core-word{font-size:clamp(40px,min(8vh,12vw),88px)!important}#gameContent>.mobile-fill-question>div:nth-child(3){font-size:clamp(17px,2.4vh,26px)}#gameContent:has(>.mobile-fill-question)>.choices-grid{flex:none;width:100%;max-width:760px;margin:0 auto auto!important;grid-auto-rows:clamp(64px,10vh,110px)}#gameContent:has(>.mobile-fill-question) .choice-btn{height:100%;font-size:clamp(26px,min(4.8vh,8vw),52px)!important}#gameContent:has(>#matchGrid)>div:first-child{flex:none;margin:0 0 8px!important}#gameContent>#matchGrid{flex:1;min-height:0;grid-auto-rows:minmax(64px,1fr);align-content:stretch;gap:clamp(10px,1.8vh,18px)!important}#gameContent>#matchGrid>.word-chip{display:flex;align-items:center;justify-content:center;min-height:64px;padding:8px!important;font-size:clamp(22px,3.4vh,36px)!important}#gameContent>#matchGrid>.word-chip[data-type=meaning]{font-size:clamp(22px,3.2vh,34px)!important}#gameContent>#matchStatus{flex:none;margin:8px 0 0!important}#gameArena.active>#gameContent:has(#tenseQuestionSlot){flex:1;min-height:0}#tenseQuestionSlot .tense-answer-options>button{min-height:clamp(64px,12vh,140px)!important;font-size:clamp(24px,min(4.4vh,6.4vw),46px)!important}#tenseQuestionSlot .tense-task-prompt{font-size:clamp(18px,2.4vh,26px)}#gameContent .fill-level-grid .level-card{min-height:clamp(150px,24vh,260px)!important}}@media(orientation:portrait){.app>#panel-game.active:has(>#gameModes:not([style*=none])){display:flex!important;flex-direction:column;min-height:0}#panel-game.active>#gameModes:not([style*=none]){flex:1;min-height:0;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:minmax(0,1fr)!important;align-content:stretch;gap:clamp(10px,1.6vh,18px)!important;margin:0!important;overflow:visible}#panel-game.active>#gameModes .game-mode-card{min-height:0;height:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(4px,1vh,12px)}#panel-game.active>#gameModes .game-mode-card .game-icon{font-size:clamp(40px,7vh,84px)!important;line-height:1}#panel-game.active>#gameModes .game-mode-card .game-name{font-size:clamp(18px,2.6vh,30px)!important}#panel-game.active>#gameModes .game-mode-card .game-desc{font-size:clamp(12px,1.6vh,17px)!important}}
