body.mobile-layout #quest-tracker-root{width:auto;max-width:200px;top:var(--sat, 0px);left:50%;transform:translate(-50%);right:auto}body.mobile-layout #quest-tracker-root.mobile-collapsed .quest-objectives{display:none}body.mobile-layout #player-frame-root{transform:scale(.78);transform-origin:top left;top:calc(var(--sat, 0px) + 4px);left:calc(var(--sal, 0px) + 4px)}body.mobile-layout #target-frame-root{transform:scale(.78);transform-origin:top right;top:calc(var(--sat, 0px) + 4px)}body.mobile-layout.phone #spell-bar-root,body.mobile-layout #panel-chat{display:none!important}body.mobile-layout #panel-chat.chat-mobile-expanded{display:flex!important;position:fixed!important;top:calc(var(--sat, 0px) + 60px)!important;left:calc(var(--sal, 0px) + 8px)!important;right:calc(var(--sar, 0px) + 8px)!important;bottom:auto!important;width:auto!important;max-width:none!important;max-height:calc(100vh - var(--sat, 0px) - var(--sab, 0px) - 200px)!important;border-radius:6px!important;z-index:10005!important}body.mobile-layout #panel-chat.chat-mobile-expanded .chat-panel{position:relative!important;bottom:auto!important;left:auto!important;width:100%!important}body.mobile-layout #panel-chat.chat-mobile-expanded .chat-msg-area{height:180px!important;max-height:40vh!important}body.mobile-layout #xp-bar-root{bottom:calc(var(--sab, 0px) + 128px);left:130px;right:140px}body.mobile-layout #buff-bar-root{top:calc(var(--sat, 0px) + 60px);left:50%;transform:translate(-50%);bottom:auto}body.mobile-layout.phone #currency-display-root{transform:scale(.8);transform-origin:bottom right}body.mobile-layout #cast-player{transform:scale(.85);transform-origin:bottom center;bottom:calc(var(--sab, 0px) + 134px)}body.mobile-layout.phone #quick-item-bar-root,body.mobile-layout.phone #sub-weapon-root{display:none!important}body.mobile-layout.phone #uf-player{transform:none;width:150px;padding:4px 8px}body.mobile-layout.phone #uf-target{transform:none;width:140px;left:auto;right:calc(var(--sar, 0px) + 8px)}body.mobile-layout #panel-chat .chat-input{min-height:44px;font-size:14px}.chat-mobile-backdrop{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:10004}.chat-mobile-backdrop.visible{display:block}.chat-mobile-close{position:absolute;top:4px;right:8px;font-size:16px;color:#a66;cursor:pointer;z-index:2;padding:4px 8px;line-height:1;font-family:Inter,sans-serif}.chat-mobile-close:active{color:#f88}body.mobile-layout.phone #panel-chat .chat-tabs{overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}body.mobile-layout.phone #panel-chat .chat-tab{flex-shrink:0;min-width:32px;text-align:center}body.mobile-layout.phone .ui-panel{width:calc(100vw - var(--sal, 0px) - var(--sar, 0px) - 16px)!important;max-height:calc(100vh - var(--sat, 0px) - var(--sab, 0px) - 60px)!important;left:calc(var(--sal, 0px) + 8px)!important;top:calc(var(--sat, 0px) + 8px)!important;transform:none!important;overflow-y:auto}body.mobile-layout.tablet .ui-panel{width:min(75vw,560px)!important;max-height:calc(100vh - var(--sat, 0px) - var(--sab, 0px) - 80px)!important;left:50%!important;top:calc(var(--sat, 0px) + 30px)!important;transform:translate(-50%)!important;overflow-y:auto}body.mobile-layout .ui-panel-close{width:36px!important;height:36px!important;font-size:14px!important}body.mobile-layout .ui-btn{min-height:40px;padding:8px 14px}body.mobile-layout .ui-tab{min-height:40px;display:flex;align-items:center;justify-content:center}body.mobile-layout .ui-panel input[type=text],body.mobile-layout .ui-panel input[type=number],body.mobile-layout .ui-panel input[type=password],body.mobile-layout .ui-panel textarea,body.mobile-layout .ui-panel select{min-height:40px!important;font-size:16px!important;padding:8px 10px!important;box-sizing:border-box}body.mobile-layout.phone .inv-grid{grid-template-columns:repeat(5,1fr)!important;gap:4px!important}body.mobile-layout.phone .ml-body{flex-direction:column!important}body.mobile-layout.phone .ml-body>*:first-child{width:100%!important;max-height:140px;border-right:none!important;border-bottom:1px solid #1a1520}body.mobile-layout.phone .inv-body{flex-direction:column!important}body.mobile-layout.phone .inv-equip{width:100%!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:center!important}body.mobile-layout.phone .inv-divider{width:100%!important;height:1px!important}
