@charset "UTF-8";

* {
    -webkit-tap-highlight-color: transparent;
    outline: 0
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td {
    margin: 0;
    padding: 0
}

img {
    border: 0 none;
    vertical-align: top
}

i,
em {
    font-style: normal
}

ol,
ul,
li {
    list-style: none
}

input,
select,
button,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-family: inherit;
    appearance: none;
    -moz-appearance: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

a,
a:visited {
    text-decoration: none;
    color: #ffd76a
}

::-webkit-input-placeholder {
    color: #ad978e
}

:-moz-placeholder {
    color: #ad978e
}

::-moz-placeholder {
    color: #ad978e
}

:-ms-input-placeholder {
    color: #ad978e
}

.clear {
    clear: both
}

html {
    font-size: 100px
}

body {
    margin: 0 auto;
    min-width: 320px;
    max-width: 750px;
    background: #f1f1f1;
    background-size: cover;
    font-size: .3rem;
    line-height: 1.5;
    color: #4c4743;
    -webkit-text-size-adjust: 100% !important
}

#wrapregister {
    width: 100%;
    margin: 0 auto;
    min-width: 320px;
    max-width: 750px;
    background: #f1f1f1;
    background-size: cover;
    font-size: .3rem;
    line-height: 1.5;
    color: #4c4743;
    -webkit-text-size-adjust: 100% !important
}

.reg_body {
    background: #efeae8;
    background-image: none
}

#header {
    height: .86rem
}

#header .topbox {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 9999
}

#header .topbox_m {
    position: relative;
    height: .86rem;
    background: #e65050
}

#header .topbox h2 {
    display: block;
    height: .86rem;
    text-align: center;
    font-size: .36rem;
    color: #fff;
    line-height: .86rem;
    cursor: pointer;
    margin: 0 1.5rem;
    font-weight: normal
}

#header .topbox .back {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: .8rem;
    height: .86rem;
    background: url(../../images/top/back.png) center center no-repeat;
    background-size: .8rem .8rem
}

.login_main {
    position: fixed;
    left: .3rem;
    right: .3rem;
    margin-top: -5.1rem;
    top: 50%
}

.login_logo {
    height: 2.6rem
}

.login_logo img {
    display: block;
    margin: 0 auto;
    height: 2.14rem
}

.reg_box {
    padding: .2rem .39rem .84rem .39rem;
    background: #f7f4f2;
    border-radius: .12rem;
    box-shadow: 0 .1rem .2rem rgba(0, 0, 0, 0.1)
}

.login_tit {
    font-size: .36rem;
    color: #4c4743;
    line-height: .56rem;
    padding: .3rem .3rem 0 .3rem
}

.reg_form .item {
    border: 1px #dbd3ce solid;
    height: .86rem;
    background: #e8e0dd;
    border-radius: .06rem;
    position: relative;
    margin-top: .3rem
}

.reg_form .item .input {
    border: 0;
    background: 0;
    height: .86rem;
    font-size: .3rem;
    text-indent: .95rem;
    width: 100%
}

.reg_form .item .viewpass {
    position: absolute;
    right: 0;
    top: 0;
    width: .95rem;
    height: .86rem;
    display: block;
    background: url(../../images/login/view.png) center top no-repeat;
    background-size: .95rem 1.72rem
}

.reg_form .item .viewpass_on {
    background-position: center bottom
}

.reg_form .item:nth-child(1):after {
    position: absolute;
    content: "";
    display: block;
    left: 0;
    top: 0;
    width: .95rem;
    height: .86rem;
    background: url(../../images/login/username.png) left top no-repeat;
    background-size: .95rem .86rem
}

.reg_form .item:nth-child(2):after {
    position: absolute;
    content: "";
    display: block;
    left: 0;
    top: 0;
    width: .95rem;
    height: .86rem;
    background: url(../../images/login/password.png) left top no-repeat;
    background-size: .95rem .86rem
}

.login_tip {
    height: .6rem;
    line-height: .6rem;
    font-size: .28rem;
    padding-left: .2rem
}

.login_tip.error {
    background: url(../../images/login/tip.png) .2rem center no-repeat;
    background-size: .32rem .32rem;
    padding-left: .62rem;
    color: #e54d4d
}

.register_btn {
    margin-bottom: .2rem
}

.login_prompt {
    float: right
}

