/* v1003: perspective frames own facing; translated hip/knee frames own gait.
   No limb rotates around the SVG viewport or independently from its clothing. */
svg[data-gg-unicorn-v177]{overflow:visible;shape-rendering:geometricPrecision}
svg[data-gg-unicorn-v177] :is(.gg-unicorn-rig-v177,.gg-unicorn-view-v177,.u-reflect-v1003,.u-side-copy-v1003,[data-forelock-fit-v1003]){transform-origin:0 0!important;transform-box:view-box!important;translate:none!important;rotate:none!important;scale:none!important;animation:none!important}
svg[data-gg-unicorn-v177] .gg-unicorn-rig-v177{transform:none!important}
svg[data-gg-unicorn-v177] .gg-unicorn-view-v177{display:none}
body.avatar-page svg[data-gg-unicorn-v177] .gg-unicorn-studio-v177{display:inline}
body.avatar-room-page svg[data-gg-unicorn-v177] .gg-unicorn-front-v177{display:inline}
body:not(.avatar-page):not(.avatar-room-page):not(.gg-island-page-v682) svg[data-gg-unicorn-v177] .gg-unicorn-front-v177{display:inline}
body.gg-island-page-v682 :is(.gg-island-avatar-v682,.ggi-unicorn-bot-v176)[data-direction="front"] svg[data-gg-unicorn-v177] .gg-unicorn-front-v177{display:inline}
body.gg-island-page-v682 :is(.gg-island-avatar-v682,.ggi-unicorn-bot-v176)[data-direction="back"] svg[data-gg-unicorn-v177] .gg-unicorn-back-v177{display:inline}
body.gg-island-page-v682 :is(.gg-island-avatar-v682,.ggi-unicorn-bot-v176)[data-direction="left"] svg[data-gg-unicorn-v177] .gg-unicorn-side-v177{display:inline}
body.gg-island-page-v682 :is(.gg-island-avatar-v682,.ggi-unicorn-bot-v176)[data-direction="right"] svg[data-gg-unicorn-v177] .gg-unicorn-right-v1003{display:inline}
/* Double mirroring/squeezing in the legacy HTML direction wrapper caused right
   views to leave the frame. Facing now occurs only within the authored rig. */
