* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-family: -apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Segoe UI,Arial,Roboto,PingFang SC,miui,Hiragino Sans GB,Microsoft Yahei,sans-serif;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

.app {
    position: relative;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    background: #0c1a37;
}

.film .app {
    background: #041a4b;
}

.agreement {
    position: absolute;
    top: 35vh;
    right: 0;
    z-index: 2;
    width: 64px;
}

.intro {
    position: absolute;
    top: 35vh;
    right: 0;
    z-index: 2;
    height: 60px;
}

.banner {
    display: block;
    width: 100%;
}

.login {
    text-align: center;
    margin-top: 40px;
}

.film .login {
    margin-top: 20px;
}

.login .user {
    display: none;
    font-size: 16px;
    color: #FFF;
}

.login .user.show {
    display: block;
}

.login .user-phone {
    font-weight: 600;
}

.login .logout {
    font-size: 16px;
    color: #f2f2f2;
    text-decoration: underline;
}

.login .member {
    display: none;
    font-size: 14px;
    color: #f2f2f2;
    margin-top: 6px;
}

.login .member.show {
    display: block;
}

.login .input-phone {
    position: relative;
    max-width: 65%;
    margin: 0 auto;
}

.film .login .input-phone {
    max-width: 78.67%;
}

.login .input-phone.hide {
    display: none;
}

.login .input-phone img {
    width: 100%;
}

.login .input-phone input {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    font-size: 14px;
    color: #666;
    border: 0;
    outline: none;
    -webkit-appearance: none;
    background: transparent;
    padding: 0 12px 2px;
}

.login .buy {
    max-width: 65%;
    margin-top: 12px;
}

.film .login .buy {
    display: inline-block;
    position: relative;
    max-width: 78.67%;
}