.register_btn .btn {
    display: block;
    height: .88rem;
    line-height: .88rem;
    font-size: .36rem;
    color: #fff;
    text-align: center;
    background-image: -webkit-gradient(linear, 0% 0, 0% 100%, from(#eee2dd), to(#e2d3cd));
    border-radius: .06rem;
    border: 0;
    cursor: pointer;
    border: 0;
    width: 100%;
    font-weight: bold;
    box-shadow: 0 .05rem .1rem rgba(0, 0, 0, 0.16)
}

.register_btn .aftercheck {
    background: #0C8BA4;
}

.login_nav {
    height: .9rem
}

.login_nav a {
    float: left;
    width: 100%;
    border: 1px #e2d3cd solid;
    height: .86rem;
    line-height: .86rem;
    background: #e8e0dd;
    background-image: -webkit-gradient(linear, 0% 0, 0% 100%, from(#eee2dd), to(#e2d3cd));
    border-radius: .06rem;
    font-size: .36rem;
    color: #4c4743;
    text-align: center
}

.login_nav a:nth-child(2) {
    float: right
}

.login_nav a:hover {
    border: 1px #0da3ff solid;
    background: #0da3ff;
    background-image: -webkit-gradient(linear, 0% 0, 0% 100%, from(#0da3ff), to(#0da3ff));
    color: #fff
}

.reg_main {
    height: -webkit-fill-available;
    padding: .2rem
}

.reg_form {
    padding-bottom: .4rem
}

.reg_form .item {
    margin-bottom: .2rem;
    box-shadow: 0 1px 1px #fdfcfb;
    border: 1px #dbd3ce solid;
    height: .86rem;
    background: #e8e0dd;
    border-radius: .06rem;
    position: relative
}

.reg_form .item .input {
    border: 0;
    background: 0;
    height: .86rem;
    font-size: .24rem;
    text-indent: 1.83rem;
    width: 100%
}

.reg_form .item .code_btn {
    position: absolute;
    top: .11rem;
    right: .19rem;
    height: .64rem;
    line-height: .64rem;
    background: #e65050;
    color: #fff;
    padding: 0 1em;
    border-radius: .05rem
}

.reg_form .item .code_btns {
    position: absolute;
    top: .11rem;
    right: .19rem;
    height: .64rem;
    line-height: .64rem;
    background: #e8dbd5;
    color: #fff;
    padding: 0 1em;
    border-radius: .05rem
}

.reg_form .item .t {
    position: absolute;
    left: .2rem;
    top: 0;
    line-height: .86rem;
    font-size: .28rem;
    color: #4c4743
}

.reg_form .item .t i {
    font-style: normal;
    color: #e54d4d
}

.reg_form .item .yzm {
    position: absolute;
    top: .11rem;
    right: .19rem;
    height: .64rem
}

.loading_wrap {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    z-index: 9999998
}

.loading_box {
    position: fixed;
    left: 50%;
    top: 50%;
    margin-left: -21px;
    margin-top: -21px;
    z-index: 9999999
}

.preloader {
    position: relative;
    width: 42px;
    height: 42px;
    -webkit-animation: preloader_s 5s infinite linear;
    animation: preloader_s 5s infinite linear
}

.preloader span {
    width: 20px;
    height: 20px;
    position: absolute;
    background: red;
    display: block;
    -webkit-animation: preloader_s_span 1s infinite linear;
    animation: preloader_s_span 1s infinite linear
}

.preloader span:nth-child(1) {
    background: #2ecc71
}

.preloader span:nth-child(2) {
    left: 22px;
    background: #9b59b6;
    -webkit-animation-delay: .2s;
    animation-delay: .2s
}

.preloader span:nth-child(3) {
    top: 22px;
    background: #3498db;
    -webkit-animation-delay: .4s;
    animation-delay: .4s
}

.preloader span:nth-child(4) {
    top: 22px;
    left: 22px;
    background: #f1c40f;
    -webkit-animation-delay: .6s;
    animation-delay: .6s
}

@keyframes fade-in {
    0% {
        opacity: 0
    }

    40% {
        opacity: .4
    }

    100% {
        opacity: 1
    }
}

@-webkit-keyframes fade-in {
    0% {
        opacity: 0
    }

    40% {
        opacity: .4
    }

    100% {
        opacity: 1
    }
}

@-webkit-keyframes preloader_s {
    from {
        -webkit-transform: rotate(0deg)
    }

    to {
        -webkit-transform: rotate(360deg)
    }
}

@-webkit-keyframes preloader_s_span {
    0% {
        -webkit-transform: scale(1)
    }

    50% {
        -webkit-transform: scale(0.5)
    }

    100% {
        -webkit-transform: scale(1)
    }
}

@keyframes preloader_s_span {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(0.5)
    }

    100% {
        transform: scale(1)
    }
}

@media screen and (max-width:640px) {
    html {
        font-size: 85.33px
    }
}

@media screen and (max-width:480px) {
    html {
        font-size: 64px
    }
}

@media screen and (max-width:414px) {
    html {
        font-size: 55.2px
    }
}

@media screen and (max-width:375px) {
    html {
        font-size: 50px
    }
}

@media screen and (max-width:360px) {
    html {
        font-size: 48px
    }
}

@media screen and (max-width:320px) {
    html {
        font-size: 42.67px
    }
}

/* 固定註冊背景，只讓 RegisterItem 捲動 */
html,
body,
#wrapregister {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#app {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#app .Register {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh !important;
    min-height: 0;
    overflow: hidden;
    background-image: url("../images/login-bg.jpg");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

#app .Register > div.RegisterItem {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    background: none;
}

.Register::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg,
            rgba(255, 119, 83, .08) 0%,
            rgba(0, 0, 0, .02) 28%,
            rgba(0, 0, 0, .16) 52%,
            rgba(0, 0, 0, .60) 100%);
}

.Register::after {
    content: "";
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    height: 36%;
    pointer-events: none;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, .52));
}

