/* V54.41 - responsive corrections for all PHP pages, no change to game mechanics */
*,*::before,*::after{box-sizing:border-box}
html,body{width:100%;min-width:0;max-width:100%;overflow-x:clip}
body main.shell,body .shell,body .content,body .panel{min-width:0;max-width:100%}
img,video,canvas,svg{max-width:100%}
img{height:auto}
pre,code{overflow-wrap:anywhere}
table{max-width:100%}
.k-main-header,.k-header-inner,.k-main-nav,.k-userbar{min-width:0}
@media(max-width:1050px){
 .k-header-inner{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
 .k-main-nav{display:flex;flex-wrap:wrap;justify-content:center;max-width:100%;gap:6px}
 .k-userbar{display:flex;justify-content:center;flex-wrap:wrap}
 .shop-layout{grid-template-columns:minmax(0,1fr)!important}
 .shop-side{width:100%!important;max-width:100%}
}
@media(max-width:700px){
 body main.shell,body .shell{width:100%!important;max-width:100%!important;padding-left:12px!important;padding-right:12px!important}
 .content,.panel{max-width:100%!important;overflow-wrap:anywhere}
 .k-main-nav a{min-width:0;font-size:12px}
 .shop-products{grid-template-columns:minmax(0,1fr)!important}
 .shop-layout,.shop-main,.shop-side,.shop-card{min-width:0!important;max-width:100%!important}
 .shop-toolbar,.shop-filters{flex-wrap:wrap!important}
 .shop-toolbar-search,.shop-toolbar-search input{width:100%!important;min-width:0!important}
 input,select,textarea{max-width:100%;min-width:0}
 .shop-art img{object-fit:contain}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
