.ai-custom{overflow:hidden}.ai-custom,.ai-custom .ai-custom-bg{height:100%;display:flex;flex-direction:column}.ai-custom .ai-custom-bg{position:absolute;left:0;top:0;width:100%;background-color:rgba(245,208,152,.75)}.ai-custom .ai-custom-bg .ai-custom-bg-window{height:55%;width:100%;background-image:url(//pic.c-ctrip.com/h5/giftcard/lipin/mobile/ai/custom/section-bg-1.png);background-repeat:no-repeat;background-size:cover;background-position:bottom}.ai-custom .ai-custom-bg .ai-custom-bg-theme-window{background-image:none}.ai-custom .ai-custom-bg .ai-custom-bg-content{flex:1;width:100%}.ai-custom .ai-custom-body{flex:1;width:100%;margin:0 auto;position:relative;padding-top:44px;box-sizing:border-box}.ai-custom .ai-custom-title{margin-top:35px;height:69px;text-align:center}.ai-custom .ai-custom-title>img{height:100%}.ai-custom [class^=ai-custom-pic-]{position:absolute;background-position:50%;background-size:contain;background-repeat:no-repeat}.ai-custom [class^=ai-custom-pic-]>img,.ai-custom [class^=ai-custom-pic-]>svg{width:100%}.ai-custom .ai-theme-pic-camera,.ai-custom .ai-theme-pic-film{position:absolute;background-position:50%;background-size:contain;background-repeat:no-repeat}.ai-custom .ai-theme-pic-camera>img,.ai-custom .ai-theme-pic-camera>svg,.ai-custom .ai-theme-pic-film>img,.ai-custom .ai-theme-pic-film>svg{width:100%}.ai-custom .ai-theme-pic-camera{right:0;bottom:24%;width:27.5%;transform:translateX(33%)}.ai-custom .ai-theme-pic-film{position:absolute;left:0;bottom:24%;width:17.3%;transform:translateX(-15%)}.ai-custom .ai-custom-body-bg{left:0;width:100%;top:408px;position:absolute}.ai-custom .ai-custom-body-bg .ai-custom-pic-camera{right:0;top:0;width:27.5%;transform:translateX(33%) translateY(-25%)}.ai-custom .ai-custom-body-bg .ai-custom-pic-film{top:0;left:0;width:17.3%;transform:translateY(-10%) translateX(-15%)}.ai-custom .ai-custom-body-bg .ai-custom-pic-pad{top:0;left:0;width:100%;transform:translateY(135%) translateX(-30%)}.ai-custom .ai-custom-note{position:relative;margin-top:20px}.ai-custom .ai-custom-note .ai-custom-pic-note{left:50%;width:58.4vw;height:102.1416vw;transform:translateY(0) translateX(-50%)}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-note-projection{content:"";z-index:-1;background-color:rgba(227,191,150,.5);position:absolute;bottom:0;left:50%;width:110%;height:13%;border-radius:1vw;transform:translateX(-50%) translateY(30%) perspective(1em) rotateX(2deg)}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-editor{position:absolute;left:0;top:0;right:0;bottom:0;padding-top:26%;padding-right:13%;padding-left:13%;margin-bottom:43%;display:flex;flex-direction:column}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-editor.ai-theme-editor{padding-top:31%;padding-left:20%;padding-right:20%;margin-bottom:77%}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-editor *{color:#b75500;line-height:27px}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-editor>p{line-height:6.9vw}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-editor>textarea{flex:1;background:transparent;border:0;scrollbar-width:none;scrollbar-color:transparent transparent;font-size:15px;height:100%}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-editor>textarea::placeholder{color:#999}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-editor>textarea.theme-textarea{font-size:12px}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-editor .ai-custom-input-number{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;font-size:14px;line-height:normal;box-sizing:border-box;position:relative}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-editor .ai-custom-input-number *{line-height:normal}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-editor .ai-custom-input-number .num{opacity:.72}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-editor .ai-custom-input-number .spliter{padding-bottom:0;display:inline-block;height:12px;margin:0 6px;width:0;font-size:0;border-left-width:1px;border-left-style:solid}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-robot{position:absolute;left:8%;bottom:5.4%;width:47px;height:43px}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-robot.ai-theme-robot{left:17%;bottom:26.4%}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-robot-tips-wrap{width:100%;position:absolute;bottom:5.4%;padding-right:10%;padding-left:10%;display:flex;justify-content:center;flex-direction:column;min-height:35px;padding-bottom:5px;box-sizing:border-box}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-robot-tips-wrap.ai-theme-robot-tips-wrap{bottom:27%;padding-right:19%}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-robot-tips-wrap.ai-theme-robot-tips-wrap .ai-custom-robot-tips-content{padding-top:5px;padding-bottom:5px}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-robot-tips-wrap.ai-theme-robot-tips-wrap .ai-custom-robot-tips-content .ai-custom-robot-tips-arrow{margin-top:0}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-robot-tips-wrap .ai-custom-robot-tips{background-color:#f8edda;margin-left:52px;border-radius:10px;min-height:16px;justify-content:center;align-items:flex-start;display:flex;position:relative;flex-direction:column}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-robot-tips-wrap .ai-custom-robot-tips-content{transform:scale(.83);transform-origin:left center;width:120%;padding-right:6px;padding-left:6px;flex-direction:row;align-items:center;justify-content:flex-start;display:flex;position:relative;box-sizing:border-box}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-robot-tips-wrap .ai-custom-robot-tips-arrow{display:block;border:10px solid transparent;border-top-color:#f8edda;transform:skewX(-150deg) rotate(-135deg);margin-left:-15px;margin-top:-9px}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-robot-tips-wrap .ai-custom-robot-text{font-size:12px;font-weight:400;line-height:16px;color:#673114}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-note-loading{position:absolute;background:rgba(0,0,0,.5);top:9.1%;left:5%;right:5%;bottom:3.2%;display:none;font-size:15px;color:#fff;text-align:center}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-note-loading.ai-theme-note-loading{top:12.9%;left:14.6%;right:14.6%;bottom:25.9%;font-size:13px;z-index:10}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-note-loading.ai-theme-note-loading .loading-text{font-size:11px}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-note-loading.ai-theme-note-loading .loading-icon{margin-top:15%!important}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-note-loading.ai-theme-note-loading .loading-text{margin:16% auto!important;font-size:11px!important;min-width:141px!important}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-note-loading .loading-warp{width:92%;margin:0 auto}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-note-loading .loading-warp .loading-icon{position:relative;margin:0 auto;width:22.38vw;height:21.58103vw;background-image:url(//pic.c-ctrip.com/h5/giftcard/lipin/mobile/ai/custom/loading.png);background-size:cover;background-position:50% 50%;background-repeat:no-repeat}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-note-loading .loading-warp .loading-icon .loading-icon-star{position:absolute;left:0;top:0;width:22.02%;height:24.07%;transform:translate(-50%,-50%);background-image:url(//pic.c-ctrip.com/h5/giftcard/lipin/mobile/ai/custom/loading-star.png);background-size:cover;background-position:50% 50%;background-repeat:no-repeat;animation:ai-custom-animation-loading-star 1.5s ease-in-out infinite}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-note-loading .loading-warp .loading-animation{margin:7% auto 0;display:flex;flex-direction:row;align-items:center;justify-content:center;max-width:186px}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-note-loading .loading-warp .loading-animation span{font-weight:700;display:inline-block;line-height:24px;animation:ai-custom-animation-loading-text 1.5s ease-in-out infinite;animation-delay:calc(0.1s*var(--i))}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-note-loading .loading-warp .loading-animation span.loading-dot{width:16px;text-align:left}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-note-loading .loading-warp .loading-animation>p{flex:1;overflow:hidden;height:24px;line-height:28px}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-note-loading .loading-warp .loading-animation>p+p{flex:unset}@keyframes ai-custom-animation-loading-text{0%{transform:translateY(0)}20%{transform:translateY(-10%)}40%,to{transform:translateY(0)}}@keyframes ai-custom-animation-loading-star{0%{transform:translate(-50%,-50%)}20%{transform:translate(-50%,-100%)}40%,to{transform:translate(-50%,-50%)}}.ai-custom .ai-custom-note .ai-custom-pic-note .ai-custom-note-loading .loading-warp .loading-text{font-size:12px;margin:25% auto;font-weight:700;width:80%}.ai-custom .ai-custom-note .ai-custom-pic-note.loading .ai-custom-editor .ai-custom-input-number,.ai-custom .ai-custom-note .ai-custom-pic-note.loading .ai-custom-editor>textarea,.ai-custom .ai-custom-note .ai-custom-pic-note.loading .ai-custom-robot,.ai-custom .ai-custom-note .ai-custom-pic-note.loading .ai-custom-robot-tips-wrap{filter:blur(5px)}.ai-custom .ai-custom-note .ai-custom-pic-note.loading .ai-custom-note-loading{display:flex;flex-direction:column;justify-content:center;align-items:center}.ai-custom .ai-custom-pic-history,.ai-custom .ai-custom-pic-order,.ai-custom .ai-custom-pic-robot{width:60px}.ai-custom .ai-custom-pic-history .title,.ai-custom .ai-custom-pic-order .title,.ai-custom .ai-custom-pic-robot .title{background-color:#feffff;height:14px;line-height:14px;text-align:center;border-radius:10px;position:relative;left:50%;transform:translateX(-50%) translateY(-18px)}.ai-custom .ai-custom-pic-history .title>em,.ai-custom .ai-custom-pic-order .title>em,.ai-custom .ai-custom-pic-robot .title>em{font-size:12px;color:#6a2020;transform:scale(.75);transform-origin:center center;display:inline-block}.ai-custom .ai-theme-pic-history-wrap{width:60px}.ai-custom .ai-theme-pic-history,.ai-custom .ai-theme-pic-order{width:60px;margin-top:20px}.ai-custom .ai-theme-pic-history .title,.ai-custom .ai-theme-pic-order .title{background-color:#feffff;height:14px;line-height:14px;text-align:center;border-radius:10px;position:relative;left:50%;transform:translateX(-50%) translateY(-18px)}.ai-custom .ai-theme-pic-history .title>em,.ai-custom .ai-theme-pic-order .title>em{font-size:12px;color:#6a2020;transform:scale(.75);transform-origin:center center;display:inline-block}.ai-custom .ai-custom-pic-order{right:2%;top:24px}.ai-custom .ai-custom-pic-history{right:2%;top:94px}.ai-custom .ai-custom-pic-robot{left:4%;top:94px;width:44px}.ai-custom .ai-scroller{overflow:hidden;overflow-x:auto;padding-bottom:30px}.ai-custom .ai-scroller .ai-scroller-body{padding:0 8px 0 16px;box-sizing:border-box}.ai-custom .ai-scroller .ai-scroller-body .ai-scroller-item{width:93px;height:121px;margin-right:8px;display:inline-flex;flex-direction:column;align-items:center;justify-content:flex-end}.ai-custom .ai-scroller .ai-scroller-body .ai-scroller-item>img{width:80%}.ai-custom .ai-scroller .ai-scroller-body .ai-scroller-item .title{font-size:13px;color:#333;font-weight:400;margin-top:12px}.ai-custom .ai-scroller .ai-scroller-body .ai-scroller-item.current{background:linear-gradient(-180deg,rgba(255,138,2,.27),rgba(255,190,4,0));border-radius:14px 14px 0 0}.ai-custom .ai-scroller .ai-scroller-body .ai-scroller-item.current .title{font-weight:700}.ai-custom .ai-custom-footer{position:relative;bottom:0;left:0;width:100%;box-sizing:border-box}.ai-custom .ai-custom-footer .footer-menu{display:flex;justify-content:space-between;align-items:center;padding:0 4.5px}.ai-custom .ai-custom-footer .ai-custom-footer-title{display:flex;justify-content:center;height:44px;align-items:center;flex-direction:row;padding-left:16px;box-sizing:border-box;color:#673114;font-weight:700;font-size:16px;width:100%;min-width:210px;margin:16px auto 0}.ai-custom .ai-custom-footer .ai-custom-footer-title .ai-title{text-wrap:nowrap;white-space:nowrap}.ai-custom .ai-custom-footer .ai-custom-footer-title .ai-icon-arrow{width:44px;height:44px;position:relative}.ai-custom .ai-custom-footer .ai-custom-footer-title .ai-icon-arrow:before{position:absolute;content:"";border-color:#673114;border-style:solid;border-width:0 0 1px 1px;width:20%;height:20%;transform:rotate(-45deg);transform-origin:25% 75%;top:30.5%;right:40%}.ai-custom .ai-custom-footer .ai-custom-btn-wrap{margin-bottom:16px;margin-top:12px}.ai-custom .ai-custom-footer .ai-custom-btn-generator{position:relative;text-align:center;display:block;width:223.5px;height:50px;margin:0 auto;background-repeat:repeat;background-size:cover;background-position:50%;background-image:url(//pic.c-ctrip.com/h5/giftcard/lipin/mobile/ai/custom/button-generate.png)}.ai-custom .ai-custom-footer .ai-custom-btn-generator>img{width:100%}.ai-custom .ai-custom-footer .ai-custom-btn-generator>span{font-size:22px;font-weight:700;color:#fff;position:absolute;height:100%;width:100%;text-align:center;left:0;top:0;display:inline-flex;align-items:center;justify-content:center;transform:translateY(-7%);text-shadow:0 2px 4px rgba(173,61,0,.5)}.ai-custom .ai-custom-footer .ai-custom-btn-generator .ai-custom-pic-pointer{width:25%;position:absolute;right:0;bottom:0;transform:translateX(40%) translateY(20%)}.ai-custom .ai-custom-footer .ai-custom-btn-generator .ai-custom-pic-pointer.ai-theme-pic-pointer{right:25px;bottom:-12px}.ai-custom .ai-custom-footer .ai-custom-btn-generator .ai-custom-pic-pointer>img{width:100%}.ai-custom .ai-custom-footer .ai-custom-btn-generator.disabled{background-image:url(//pic.c-ctrip.com/h5/giftcard/lipin/mobile/ai/custom/button-generate-disable.png)}.ai-custom .ai-custom-footer .ai-custom-btn-generator.disabled .ai-custom-pic-pointer{display:none}.ai-custom .ai-custom-footer .ai-custom-btn-generator.theme{height:72px;width:219.5px;display:flex;align-items:flex-end}.ai-custom .ai-custom-footer .ai-custom-btn-generator.theme .btn-text{margin-left:60.5px;line-height:54px;height:54px;color:#fff;font-size:22px}.ai-custom .ai-custom-footer .ai-custom-footer-tips{font-size:12px;line-height:15px;color:#b75500;font-weight:400;transform:scale(.833);transform-origin:center top;padding:0 16px 16px;text-align:center;margin:0 auto}.ai-custom .ai-custom-footer .ai-custom-footer-tips>a{color:#b75500;font-weight:700;text-decoration:underline}.ai-custom .ai-custom-footer .ai-custom-footer-tips #agreeRule{padding-top:5px;padding-bottom:10px}.ai-custom .ai-custom-footer .ai-custom-footer-tips .n-icon-checkbox{margin-right:5px;position:relative;bottom:2px;background-color:#fff}.ai-custom .ai-custom-footer .ai-custom-footer-tips .n-icon-checked{border-color:#ff7600!important;background-color:#ff7600!important}.ai-custom .n-cm-mask{background:rgba(0,0,0,.5)}.ai-custom .history-pop .success-content,.ai-custom .success-pop .success-content{position:relative;margin:16px auto 0;width:90%;height:46.44vw;background-position:50% 50%;background-size:cover;background-repeat:no-repeat;border-radius:6px;overflow:hidden}.ai-custom .history-pop .success-content>img,.ai-custom .success-pop .success-content>img{width:100%}.ai-custom .history-pop .collect-icon,.ai-custom .success-pop .collect-icon{position:absolute;right:2.93vw;top:2.93vw;width:7.5vw;height:7.5vw;background:#fff;border-radius:50%;display:flex;justify-content:center;align-items:center}.ai-custom .history-pop .collect-icon>svg,.ai-custom .success-pop .collect-icon>svg{width:57%}.ai-custom .history-pop .collect-success,.ai-custom .success-pop .collect-success{position:absolute;right:-1.5vw;top:100%;transform:translateY(8px)}.ai-custom .history-pop .collect-success .tips,.ai-custom .success-pop .collect-success .tips{padding:2.5px 6px;background:rgba(0,0,0,.7);color:#fff;font-size:12px;line-height:15px;font-weight:400;border-radius:4px;white-space:nowrap}.ai-custom .history-pop .tips-icon,.ai-custom .success-pop .tips-icon{position:absolute;top:100%;right:50%;transform:translateX(50%) translateY(-5.5px);border:7px solid transparent;border-bottom-color:rgba(0,0,0,.7);width:0;height:0}.ai-custom .history-pop .pop-button-box,.ai-custom .success-pop .pop-button-box{flex-direction:column;display:flex;position:relative;margin:16px auto;width:90%}.ai-custom .history-pop .pop-button-box .pop-button-item,.ai-custom .success-pop .pop-button-box .pop-button-item{flex:1;display:flex}.ai-custom .history-pop .pop-button-box .pop-button-item .btn,.ai-custom .success-pop .pop-button-box .pop-button-item .btn{margin:0;display:flex;flex:1;flex-direction:row;align-items:center;justify-content:center;height:44px;border:1px solid transparent;border-radius:6px;box-sizing:border-box;font-size:18px;font-weight:700}.ai-custom .history-pop .pop-button-box .pop-button-item .btn.btn-primary,.ai-custom .success-pop .pop-button-box .pop-button-item .btn.btn-primary{background-color:#2346ff;color:#fff}.ai-custom .history-pop .pop-button-box .pop-button-item .btn.btn-default,.ai-custom .success-pop .pop-button-box .pop-button-item .btn.btn-default{border-color:#2346ff;color:#2346ff}.ai-custom .history-pop .pop-button-box .pop-button-item+.pop-button-item,.ai-custom .success-pop .pop-button-box .pop-button-item+.pop-button-item{margin-top:8px}.ai-custom .bottom-line:after{content:"";position:absolute;width:200%;bottom:0;left:0;height:0;font-size:0;border-bottom:1px solid #dadfe6;transform:scale(.5);transform-origin:left bottom}.ai-custom .history-pop{position:absolute;bottom:0;width:100%;border-top-left-radius:12px;border-top-right-radius:12px;background-color:#fff}.ai-custom .history-pop .n-cm-hd{height:56px;padding:0 44px;display:flex;align-items:center;justify-content:center}.ai-custom .history-pop .n-cm-hd .n-pop-close{top:0;right:unset;left:0;height:56px}.ai-custom .history-pop .success-content{margin:40px auto 12px;height:58.05vw}.ai-custom .history-pop .ai-tips{font-size:12px;font-weight:400;line-height:18px;color:rgba(15,41,77,.7)}.ai-custom .history-pop .ai-tips.single{width:90%;margin:0 auto 28px}.ai-custom .history-pop .ai-tips.list{margin-left:3.3vw;margin-top:8px}.ai-custom .history-pop .pop-button-box{flex-direction:row}.ai-custom .history-pop .pop-button-box .pop-button-item+.pop-button-item{margin-top:0;margin-left:16px}.ai-custom .history-pop .history-list-warp{min-height:30vh;max-height:65vh;overflow:hidden;overflow-y:auto;padding-bottom:2.1vw}.ai-custom .history-pop .history-list-warp .history-list{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;margin:0 3.3vw;padding-top:14px;gap:2.1vw}.ai-custom .history-pop .history-list-warp .history-list .history-list-item{width:calc(50% - 1.05vw);height:29.63775vw;border-radius:6px;overflow:hidden;box-sizing:border-box;border:0;position:relative}.ai-custom .history-pop .history-list-warp .history-list .history-list-item>img{width:100%}.ai-custom .history-pop .history-list-warp .history-list .collect-icon{right:2.3vw;top:2.3vw;width:6vw;height:6vw}.ai-custom .success-pop{width:80%;background:#fff;border-radius:8px;position:absolute;left:50%;top:50%;transform:translateY(-50%) translateX(-50%)}.ai-custom .success-pop .n-pop-close{width:24px;height:24px;position:absolute;right:0;top:0;border:2px solid #fff;border-radius:50%;box-sizing:border-box;transform:translateX(110%) translateY(-110%)}.ai-custom .success-pop .n-pop-close:after,.ai-custom .success-pop .n-pop-close:before{height:15px;background:#fff}.ai-custom .success-pop .success-tips{margin:10px auto 0;width:90%;font-size:12px;font-weight:400;line-height:18px;color:rgba(15,41,77,.7)}.iphx .n-hd-grayLightest.n-trans-black.pt20{padding-top:0}.iphx .pt20~.ai-custom{padding-bottom:0}.iphx .pt20~.ai-custom .ai-custom-body{padding-top:88px}.iphx .ai-custom-footer,.iphx .history-pop{padding-bottom:34px}.cui-toast .cui-layer-padding{width:230px!important}.ai-tpl{background-color:#eef1f6;min-height:calc(100% - 44px)}.ai-tpl .image-bg{background-size:contain;background-repeat:no-repeat;background-position:50% 50%}.ai-tpl .banner{position:absolute;top:0;left:0;width:100%;height:31.4vw;background:linear-gradient(180deg,#fff,#edf6ff 48%,#eef1f6)}.ai-tpl .banner .dolphin{background-image:url(//pic.c-ctrip.com/h5/giftcard/lipin/mobile/ai/tpl/tpl-banner-dolphin.png);width:25.2vw;height:22.4vw;position:absolute;right:3.2vw;bottom:-2.93333vw}.ai-tpl .title-wrap{padding:5.33vw 3.2vw;position:relative}.ai-tpl .title-wrap .main-title{background-image:url(//pic.c-ctrip.com/h5/giftcard/lipin/mobile/ai/tpl/tpl-title.png);width:24.13333vw;height:7.2vw}.ai-tpl .title-wrap .sub-title{color:#111;font-size:3.2vw;line-height:4vw;margin-top:1.33333vw}.ai-tpl .container{margin:3.2vw;padding:4.3vw;border-radius:2.4vw;background:#fff;border:1px solid hsla(0,0%,59.2%,.05);position:relative}.ai-tpl .container:first-child{margin-top:0}.ai-tpl .card{height:54.93333vw;width:85vw;border-radius:1.86667vw;overflow:hidden;position:relative}.ai-tpl .card img{width:100%}.ai-tpl .card .generate-loading{display:none;position:absolute;height:100%;width:100%;left:0;top:0;background-color:hsla(0,0%,100%,.6);flex-direction:column;align-items:center;justify-content:center}.ai-tpl .card .generate-loading .icon-loading{width:29.33333vw;height:16.13333vw;background-image:url(//pic.c-ctrip.com/h5/giftcard/lipin/mobile/ai/tpl/tpl-loading.gif)}.ai-tpl .card .generate-loading .title{width:25.33333vw;height:5.244vw;background-image:url(//pic.c-ctrip.com/h5/giftcard/lipin/mobile/ai/tpl/tpl-loading-title.png)}.ai-tpl .card .generate-loading .txt{color:#8497b0;padding-top:1.6vw}.ai-tpl .card .card-collect{display:none;position:absolute;left:5%;top:7%;padding:.8vw 1.86667vw;background-color:#111;border-radius:2.4vw;flex-direction:row;align-items:center;gap:1.33333vw}.ai-tpl .card .card-collect svg{width:2.93333vw;height:2.93333vw}.ai-tpl .card .card-collect .txt{font-size:2.8vw;color:#fff}.ai-tpl .tool{display:flex;align-items:baseline;justify-content:space-between;margin-top:3.2vw}.ai-tpl .tool .tool-title{font-size:4.26667vw;font-weight:700}.ai-tpl .tool .tool-button{background:#edf6ff;border:1px solid #0565e2;border-radius:1.6vw;color:#0565e2;font-size:3.2vw;padding:1.6vw 3.46667vw}.ai-tpl footer{height:20.8vw}.ai-tpl footer .fix-footer{position:fixed;bottom:0;left:0;right:0;z-index:950;background-color:#fff;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:3.2vw 0;box-shadow:0 -8px 24px 0 rgba(0,0,0,.05)}.ai-tpl footer .fix-footer .fix-footer-item{flex:1;-webkit-flex:1;text-align:center}.ai-tpl footer .fix-footer .fix-footer-item .icon{width:6.93333vw;height:6.93333vw;margin:0 auto 1.6vw}.ai-tpl footer .fix-footer .fix-footer-item .icon svg{height:100%;width:100%}.ai-tpl footer .fix-footer .fix-footer-item .txt{color:#333;font-size:2.93333vw}.ai-tpl footer .fix-footer .fix-footer-item.current .txt{color:#006ff6;font-weight:700}.ai-tpl footer .fix-footer .split-line{border-left:1px solid #d8d8d8;height:7.73333vw;width:0;font-size:0}.ai-tpl .card-wrap{display:none}.ai-tpl .card-wrap .card-background{background-color:#eef1f6;position:fixed;z-index:900;opacity:0;top:0;left:0;right:0;bottom:0;transition:opacity .5s linear}.ai-tpl .card-wrap .card-container{position:fixed;z-index:900;transform-style:preserve-3d;transition:left .5s cubic-bezier(.6,0,.4,1),top .5s cubic-bezier(.6,0,.4,1),width .5s,height .5s;height:54.93333vw;width:85vw}.ai-tpl .card-wrap .card-face{position:relative;transition:transform .6s cubic-bezier(.4,0,.3,1);transform-style:preserve-3d}.ai-tpl .card-wrap .card-face.flipped{transform:rotateY(180deg);transform-origin:center center}.ai-tpl .card-wrap .card-back,.ai-tpl .card-wrap .card-front{position:absolute;backface-visibility:hidden}.ai-tpl .card-wrap .card-front .card-editor-btn-wrap{display:none;margin-top:10.66667vw}.ai-tpl .card-wrap .card-front .card-editor-btn-wrap.animate{transition:all .3s linear;opacity:0}.ai-tpl .card-wrap .card-front.generator .card-collect,.ai-tpl .card-wrap .card-front.generator .card-editor-btn-wrap{display:flex}.ai-tpl .card-wrap .card-front.loading .generate-loading{display:flex;background-image:url(//pic.c-ctrip.com/h5/giftcard/lipin/mobile/ai/tpl/tpl-loading-bg.png);background-position:50%;background-repeat:no-repeat;background-size:cover}.ai-tpl .card-wrap .card-back{transform:rotateY(180deg)}.ai-tpl .card-wrap.open{display:block;z-index:900}.ai-tpl .card-wrap.open .card-container{width:91.4vw;height:58.8616vw;top:calc(50vh - 29.4308vw)!important;left:4.3vw!important}.ai-tpl .card-wrap.open .card-background{opacity:1}.ai-tpl .card-wrap.open .card,.ai-tpl .card-wrap.open .card-back,.ai-tpl .card-wrap.open .card-front{width:91.4vw;height:58.8616vw}.ai-tpl .card-wrap.open .card-editor{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.ai-tpl.close .card-background{opacity:0}.ai-tpl .card-editor{width:100%;box-shadow:0 -8px 24px 0 rgba(0,0,0,.05);min-height:58.8616vw;border-radius:2.4vw;overflow:hidden}.ai-tpl .card-editor .card-editor-head{height:14.8vw;background:linear-gradient(180deg,#edf4fd,#e3eefd);justify-content:space-between;padding:3.2vw;box-sizing:border-box}.ai-tpl .card-editor .card-editor-head,.ai-tpl .card-editor .card-editor-title-wrap{display:flex;align-items:center;flex-direction:row}.ai-tpl .card-editor .card-editor-title{background-image:url(//pic.c-ctrip.com/h5/giftcard/lipin/mobile/ai/tpl/tpl-card-title.png);width:21.73333vw;height:8.4vw}.ai-tpl .card-editor .card-editor-subtitle{color:#c3d0e1;font-size:2.53333vw;opacity:.5;transform:translateY(26%)}.ai-tpl .card-editor .card-editor-preview{background-color:#f5f9ff;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:2.66667vw;padding:1.06667vw 2.13333vw;border-radius:26.66667vw}.ai-tpl .card-editor .card-editor-preview svg{width:3.46667vw;height:3.46667vw}.ai-tpl .card-editor .card-editor-preview .txt{color:#051a37;font-size:2.93333vw}.ai-tpl .card-editor .card-editor-body{background-color:#fff;padding:3.2vw}.ai-tpl .card-editor .card-editor-scroller{overflow:hidden;position:relative;max-height:74.66667vw}.ai-tpl .card-editor .txt-content{line-height:9.33333vw;font-size:4vw;color:#000;text-align:justify;position:relative;padding-bottom:2vw}.ai-tpl .card-editor .txt-content span{background-color:#ebf4ff;border:1px solid #93bff5;border-radius:1.06667vw;padding:1.86667vw 2.13333vw}.ai-tpl .card-editor .txt-content span svg{width:3.73333vw;height:3.73333vw;margin-bottom:-.53333vw;margin-left:1.06667vw}.ai-tpl .card-editor .card-editor-cover,.ai-tpl .card-editor .card-editor-cursor{position:absolute;left:0;bottom:0;width:100%}.ai-tpl .card-editor .card-editor-cover{background:linear-gradient(180deg,hsla(0,0%,100%,.1),#fff);pointer-events:none;height:33.33333vw}.ai-tpl .card-editor .card-editor-cursor{height:4.26667vw}.ai-tpl .card-editor .card-editor-cursor:after,.ai-tpl .card-editor .card-editor-cursor:before{content:"";position:absolute;width:2.13333vw;height:2.13333vw;left:50%;border-left-width:.26667vw;border-bottom-width:.26667vw;border-left-style:solid;border-bottom-style:solid;transform:translateX(-50%) rotate(-45deg)}.ai-tpl .card-editor .card-editor-cursor:before{border-left-color:rgba(0,111,246,.62);border-bottom-color:rgba(0,111,246,.62);top:-1.06667vw}.ai-tpl .card-editor .card-editor-cursor:after{border-left-color:#006ff6;border-bottom-color:#006ff6;bottom:1.06667vw}.ai-tpl .card-editor-btn-wrap{padding:4.26667vw 0 1.06667vw;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:2.66667vw}.ai-tpl .card-editor-btn-wrap .card-editor-btn{flex:1;-webkit-flex:1;display:flex;align-items:center;justify-content:center;border-radius:1.06667vw;box-sizing:border-box;border:1px solid #006ff6;color:#006ff6;font-size:4vw;min-height:9.6vw;line-height:5.06667vw;background:#fff}.ai-tpl .card-editor-btn-wrap .card-editor-btn.primary{background-color:#006ff6;color:#fff}.ai-tpl .card-front .card-editor{box-shadow:none}.ai-tpl .card-textarea-wrap{display:none;position:fixed;z-index:3000;transition:all .5s ease-in-out;left:0;right:0;top:0;bottom:0;background-color:transparent}.ai-tpl .card-textarea-wrap .card-textarea-content{background-color:#fff;height:calc(97.33333vh - 44px);transition:all .5s ease-in-out;position:absolute;left:0;right:0;bottom:0;transform:translateY(100%);border-radius:2.13333vw 2.13333vw 0 0;overflow:hidden}.ai-tpl .card-textarea-wrap .text-area-head{height:11.73333vw;padding:0 11.73333vw;position:relative}.ai-tpl .card-textarea-wrap .text-area-head .textarea-title{color:#111;line-height:11.73333vw;font-weight:700;text-align:center}.ai-tpl .card-textarea-wrap .text-area-head .textarea-close{width:11.73333vw;height:11.73333vw;position:absolute;left:0;top:0}.ai-tpl .card-textarea-wrap .text-area-head .textarea-close i{position:absolute;width:100%;height:100%}.ai-tpl .card-textarea-wrap .text-area-head .textarea-close i:after,.ai-tpl .card-textarea-wrap .text-area-head .textarea-close i:before{width:40%;height:.26667vw;background-color:#000;content:"";position:absolute;left:50%;top:50%;transform-origin:left center}.ai-tpl .card-textarea-wrap .text-area-head .textarea-close i:before{transform:rotate(45deg) translate(-50%,-50%)}.ai-tpl .card-textarea-wrap .text-area-head .textarea-close i:after{transform:rotate(-45deg) translate(-50%,-50%)}.ai-tpl .card-textarea-wrap .text-area-body{margin:3.2vw;background-color:#f8fafd;padding:3.2vw;height:53.33333vw;border-radius:1.06667vw}.ai-tpl .card-textarea-wrap .text-area-body .txt-content{height:100%;width:100%}.ai-tpl .card-textarea-wrap .text-area-body textarea{color:#006ff6;font-size:4vw;line-height:2;background:transparent;border:0;width:100%;height:100%;font-weight:700}.ai-tpl .card-textarea-wrap .text-area-footer{padding:0 3.2vw;display:flex;justify-content:space-between;align-items:center}.ai-tpl .card-textarea-wrap .text-area-tips{color:#979797;font-size:4vw}.ai-tpl .card-textarea-wrap .card-editor-btn-wrap{padding:0;min-width:24vw}.ai-tpl .card-textarea-wrap.open{display:flex;background-color:rgba(0,0,0,.5)}.ai-tpl .card-textarea-wrap.open .card-textarea-content{transform:translateY(0)}.ai-tpl .collect-wrap{position:fixed;right:2.66667vw;bottom:27.73333vw;display:flex;flex-direction:column;justify-content:center;align-items:flex-end;gap:4.26667vw}.ai-tpl .collect-wrap .collect-item{width:10.66667vw;height:10.66667vw;background-color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4.9px 16.33px 1.63px rgba(0,0,0,.12)}.ai-tpl .collect-wrap .collect-item svg{width:50%;height:50%}