.login-header {
    position: relative;
    z-index: 20;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 28px 0;
    box-sizing: border-box;
}

.login-logo {
    display: block;
    width: auto;
    max-width: 245px;
    max-height: 78px;
    object-fit: contain;
    filter:
        drop-shadow(0 2px 4px rgba(0, 0, 0, .45)) drop-shadow(0 0 14px rgba(255, 205, 75, .25));
}

.login-header {
    position: relative;
}

.login-header > a {
    position: absolute;
    top: 10px;
    right: 14px;
    z-index: 30;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    background: rgba(0, 0, 0, .28);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: transform .15s ease, background .15s ease;
}

.login-header > a:active {
    transform: scale(.92);
    background: rgba(0, 0, 0, .48);
}

.login-header > a .login-delete {
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: 20px !important;
    height: 20px !important;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 1;
}

content {
    position: relative;
    z-index: 20;
    display: block;
    width: calc(100% - 40px);
    max-width: 390px;
    margin: 0 auto;
    box-sizing: border-box;
}

.content-tab {
    position: relative;
    width: 100%;
    padding: 0 5px;
    box-sizing: border-box;
}

.tab-title {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    color: rgba(255, 255, 255, .72);
    font-size: 17px !important;
    font-weight: 500;
    box-sizing: border-box;
}

.tab-title>span,
.tab-title>div {
    position: relative;
    width: 50%;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .72);
    cursor: pointer;
    transition: color .2s ease;
}

.tab-title>span.active,
.tab-title>div span.active {
    color: #ffd76a !important;
    font-weight: 600;
}