body.gg-island-page-v682 .gg-island-avatar-v682:has(svg[data-perspective-v1003]) :is(.gg-island-avatar-direction-v685,.gg-island-avatar-art-v682){transform:none!important;scale:none!important;rotate:none!important;translate:none!important;filter:none!important}
body.gg-island-page-v682 .gg-island-avatar-v682:has(svg[data-perspective-v1003]) .gg-island-avatar-walk-v685{animation:none!important;transform:none!important}
body.gg-island-page-v682 .gg-island-avatar-v682:has(svg[data-gg-unicorn-v177]){width:166px!important;height:206px!important;min-width:166px!important;min-height:206px!important;max-width:166px!important;max-height:206px!important;transform-origin:50% 88%!important}
body.gg-island-page-v682 .gg-island-avatar-v682:has(svg[data-gg-unicorn-v177]) :is(.gg-island-avatar-direction-v685,.gg-island-avatar-walk-v685,.gg-island-avatar-art-v682){width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important}
body.gg-island-page-v682 .gg-island-avatar-v682:has(svg[data-gg-unicorn-v177]) :is(.ggi-avatar-hands-overlay-v705,#ggIslandHandsOverlayV705,.ggi-island-hands-v687,.ggi-island-feet-v687){display:none!important;visibility:hidden!important}
svg[data-gg-unicorn-v177] :is(#ggFloatingHandsV515,[id^="ggGlobalHands"],[id*="HandsLayer"],#ggNativeHands,#globalHandsLayer,#handLayer,#handsLayer,#ggAngryHandsV598,#ggBoxingHandsV606,#ggCrabHandsV597,#ggV566FeetLayer,#ggGremlinConnectedArmsV171,#ggGremlinConnectedLegsV171){display:none!important;visibility:hidden!important;opacity:0!important}
body[data-avatar-character="unicorn"] svg[data-gg-unicorn-v177] :is(#face,#earLayer,#eyesWhite,#eyes,#eyePupilsV782,#eyeHighlightsV782,#brows,#nose,#lips,#beakAccessory,#facialHair,#earAccessory,#extraAccessory,#extraAccessory2,#plushFurLayerV511,#ggHairV326Rear,#ggHairV326Mid,#ggHairV326Front,#hairLayer,#backHairLayer){display:none!important;visibility:hidden!important}
svg[data-gg-unicorn-v177] :is(.gg-u-body-v177,.gg-u-neck-v177,.gg-u-head-v177,.gg-u-joint-leg-v1003 path,.gg-u-outfit-v177 path){paint-order:stroke fill;stroke-linejoin:round;stroke-linecap:round}
svg[data-gg-unicorn-v177] :is(.gg-u-joint-leg-v1003,.gg-u-joint-leg-v1003 [transform],.gg-u-joint-leg-v1003 [data-limb-owned-v1003]){transform-box:view-box!important;transform-origin:0px 0px!important;translate:none!important;rotate:none!important;scale:none!important;animation:none!important}
svg[data-gg-unicorn-v177] :is(.u-hip-v1003,.u-knee-v1003){transform-box:view-box!important;transform-origin:0px 0px!important;translate:none!important;rotate:none!important;scale:none!important;animation:none;transform:rotate(0deg)}
/* All animation is inside the static translated attachment. Neither hip nor
   knee ever translates. The hoop/cuff/bone/hoof is a descendant of that knee. */
:is(.gg-island-avatar-v682.walking,.ggi-unicorn-bot-v176.walking,.j-avatar[data-action="walk"],.gg-avatar-qa-action-walk) svg[data-gg-unicorn-v177] .u-hip-v1003{animation:uHipV1003 .8s ease-in-out infinite!important;animation-delay:var(--u-phase,0s)!important}
:is(.gg-island-avatar-v682.walking,.ggi-unicorn-bot-v176.walking,.j-avatar[data-action="walk"],.gg-avatar-qa-action-walk) svg[data-gg-unicorn-v177] .u-knee-v1003{animation:uKneeV1003 .8s ease-in-out infinite!important;animation-delay:var(--u-phase,0s)!important}
/* Axial strides are foreshortened, not lateral side-view pendulums. */
:is(.gg-island-avatar-v682.walking,.ggi-unicorn-bot-v176.walking,.j-avatar[data-action="walk"]) svg[data-gg-unicorn-v177] :is(.gg-unicorn-front-v177,.gg-unicorn-back-v177) .u-hip-v1003{animation-name:uAxialHipV1003!important}
:is(.gg-island-avatar-v682.walking,.ggi-unicorn-bot-v176.walking,.j-avatar[data-action="walk"]) svg[data-gg-unicorn-v177] :is(.gg-unicorn-front-v177,.gg-unicorn-back-v177) .u-knee-v1003{animation-name:uAxialKneeV1003!important}
@keyframes uHipV1003{0%,50%,100%{transform:rotate(0deg)}25%{transform:rotate(9deg)}75%{transform:rotate(-9deg)}}
@keyframes uKneeV1003{0%,50%,100%{transform:rotate(0deg)}75%{transform:rotate(17deg)}}
@keyframes uAxialHipV1003{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.95)}}
@keyframes uAxialKneeV1003{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.94)}}
svg[data-gg-unicorn-v177] .gg-u-eye-v177{transform-box:view-box;transform-origin:0 0}
svg[data-gg-unicorn-v177] .gg-u-eye-art-v180{transform-box:fill-box;transform-origin:50% 60%}
svg[data-gg-unicorn-v177] .gg-u-ear-v177{transform-origin:0 0;animation:none}
svg[data-gg-unicorn-v177] .gg-u-tail-v177{transform-box:view-box!important;transform-origin:0px 0px!important;animation:none;filter:drop-shadow(1px 1px 0 #21192330)}
svg[data-gg-unicorn-v177] :is(.gg-u-mane-v177,.gg-u-mane-front-v183,.gg-u-wing-v177,.gg-u-wing-left-v177,.gg-u-wing-right-v177){transform-box:view-box;transform-origin:0 0;animation:none;translate:none;rotate:none;scale:none}
svg[data-gg-unicorn-v177] .gg-u-wing-front-v988{pointer-events:none;opacity:1!important}
svg[data-gg-unicorn-v177] :is(.gg-u-eye-socket-v183,.gg-u-muzzle-v177){display:none!important}
@media(max-width:560px){body[data-avatar-character="unicorn"] #ggV515PrimaryNav{grid-template-columns:repeat(7,76px);overflow-x:auto;scroll-snap-type:x proximity}}
@media(prefers-reduced-motion:reduce){svg[data-gg-unicorn-v177] :is(.u-hip-v1003,.u-knee-v1003){animation:none!important;transform:none!important}}
body.j-low-motion-v1000 svg[data-gg-unicorn-v177] :is(.u-hip-v1003,.u-knee-v1003){animation:none!important;transform:none!important}
body[data-avatar-character="unicorn"] #ggV515PrimaryNav [data-v515-group="hands"]{display:none!important}
body:not([data-avatar-character="unicorn"]) #ggV515PrimaryNav [data-v515-group="tail"]{display:none!important}
body[data-avatar-character="unicorn"] #ggV515PrimaryNav [data-v566-feet] span{font-size:0}
body[data-avatar-character="unicorn"] #ggV515PrimaryNav [data-v566-feet] span::after{content:'Hooves';font-size:12px}
body[data-avatar-character="unicorn"] #ggV515PrimaryNav{grid-template-columns:repeat(6,minmax(62px,1fr))}
body[data-avatar-character="unicorn"] #ggV515SubNav [data-v515-category="face"],
body[data-avatar-character="unicorn"] #ggV515SubNav [data-v515-category="head"],
body[data-avatar-character="unicorn"] #ggV515SubNav [data-v515-category="beard"],
body[data-avatar-character="unicorn"] #ggV515SubNav [data-v515-category="beak"]{display:none!important}


/* Equipment artwork fills its documented handle coordinate frame. */
body.gg-island-page-v682 [data-held-grip-v1005]>:is(img,svg){width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain;transform:none!important}

/* Recenter the enlarged visual at its ground anchor rather than enlarging physics. */
body.gg-island-page-v682 .gg-island-avatar-v682:has(svg[data-gg-unicorn-v177]) .gg-island-avatar-shadow-v682{bottom:19px!important;height:18px!important;left:22%!important;right:22%!important}

/* v1006: limb edges only; the join is filled rather than circled by a horizontal seam. */
svg[data-gg-unicorn-v177] [data-leg-surface-v1006],svg[data-gg-unicorn-v177] [data-knee-overlap-v1006]{stroke:none!important}
svg[data-gg-unicorn-v177] .gg-u-horn-pair-v1006{transform-box:view-box;transform-origin:0 0;pointer-events:none}
svg[data-gg-unicorn-v177] .u-hip-v1003,svg[data-gg-unicorn-v177] .u-knee-v1003{will-change:transform}
@keyframes uHipV1003{0%,50%,100%{transform:rotate(0deg)}25%{transform:rotate(7deg)}75%{transform:rotate(-7deg)}}
@keyframes uKneeV1003{0%,35%,50%,100%{transform:rotate(0deg)}70%{transform:rotate(13deg)}85%{transform:rotate(7deg)}}
