html,body{width:100%;height:100%;margin:0;overflow:hidden;overscroll-behavior:none}body{min-height:0}
#game,.hud,.cm-touch,.survivor-overlay,.loot-overlay,.corpse-overlay,.construction-overlay,.voice-overlay,.cm-pause-overlay,.settings-overlay,.fuel-overlay,.death-overlay{position:fixed;left:var(--cm-vx,0px);top:var(--cm-vy,0px);right:auto;bottom:auto;width:var(--cm-vw,100vw);height:var(--cm-vh,100dvh);box-sizing:border-box}
.survivor-overlay.is-title{height:var(--cm-vh,100dvh);overflow-y:auto}.is-title .title-shell{height:auto;min-height:var(--cm-vh,100dvh);max-height:none;box-sizing:border-box;grid-template-rows:auto minmax(min-content,1fr) auto auto}.is-title .title-composition,.is-title .title-returning .title-composition,.is-title .title-team-selection .title-composition{height:auto;min-height:0;max-height:none}.is-title .title-identity{overflow:visible}.is-title .title-hero{min-height:160px}
.survivor-overlay:not(.is-title) .survivor-shell{max-height:100%;height:100%;min-height:0}.settings-shell,.loot-shell,.corpse-panel,.chest-shell,.voice-shell,.cm-pause-card{max-height:100%;box-sizing:border-box;overscroll-behavior:contain}.cm-touch-menu-card{box-sizing:border-box;max-height:100%;overflow-y:auto}.cm-touch-menu{box-sizing:border-box}.loading{height:var(--cm-vh,100dvh);max-height:100%}.cm-chat{max-height:calc(var(--cm-vh,100dvh) - 88px)}
@media(max-width:700px){.is-title .title-shell{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));padding-bottom:max(12px,env(safe-area-inset-bottom))}.is-title .title-composition,.is-title .title-returning .title-composition,.is-title .title-team-selection .title-composition{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(100px,auto) auto}.is-title .title-copy{grid-column:1;grid-row:1}.is-title .title-hero,.is-title .title-returning .title-hero{grid-column:2;grid-row:1;height:180px;max-height:28dvh}.is-title .title-identity,.is-title .title-returning .title-identity{grid-column:1/-1;grid-row:2;min-width:0;width:100%;max-width:none}.is-title .title-hero canvas,.is-title .title-returning .title-hero canvas{left:0;width:100%;object-fit:contain}.is-title .title-returning .title-composition{grid-template-rows:minmax(100px,auto) auto}.is-title .title-returning .title-hero{grid-row:1}.is-title .support-card{flex-wrap:wrap}.is-title .title-footer{flex-wrap:wrap}}
@media(max-height:500px){.survivor-overlay.is-title .title-shell{min-height:var(--cm-vh,100dvh);padding-top:8px;padding-bottom:12px}.is-title .title-composition{min-height:min-content}.is-title .title-hero{height:210px;min-height:130px}.is-title .title-copy{min-width:0}.is-title .game-title{font-size:clamp(32px,7vw,68px)}.is-title .title-description{font-size:11px}.is-title .title-identity{align-self:start}.cm-chat{max-height:calc(var(--cm-vh,100dvh) - 72px)}}
