.kh-mobile-bar,.kh-mobile-offer{display:none}
@media(max-width:760px),(pointer:coarse) and (max-height:700px){.kh #khSkillsBar .kh-empty-skill span,.kh #khSkillsBar .kh-empty-skill small{display:none}.kh #khSkillsBar .kh-empty-skill:after{content:attr(data-slot);font-size:14px}.kh #khSkillsBar .kh-empty-skill{opacity:.3}}
@media(max-width:760px),(pointer:coarse) and (max-height:700px){
 .kh #khArena{position:relative;display:flex;flex-direction:column;gap:6px;box-sizing:border-box;height:var(--kh-mobile-height,calc(100svh - 100px));min-height:240px;padding:8px;border:1px solid var(--line);border-radius:14px;background:#101b22;overflow:hidden;isolation:isolate}
 .kh #khArena.kh-arena-focus,.kh #khArena:fullscreen{position:fixed;left:var(--kh-view-left,0px);top:var(--kh-view-top,0px);width:var(--kh-view-width,100vw);height:var(--kh-view-height,100dvh);max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:8px 8px max(8px,env(safe-area-inset-bottom));z-index:110000}
 body.kh603-focus{overflow:hidden!important;overscroll-behavior:none}body.kh603-focus .hub1-fixed-dock,body.kh603-focus .baha-dock-peek{display:none!important}
 .kh .kh-mobile-bar{display:flex;align-items:center;gap:5px;flex-shrink:0;min-height:44px}.kh-mobile-bar>div{flex:1;min-width:0}.kh-mobile-bar b,.kh-mobile-bar small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kh-mobile-bar b{font-size:12px}.kh-mobile-bar small{font-size:10px;margin-top:3px;max-width:100%}.kh .kh-mobile-bar button{min-height:44px;padding:6px 9px;font-size:11px;flex-shrink:0}.kh #khMobileGearButton{min-width:44px;color:#c5e6b0}
 .kh #khArena #khStageWrap{flex:1 1 0;min-height:110px;height:auto;border-radius:10px}.kh #khArena #khCanvas{height:100%;width:100%}.kh #khArena #khVitals{left:6px;top:6px;width:min(248px,calc(100% - 72px));padding:6px;display:grid;grid-template-columns:1fr 1fr;gap:3px 9px;font-size:9px;border-radius:8px;backdrop-filter:none}.kh #khVitals .kh-vital-xp{grid-column:1/-1}.kh #khVitals small{font-size:8px}.kh #khVitals .kh-bar{height:3px;margin:4px 0 1px}.kh #khVitals .xp{height:2px}.kh #khArena #khMinimap{right:6px;top:6px;width:54px;height:48px;border-radius:7px}.kh #khSceneNote{bottom:6px;padding:0 7px;font-size:9px;line-height:1.3}.kh #khTarget{bottom:32px;padding:4px 7px;font-size:10px}.kh #khStartOverlay{padding:12px}.kh #khStartOverlay h2{font-size:22px;margin:0 0 6px}.kh #khStartOverlay p{font-size:11px;margin:0 0 7px;line-height:1.4}.kh #khStartOverlay button{font-size:12px;min-height:44px;padding:8px}
 .kh #khArena #khEquipmentOffer,.kh #khArena #khCompanion{display:none!important}.kh #khArena .kh-mobile-offer{display:flex;align-items:center;gap:5px;flex-shrink:0;margin:0;padding:3px 6px;min-height:48px;border:1px solid #92b88088;background:#203630;border-radius:9px}.kh-mobile-offer>span{flex:1;min-width:0}.kh-mobile-offer b,.kh-mobile-offer small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kh-mobile-offer b{font-size:11px;color:#d5e6c2}.kh-mobile-offer small{font-size:9px;margin-top:3px}.kh .kh-mobile-offer button{font-size:10px;padding:5px 7px;min-height:44px;flex-shrink:0}.kh .kh-mobile-offer button[data-gear-compare],.kh .kh-mobile-offer button[data-gear-dismiss]{min-width:36px}
 .kh #khArena #khCombat{touch-action:none;user-select:none;display:grid;grid-template-columns:88px minmax(0,1fr);grid-template-rows:44px auto;gap:5px 8px;align-items:center;flex-shrink:0;margin:0;padding:3px 0 0;min-width:0}.kh #khArena #khMovePad{grid-row:1/span 2;grid-column:1;display:flex;align-items:center;justify-content:center;height:100%}.kh #khArena #khStick{display:block;width:86px;height:86px}.kh #khStick i{left:20px;top:20px}.kh #khStick:before{left:36px}.kh #khStick b{display:none}.kh #khArena #khDpad{display:none}.kh #khArena .kh-actionset{display:contents}.kh #khArena #khSkillsBar{grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0}.kh #khSkillsBar button{display:flex;justify-content:center;gap:2px;min-width:0;min-height:44px;height:44px;padding:4px;font-size:9px;overflow:hidden}.kh #khSkillsBar button span{display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kh #khSkillsBar small{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.kh #khArena .kh-actions{grid-column:2;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0}.kh #khArena .kh-actions button{min-width:0;min-height:44px;height:44px;padding:4px;font-size:10px;line-height:1.2;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.kh #khArena #khExitFullscreen{display:none!important}
 .kh #khRewardDock{flex-shrink:0;min-height:0}.kh #khRewardDock:empty{display:none}.kh .kh-reward-toasts.kh-reward-compact{position:static!important;inset:auto!important;width:auto!important;z-index:auto;pointer-events:auto}.kh .kh-reward-compact .kh-reward-strip{display:flex;align-items:center;gap:6px;background:#203632;border:1px solid #c4d39a70;border-radius:9px;padding:4px 6px;max-height:58px;color:#f5ead2;box-sizing:border-box}.kh-reward-strip>div{flex:1;min-width:0}.kh-reward-strip b,.kh-reward-strip span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kh-reward-strip b{font-size:11px;color:#c5e6b0}.kh-reward-strip span{font-size:10px;margin-top:3px}.kh .kh-reward-strip button{min-height:44px;min-width:36px;padding:4px 7px;font-size:10px;flex-shrink:0}.kh #khDialog>.kh-reward-compact{margin:8px 12px}.kh #khDialog{position:fixed;top:calc(var(--kh-view-top,0px) + 10px);bottom:auto;margin:0 auto;max-height:calc(var(--kh-view-height,100dvh) - 20px)}.kh #khDialog>header{padding:10px 14px}.kh #khDialog h2{font-size:20px}.kh #khDialogBody{padding:14px}
}
@media(max-width:760px) and (orientation:landscape) and (max-height:520px),(pointer:coarse) and (orientation:landscape) and (max-height:520px){
 .kh #khArena{display:grid;grid-template-columns:78px minmax(0,1fr) 246px;grid-template-rows:44px auto minmax(0,1fr);gap:5px 8px;padding:6px}.kh #khArena .kh-mobile-bar{grid-column:1/-1;grid-row:1}.kh #khArena #khStageWrap{grid-column:2;grid-row:2/span 2;min-height:0;height:100%;width:100%}.kh #khArena #khRewardDock{grid-column:3;grid-row:2}.kh #khArena #khMobileOffer{display:none!important}.kh #khArena #khCombat{grid-column:3;grid-row:3;grid-template-columns:minmax(0,1fr);align-self:end}.kh #khArena #khMovePad{position:absolute;left:6px;bottom:18px;width:72px;height:86px;grid-column:auto;grid-row:auto}.kh #khArena #khSkillsBar,.kh #khArena .kh-actions{grid-column:1}.kh #khArena #khStick{width:72px;height:72px}.kh #khStick i{left:13px;top:13px}.kh #khStick:before{left:29px}.kh #khArena #khVitals{width:calc(100% - 70px);max-width:235px}.kh #khVitals .kh-vital-xp{display:none}.kh #khArena .kh-reward-strip{max-height:48px;padding:2px 5px}.kh .kh-reward-strip button{padding:3px 5px}.kh #khStartOverlay p{display:none}
}
