/* A compact dock with one consistent target size and an integrated collapse control. */
@media(max-width:850px){
.shell .main{padding-bottom:calc(118px + env(safe-area-inset-bottom))}
.shell .bottom-nav.game-dock{display:flex!important;align-items:center;gap:7px;position:fixed;z-index:40;left:50%;right:auto;bottom:max(12px,env(safe-area-inset-bottom));top:auto;transform:translateX(-50%);width:calc(100% - 28px);max-width:460px;min-width:0;padding:8px;border:1px solid #bba6df33;border-radius:25px;background:linear-gradient(130deg,#241e39ed,#151729f5);backdrop-filter:blur(22px);box-shadow:0 12px 38px #0007,0 1px 0 #ffffff0c inset;box-sizing:border-box;transition:width .2s ease,border-radius .2s ease}
.shell .bottom-nav.game-dock>.dock-items{display:flex!important;align-items:stretch;justify-content:space-evenly;gap:4px;flex:1;min-width:0}
.shell .game-dock .dock-items>button,.shell .game-dock .dock-items>a{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:59px;max-height:66px;padding:8px 4px;background:transparent;border:1px solid transparent;border-radius:17px;color:#a7a1ba;font-family:inherit;font-size:.67rem;font-weight:600;line-height:1.2;text-decoration:none;box-sizing:border-box;position:relative;transition:background .15s,color .15s}
.shell .game-dock .dock-items svg{width:23px;height:23px;flex-shrink:0;stroke-width:1.8;color:inherit}
.shell .game-dock .dock-items>button.active{background:linear-gradient(140deg,#c4a6f328,#a1e5d318);border-color:#c8aff33b;color:#e6dcfc;box-shadow:0 2px 8px #0001}
.shell .game-dock .dock-items>button.active svg{color:#b8edda;stroke-width:2.2}
.shell .game-dock .dock-items>a.main-admin{color:#c0a573}
.shell .game-dock .dock-items>a.main-admin svg{color:#d9bc81}
.shell .bottom-nav.game-dock>.taskbar-toggle{display:flex!important;position:static;left:auto;right:auto;top:auto;bottom:auto;transform:none;grid-column:auto;flex:0 0 44px;align-items:center;justify-content:center;min-height:50px;width:44px;max-width:44px;margin:0;padding:8px 0;background:#ffffff05;border:0;border-left:1px solid #ffffff0f;border-radius:12px;color:#bdb2cf;box-shadow:none}
.dock-toggle-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.shell.nav-tucked .bottom-nav.game-dock{width:156px;min-width:0;padding:6px;border-radius:23px;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%)}
.shell.nav-tucked .bottom-nav.game-dock>.dock-items{display:flex!important}
.shell.nav-tucked .game-dock .dock-items>button:not(.active),.shell.nav-tucked .game-dock .dock-items>a{display:none!important}
.shell.nav-tucked .game-dock .dock-items>button.active{flex-direction:row;gap:10px;min-height:46px;padding:8px 10px;font-size:.75rem;border-radius:16px;background:#c0a2ee14;border-color:transparent}
.shell.nav-tucked .game-dock .dock-items>button.active svg{width:21px;height:21px}
.shell.nav-tucked .game-dock>.taskbar-toggle{min-height:44px;border-radius:12px}
.shell.nav-tucked .game-dock>.taskbar-toggle svg{transform:rotate(180deg)}
.shell .game-dock button:focus-visible,.shell .game-dock a:focus-visible{outline:2px solid #ade6d2;outline-offset:2px}
.shell .game-dock button:active,.shell .game-dock a:active{filter:brightness(1.15)}
}
@media(max-width:360px){.shell .bottom-nav.game-dock{width:calc(100% - 20px);gap:4px;padding:6px}.shell .bottom-nav.game-dock>.taskbar-toggle{flex-basis:44px;width:44px;max-width:44px}.shell .game-dock .dock-items>button,.shell .game-dock .dock-items>a{font-size:.64rem;padding-inline:2px;gap:5px}}
@media(prefers-reduced-motion:reduce){.shell .bottom-nav.game-dock,.shell .game-dock .dock-items>button,.shell .game-dock .dock-items>a{transition:none}}
