/* Two edge rails; native actions stay in their original DOM and retain handlers. */
body.hub-stage-v51.static-characters main.world-edge-actions{
 --edge-top:140px;--edge-step:clamp(44px,calc((100svh - 152px)/9),68px);
 --edge-width:clamp(44px,calc((100svh - 152px)/9),60px);
 --rail-icon:clamp(40px,calc((100svh - 188px)/9),58px);
}
body.hub-stage-v51.static-characters main.world-edge-actions .game-modes{
 display:contents!important;
}
body.hub-stage-v51.static-characters main.world-edge-actions .hub-dock-continuation{display:none!important}
body.hub-stage-v51.static-characters main.world-edge-actions .game-modes>button{
 position:absolute!important;z-index:6!important;left:8px!important;right:auto!important;bottom:auto!important;
 width:var(--edge-width)!important;min-width:44px!important;height:var(--edge-width)!important;min-height:44px!important;
 max-width:none!important;margin:0!important;padding:0!important;transform:none!important;box-sizing:border-box!important;
}
body.hub-stage-v51.static-characters main.world-edge-actions .game-modes>#locations{top:calc(var(--edge-top) + 6 * var(--edge-step))!important}
body.hub-stage-v51.static-characters main.world-edge-actions .game-modes>#cloudStory{top:calc(var(--edge-top) + 7 * var(--edge-step))!important}
body.hub-stage-v51.static-characters main.world-edge-actions .game-modes>#business{top:calc(var(--edge-top) + 8 * var(--edge-step))!important}
body.hub-stage-v51.static-characters main.world-edge-actions .game-modes>:is(#arena,#chat,#pvp,#vip){left:auto!important;right:8px!important}
body.hub-stage-v51.static-characters main.world-edge-actions .game-modes>#arena{top:calc(var(--edge-top) + 5 * var(--edge-step))!important}
body.hub-stage-v51.static-characters main.world-edge-actions .game-modes>#chat{top:calc(var(--edge-top) + 6 * var(--edge-step))!important}
body.hub-stage-v51.static-characters main.world-edge-actions .game-modes>#pvp{top:calc(var(--edge-top) + 7 * var(--edge-step))!important}
body.hub-stage-v51.static-characters main.world-edge-actions .game-modes>#vip{top:calc(var(--edge-top) + 8 * var(--edge-step))!important}
body.hub-stage-v51.static-characters main.world-edge-actions #map .pin,
body.hub-stage-v51.static-characters main.world-edge-actions :is(#goalAction,#cityActivity,#daily,#quests,#help,.world-watch-inspect){
 height:var(--edge-width)!important;min-height:44px!important;padding:0!important;
}
body.hub-stage-v51.static-characters main.world-edge-actions #map .pin>i,
body.hub-stage-v51.static-characters main.world-edge-actions .game-modes>button::before,
body.hub-stage-v51.static-characters main.world-edge-actions :is(#goalAction,#cityActivity,#daily,#quests,#help,.world-watch-inspect)::after{
 width:var(--rail-icon)!important;height:var(--rail-icon)!important;flex:none!important;aspect-ratio:1!important;
}
@media(max-width:360px){
 body.hub-stage-v51.static-characters main.world-edge-actions .game-modes>button{left:4px!important}
 body.hub-stage-v51.static-characters main.world-edge-actions .game-modes>:is(#arena,#chat,#pvp,#vip){left:auto!important;right:4px!important}
}