.film .login .buy .text {
    font-size: 20px;
    color: #212e51;
    letter-spacing: 2px;
    font-weight: bolder;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.film .login .buy img {
    max-width: 100%;
}

.login .buy.hide {
    display: none;
}

.login .tip {
    font-size: 10px;
    color: #FFF;
    line-height: 2;
    text-align: center;
    margin: 8px auto 0;
    padding: 0 16px;
}

.login .tip b {
    font-weight: bolder;
    font-size: 1.2em;
    color: rgb(230, 0, 0);
}

.login .confirm {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login .confirm.hide {
    display: none;
}

.login .radio {
    content: '';
    display: inline-block;
    position: relative;
    width: 14px;
    height: 14px;
    border: 1px solid #FFF;
    border-radius: 50%;
    margin-right: 5px;
}

.login .confirm.read .radio::after {
    position: absolute;
    left: 3px;
    top: 50%;
    content: '';
    width: 6px;
    height: 6px;
    background: #FFF;
    border-radius: 50%;
    margin-top: -3px;
}

.login .tip .link {
    color: rgb(230, 0, 0);
}

.login .tip a {
    color: inherit;
    text-decoration: underline;
}

.login .txt {
    font-size: 14px;
    color: #eb3989;
    margin-top: 24px;
}

.film .login .txt {
    color: #ea4e3d;
}

.login .txt.hide {
    display: none;
}

.rights {
    width: 100%;
    margin-top: 30px;
}

.products {
    position: relative;
    text-align: center;
    margin-top: 10px;
    padding-top: 30px;
    padding-bottom: 20px;
}

.products .product-title.normal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.products .product-title.pin-top {
    width: 100%;
    position: fixed;
    top: 0;
    left: 50%;
    right: initial;
    transform: translateX(-50%);
    z-index: 5;
    background: #0c1a37;
}

.products .product-title .title {
    max-width: 100%;
}

.film .products .product-title.pin-top {
    background: #041a4b;
}

.products .product-types {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 2%;
}

.products .product-type {
    width: 15%;
}

.products .product-type img {
    width: 100%;
}

.products .product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 16px;
}

.products .product-list .product {
    width: 48.5%;
    margin-bottom: 30px;
}

.product .video-img {
    position: relative;
    background: #5d148a;
    overflow: hidden;
    border-radius: 10px;
    width: 100%;
    padding-top: 177.78%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.product .play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    margin-left: -24px;
}

.product .video-desc {
    font-size: 15px;
    color: #FFF;
    font-weight: 500;
    line-height: 1.4;
    padding: 8px 12px;
}

.product .btn-setup {
    font-size: 14px;
    color: #f5f7fe;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url('../img/btn.png');
    padding: 7px 14px;
}

.film .product .btn-setup {
    display: inline-block;
    color: #273764;
    font-weight: bolder;
    background-color: #f0d0ac;
    background-image: none;
    border-radius: 34px;
    padding: 6px 18px;
}

.products .product-more {
    display: none;
    font-size: 14px;
    color: #eb3989;
    text-decoration: underline;
    text-align: center;
}

.products .bottom {
    font-size: 13px;
    color: #FFF;
    margin-top: 30px;
}

.dialog {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.dialog.open {
    display: flex;
}

.dialog .dialog-content {
    position: relative;
    width: 78%;
    max-width: 500px;
    border-radius: 16px;
    background: #FFF;
    padding: 20px 20px 30px;
    margin-top: -10vh;
}

.dialog .title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 24px;
}

.dialog-login .input {
    position: relative;
    margin-top: 16px;
}

.dialog-login .input input {
    font-size: 16px;
    color: #666;
    border: 1px solid #999;
    width: 100%;
    height: 42px;
    border-radius: 21px;
    outline: none;
    -webkit-appearance: none;
    padding: 0 14px;
}

.dialog-login .input span {
    position: absolute;
    right: 14px;
    font-size: 14px;
    line-height: 42px;
    color: #eb3989;
}

.film .dialog-login .input span {
    color: #ea4e3d;
}

.dialog .btn {
    height: 46px;
    font-size: 16px;
    color: #f5f7fe;
    line-height: 46px;
    border-radius: 23px;
    background: linear-gradient(#425de4, #4f1fce);
    text-align: center;
    margin-top: 16px;
}

.film .dialog .btn {
    color: #273764;
    font-weight: bold;
    background: #f0d0ac;
}

.dialog-login .close {
    position: absolute;
    top: 115%;
    left: 50%;
    width: 30px;
    margin-left: -15px;
}

.dialog-agreement {
    z-index: 900;
}

.dialog-agreement .content {
    font-size: 14px;
    color: #555;
    height: 36vh;
    overflow-y: auto;
    white-space: pre-line;
}

.product-agreement {
    display: none;
    padding: 0 8px;
    margin-top: 24px;
    text-align: center;
}

.product-agreement img {
    width: 60%;
}

.product-agreement-text {
    font-size: 12px;
    color: #000;
    line-height: 1.8;
    white-space: pre-line;
    text-align: left;
    padding: 8px 10px;
    border: 2px solid #4a40d8;
    border-radius: 10px;
    background-color: #f7fcff;
}

.dialog-video {
    background: linear-gradient(#FFF, #999);
}

.dialog-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.dialog-video .content {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dialog-video .back {
    position: absolute;
    top: 12px;
    left: 14px;
    width: 14px;
}

.dialog-video .btns {
    width: 55%;
}

.dialog-video .btn {
    width: 45%;
    margin-top: 60px;
}

.dialog-video .agree {
    font-size: 16px;
    color: #FFF;
    border-bottom: 1px solid #FFF;
    padding: 4px 0;
    margin-top: 20px;
}

.toast {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 999;
    font-size: 14px;
    color: #FFF;
    line-height: 1.6;
    min-width: 96px;
    max-width: 70%;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    transform: translate(-50%, -50%);
    padding: 8px 12px;
    text-align: center;
}

.toast.show {
    display: block;
}

.dialog-confirm .dialog-content {
    padding: 24px 0 0;
}

.dialog-confirm .title {
    font-weight: 500;
    margin-bottom: 0;
}

.dialog-confirm .message {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    padding: 12px 24px;
    text-align: center;
}

.dialog-confirm .btn {
    height: 48px;
    font-size: 18px;
    color: #eb3989;
    line-height: 48px;
    background: transparent;
    border-top: 1px solid #f2f2f2;
    border-radius: 0;
}

.film .dialog-confirm .btn {
    color: #ea4e3d;
}
