.menu-shell{--menu-pad-x: 16px;--menu-pad-top: 20px;--menu-pad-bottom: 40px;width:100%;max-width:760px;margin:0 auto;font-family:"Press Start 2P",monospace;display:flex;flex-direction:column;gap:18px;align-items:center;min-height:100%;line-height:1.6;overflow-wrap:anywhere;padding:calc(env(safe-area-inset-top,0px) + var(--menu-pad-top)) calc(env(safe-area-inset-right,0px) + var(--menu-pad-x)) calc(env(safe-area-inset-bottom,0px) + var(--menu-pad-bottom)) calc(env(safe-area-inset-left,0px) + var(--menu-pad-x))}.menu-shell>*{max-width:100%}.menu-shell button{min-height:32px}.menu-shell img{max-width:100%}.menu-shell [style*="font-size: 4px"],.menu-shell [style*="font-size: 5px"]{font-size:7px!important;line-height:1.5!important}.menu-shell [style*="font-size: 6px"]{font-size:8px!important;line-height:1.6!important}.menu-shell [style*="font-size: 7px"]{font-size:9px!important;line-height:1.7!important}.menu-shell [style*="font-size: 8px"]{font-size:10px!important;line-height:1.7!important}.menu-shell .menu-header{flex-wrap:wrap;row-gap:14px}.menu-shell .menu-header-title{min-width:0;flex:1 1 200px}.menu-shell .menu-header-title>:first-child{font-size:18px!important;line-height:1.4}.menu-shell .menu-header-title>:nth-child(2){font-size:9px!important;line-height:1.9!important}.menu-shell .menu-tab-bar{gap:8px!important;padding-bottom:14px!important;flex-wrap:wrap!important}.menu-shell .menu-tab-bar button{font-size:9px!important;min-height:38px;padding:8px 10px!important;flex:1 1 auto}.menu-shell [data-inv-area],.menu-shell [data-gear-slot-area]{grid-template-columns:repeat(auto-fill,minmax(76px,1fr))!important;gap:10px!important}.menu-shell [data-gear-slot-area]{padding:0 12px 8px!important}.menu-shell .menu-btn-grid{gap:14px}@media(max-width:640px){.menu-shell{gap:16px;--menu-pad-x: 14px}.menu-shell .menu-tab-bar{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))}.menu-shell .menu-tab-bar button{min-height:44px;padding:8px 2px!important;font-size:8px!important;white-space:nowrap;overflow:hidden}.menu-shell .menu-header>:last-child{flex:1 1 100%}.menu-shell .menu-header>:last-child button{width:100%;min-height:44px}.menu-shell [data-inv-area],.menu-shell [data-gear-slot-area]{grid-template-columns:repeat(auto-fill,minmax(68px,1fr))!important;gap:8px!important}}@media(max-width:360px){.menu-shell .menu-tab-bar{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-height:500px)and (orientation:landscape){.menu-shell{max-width:960px;gap:12px;--menu-pad-top: 12px;--menu-pad-bottom: 28px;--menu-pad-x: 20px}.menu-shell .menu-tab-bar{display:flex!important}.menu-shell .menu-tab-bar button{min-height:40px}}@media(min-width:768px)and (min-height:600px){.menu-shell{zoom:1.12;gap:20px;--menu-pad-x: 36px;--menu-pad-top: 32px;--menu-pad-bottom: 56px}}@media(min-width:1100px)and (min-height:720px){.menu-shell{zoom:1.28;max-width:820px}}@media(min-width:1500px)and (min-height:900px){.menu-shell{zoom:1.5}}.menu-shell [style*="max-width: 150px"]{max-width:none!important;flex-wrap:nowrap!important;gap:6px!important}.menu-shell [style*="max-width: 150px"] button{min-width:30px}.menu-shell .menu-card-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr))!important;gap:12px!important;align-items:stretch}.menu-shell .menu-card{aspect-ratio:auto!important;min-width:0;height:auto;display:grid!important;grid-template-rows:60px auto auto;justify-items:center;align-content:start;row-gap:6px!important;padding:10px 6px 8px!important;overflow:hidden;text-align:center}.menu-shell .menu-card-sprite{width:56px;height:56px;max-width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}.menu-shell .menu-card-sprite>*{max-width:100%;max-height:100%;object-fit:contain}.menu-shell .menu-card-name{max-width:100%;overflow-wrap:break-word;word-break:normal;-webkit-hyphens:none;hyphens:none;line-height:1.5!important}.menu-shell .menu-card-status{max-width:100%}@media(max-width:640px){.menu-shell .menu-card-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr))!important;gap:10px!important}}@media(max-width:360px){.menu-shell .menu-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.menu-shell .menu-header--defeat .menu-header-title>:first-child{font-size:34px!important;line-height:1.25;letter-spacing:3px}.menu-shell .menu-header--defeat .menu-header-title{gap:12px!important;flex-basis:100%}.menu-shell .menu-header--defeat .menu-header-title>:nth-child(2){display:flex;flex-direction:column;gap:8px}.menu-shell .defeat-line{display:block}.menu-shell .defeat-user{font-size:11px}.menu-shell .defeat-cause{color:#ec273f}@media(max-width:640px){.menu-shell .menu-header--defeat .menu-header-title>:first-child{font-size:26px!important}}@font-face{font-family:"Press Start 2P";src:url(/assets/PressStart2P-Regular_1778728144831-DogiNJoF.ttf) format("truetype");font-weight:400;font-style:normal}*{margin:0;padding:0;box-sizing:border-box}html,body,#root{position:fixed;inset:0;width:100%;height:100%;overflow:hidden;background:#fff;font-family:"Press Start 2P",monospace}canvas{display:block;image-rendering:pixelated;image-rendering:crisp-edges}.game-viewport{position:fixed;inset:0;overflow:hidden;background:#fff}