.tab-title>span.active::after,
.tab-title>div span.active::after {
    content: "";
    position: absolute;
    left: 24%;
    right: 24%;
    bottom: -1px;
    height: 3px;
    border-radius: 4px;
    background: linear-gradient(90deg,
            #c98c20,
            #ffe18a,
            #c98c20);
    box-shadow: 0 0 9px rgba(255, 210, 92, .55);
}

.tab-transform {
    position: relative !important;
    width: 100% !important;
    height: 1px !important;
    margin-top: 0 !important;
    background: rgba(255, 255, 255, .16) !important;
}

.tab-transform p {
    display: none !important;
}

.content-input {
    width: 100%;
    margin-top: 21px;
    box-sizing: border-box;
}

.LoginInput {
    position: relative;
    width: 100%;
    height: 58px;
    display: flex;
    align-items: center;
    margin-bottom: 13px;
    padding: 0 14px;
    border-radius: 30px;
    box-sizing: border-box;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, .17),
            rgba(255, 255, 255, .08));
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, .10),
        0 5px 16px rgba(0, 0, 0, .14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.LoginInput:focus-within {
    border-color: rgba(255, 213, 104, .75);
    background: linear-gradient(90deg,
            rgba(255, 255, 255, .20),
            rgba(255, 255, 255, .10));
    box-shadow:
        0 0 0 2px rgba(255, 207, 83, .10),
        0 6px 18px rgba(0, 0, 0, .18),
        inset 0 1px 1px rgba(255, 255, 255, .12);
}

.LoginInput>img {
    flex-shrink: 0;
    width: 22px !important;
    height: 22px !important;
    margin: 0 13px 0 1px;
    object-fit: contain;
    opacity: .94;
    filter:
        brightness(1.35) drop-shadow(0 1px 2px rgba(0, 0, 0, .25));
}

.LoginInput input {
    flex: 1;
    width: 0;
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    outline: none !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 58px;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.LoginInput input::placeholder {
    color: rgba(255, 255, 255, .62) !important;
    opacity: 1;
}

.LoginInput>div {
    flex-shrink: 0;
}

.LoginInput .code {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 84px !important;
    height: 38px !important;
    margin-left: 7px;
    overflow: hidden;
    border-radius: 5px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

.LoginInput .code img {
    display: block;
    width: 84px !important;
    height: 34px !important;
    object-fit: contain;
}

.register_btn {
    width: 100% !important;
    height: 59px !important;
    margin-top: 20px !important;
    margin-bottom: 18px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 30px !important;
    overflow: hidden;
    background: linear-gradient(180deg,
            #ffe99a 0%,
            #ffd36b 45%,
            #e9b449 100%) !important;
    box-shadow:
        0 8px 22px rgba(218, 157, 41, .30),
        inset 0 1px 2px rgba(255, 255, 255, .92),
        inset 0 -2px 4px rgba(110, 70, 12, .14);
    transition: transform .15s ease, box-shadow .15s ease;
}

.register_btn .btn,
.register_btn .aftercheck {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    outline: none !important;
    border-radius: 30px !important;
    background: transparent !important;
    background-image: none !important;
    color: #65430d !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 3px;
    cursor: pointer;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
    -webkit-appearance: none;
    appearance: none;
}

.register_btn:active {
    transform: scale(.985);
    box-shadow:
        0 4px 12px rgba(218, 157, 41, .25),
        inset 0 2px 4px rgba(100, 65, 10, .12);
}

.content-input>div[align="center"] {
    width: 100%;
    margin-top: 1px;
    font-size: 14px !important;
    line-height: 22px;
    color: rgba(255, 255, 255, .92) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .7);
}

.content-input>div[align="center"] a {
    color: rgba(255, 255, 255, .95) !important;
    text-decoration: none !important;
}

.content-input>div[align="center"] a:active {
    color: #ffd86b !important;
}

.input-link {
    width: 100% !important;
    margin-top: 16px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: #fff !important;
    font-size: 15px !important;
    text-align: center;
    box-sizing: border-box;
}

.input-link>div {
    color: #fff !important;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .75);
    text-underline-offset: 4px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .65);
}

.input-link>div:active {
    color: #ffd86b !important;
}

.input-link-div,
.input-link-2 {
    display: none !important;
}

@media screen and (max-height: 800px) {
    .RegisterItem {
        padding-top: 30px;
    }

    .login-header {
        margin-bottom: 18px;
    }

    .login-logo {
        max-height: 64px;
        max-width: 205px;
    }

    .content-input {
        margin-top: 14px;
    }

    .LoginInput {
        height: 51px;
        margin-bottom: 10px;
    }

    .LoginInput input {
        line-height: 51px;
    }

    .register_btn {
        height: 53px !important;
        margin-top: 13px !important;
        margin-bottom: 12px !important;
    }

    .input-link {
        margin-top: 10px !important;
    }
}

@media screen and (min-width: 400px) {
    content {
        width: 390px;
        max-width: calc(100% - 40px);
    }
}

@media screen and (max-width: 360px) {
    .RegisterItem {
        padding-top: 34px;
    }

    .login-header {
        margin-bottom: 21px;
    }

    content {
        width: calc(100% - 26px);
    }

    .LoginInput {
        height: 53px;
    }

    .LoginInput input {
        line-height: 53px;
        font-size: 15px !important;
    }

    .register_btn {
        height: 54px !important;
    }
}


.LoginInput input:-webkit-autofill,
.LoginInput input:-webkit-autofill:hover,
.LoginInput input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(50, 50, 50, .15) inset !important;
    transition: background-color 9999s ease-in-out 0s;
}

.Register,
.RegisterItem,
content,
.content-input,
.content-tab,
.LoginInput {
    max-width: 100%;
}

#app .Register > div.RegisterItem {
    overflow-y: auto;
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
}

#app .Register > div.RegisterItem > header.login-header,
#app .Register > div.RegisterItem > content {
    flex-shrink: 0;
}