/* The 3D models of public/models.js (players, the creeper): boxes cut from a texture, lit like the game's blocks. Used by
   Creeper Party and the Account screen's skin preview. Sizes in GUI pixels (--u) like style.css. */
/* .part only inside a .rig: the results page (style.css) has its own .part sections, and this sheet loads there too. */
.rig, .c3d, .rig .part { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
/* style.css also styles the results page's .part (margin-top 16u): without this every body part hung 16u below its pivot,
   so the feet stood below the anchor the shadow, labels and layout are placed from. */
.rig .part { margin: 0; }
.face { position: absolute; display: block; background-repeat: no-repeat; image-rendering: pixelated; backface-visibility: hidden; filter: brightness(var(--shade, 1)); }
/* The light already in the texture (models.js bake): no filter, which would cost the face a drawing pass of its own. */
.face.lit { filter: none; }
/* The game draws a skin's outer layer (hat, jacket, sleeves) from both sides, so a crown on the hat shows all the way
   round, its far side seen through the gaps. */
.outer .face { backface-visibility: visible; }
/* The round shadow the game draws under mobs. */
.shadow { position: absolute; background: url('mc/tex/misc/shadow.png') 0 0 / 100% 100%; opacity: 0.55; image-rendering: pixelated; }
