.shen-auth[hidden],.shen-auth__view[hidden]{display:none}
.shen-auth{position:fixed;z-index:99999;inset:0;display:grid;place-items:center;padding:20px;box-sizing:border-box;font-family:"Hanken Grotesk","Noto Sans TC",Arial,sans-serif;color:#102345}
.shen-auth *{box-sizing:border-box}
.shen-auth__backdrop{position:absolute;inset:0;background:rgba(9,25,52,.64);opacity:0;transition:opacity .25s ease}
.shen-auth__dialog{position:relative;width:min(100%,660px);max-height:calc(100dvh - 12px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none;padding:40px 44px 36px;border:1px solid #e4eaf3;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(9,25,52,.22);opacity:0;transform:translateY(22px) scale(.98);transition:opacity .28s ease,transform .28s cubic-bezier(.2,.75,.2,1)}
.shen-auth__dialog::-webkit-scrollbar{display:none}
.shen-auth.is-open .shen-auth__backdrop,.shen-auth.is-open .shen-auth__dialog{opacity:1}
.shen-auth.is-open .shen-auth__dialog{transform:translateY(0) scale(1)}
.shen-auth.is-closing .shen-auth__backdrop,.shen-auth.is-closing .shen-auth__dialog{opacity:0}
.shen-auth.is-closing .shen-auth__dialog{transform:translateY(12px) scale(.985)}
.shen-auth[data-view="login"] .shen-auth__dialog,.shen-auth[data-view="forgot"] .shen-auth__dialog{width:min(100%,550px)}
.shen-auth[data-view="register"] .shen-auth__dialog{padding-top:28px;padding-bottom:24px}
.shen-auth[data-view="register"] .shen-auth__logo{margin-bottom:22px}
.shen-auth[data-view="register"] .shen-auth__intro{margin-bottom:22px}
.shen-auth[data-view="register"] form{gap:15px}
.shen-auth[data-view="register"] .shen-auth__input{min-height:50px}
.shen-auth[data-view="register"] .shen-auth__input input,.shen-auth[data-view="register"] .shen-auth__input select{height:48px}
.shen-auth[data-view="register"] .shen-auth__bottom{margin-top:16px;padding-top:16px}
.shen-auth__close{position:absolute;top:13px;right:16px;display:grid;width:36px;height:36px;place-items:center;padding:0;border:0;border-radius:8px;background:transparent;color:#667085;font-size:28px;font-weight:300;line-height:1;cursor:pointer}
.shen-auth__close:hover{background:#eef5ff;color:#0052cc}
.shen-auth__logo{display:flex;min-height:44px;margin:0 auto 32px;align-items:center;justify-content:center;color:#0052cc;font-size:30px;font-style:italic;font-weight:800;letter-spacing:-1.6px;line-height:1}
.shen-auth__logo img{display:block;width:auto;height:auto;max-width:min(100%,var(--shen-auth-logo-width-desktop,242px));max-height:var(--shen-auth-logo-height-desktop,48px);object-fit:contain}
@media(min-width:621px) and (max-width:1024px){.shen-auth__logo img{max-width:min(100%,var(--shen-auth-logo-width-tablet,242px));max-height:var(--shen-auth-logo-height-tablet,48px)}}
@media(max-width:620px){.shen-auth__logo img{max-width:min(100%,var(--shen-auth-logo-width-mobile,242px));max-height:var(--shen-auth-logo-height-mobile,48px)}}
.shen-auth__view{animation:shenAuthViewIn .24s ease both}
.shen-auth__view h2{margin:0 0 10px;color:#102345;font-size:27px;font-weight:700;line-height:1.35;text-align:center}
.shen-auth__intro{margin:0 auto 30px;color:#687c9e;font-size:15px;line-height:1.7;text-align:center}
.shen-auth form{display:grid;gap:20px;margin:0}
.shen-auth form>label,.shen-auth__two>label{display:block;color:#102345;font-size:15px;font-weight:500;line-height:1.45;text-align:left}
.shen-auth em{color:#dc3545;font-style:normal}
.shen-auth__input{position:relative;display:flex;min-height:54px;margin-top:8px;align-items:center;border:1px solid #d6deea;border-radius:5px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}
.shen-auth__input:focus-within{border-color:#0052cc;box-shadow:0 0 0 3px rgba(0,82,204,.11)}
.shen-auth__input svg{width:20px;height:20px;margin-left:16px;flex:0 0 auto;fill:none;stroke:#8ca2c2;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.shen-auth__field-icon{width:20px;margin-left:16px;color:#8ca2c2;font-size:21px;text-align:center}
.shen-auth__input input,.shen-auth__input select{width:100%;height:52px;min-width:0;padding:0 15px;border:0;outline:0;background:transparent;color:#102345;font:inherit;font-size:15px}
.shen-auth__input input::placeholder{color:#9bacc7}
.shen-auth__input select{appearance:auto}
.shen-auth__show{width:42px;height:42px;margin-right:5px;flex:0 0 auto;border:0;background:transparent;color:#91a4c0;font-size:22px;cursor:pointer}
.shen-auth__show:hover{color:#0052cc}
.shen-auth small{display:block;margin-top:5px;color:#8ca0bf;font-size:12px;line-height:1.45}
.shen-auth__two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.shen-auth__form-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.shen-auth .shen-auth__check{display:flex;align-items:flex-start;gap:8px;color:#596e90;font-size:14px;font-weight:400;line-height:1.6;cursor:pointer}
.shen-auth__check input{width:17px;height:17px;margin:3px 0 0;flex:0 0 auto;accent-color:#0052cc}
.shen-auth__terms{margin:2px 0 0}
.shen-auth__terms a,.shen-auth__link{color:#0052cc;text-decoration:none}
.shen-auth__terms a:hover,.shen-auth__link:hover{text-decoration:underline}
.shen-auth__link{padding:0;border:0;background:none;font:inherit;font-weight:500;cursor:pointer}
.shen-auth__primary,.shen-auth__outline{display:flex;min-height:56px;width:100%;align-items:center;justify-content:center;padding:12px 18px;border:1px solid #0052cc;border-radius:5px;background:#0052cc;color:#fff;font:inherit;font-size:17px;font-weight:700;line-height:1.35;text-align:center;text-decoration:none;cursor:pointer;transition:background .2s ease,transform .2s ease,box-shadow .2s ease}
.shen-auth__primary:hover{background:#0047b3;box-shadow:0 5px 14px rgba(0,82,204,.2);transform:translateY(-1px)}
.shen-auth__primary:disabled,.shen-auth__outline:disabled{opacity:.65;cursor:wait;transform:none}
.shen-auth__outline{min-height:52px;background:#fff;color:#0052cc;font-size:15px}
.shen-auth__outline:hover{background:#f0f6ff}
.shen-auth__message{min-height:0;margin:0;color:#b42318;font-size:13px;line-height:1.5}
.shen-auth__message:empty{display:none}
.shen-auth__message.is-success{color:#057647}
.shen-auth__bottom{margin:26px 0 0;padding-top:20px;border-top:1px solid #ebeff5;color:#7184a1;font-size:14px;line-height:1.5;text-align:center}
.shen-auth__view--center{text-align:center}
.shen-auth__symbol{display:grid;width:68px;height:68px;margin:0 auto 24px;place-items:center;border:1px solid #d3e4ff;border-radius:17px;background:#f1f7ff;color:#0052cc;font-size:36px;font-weight:600}
.shen-auth__email{margin:0 0 18px;padding:17px 12px;border:1px solid #d2e4ff;border-radius:10px;background:#f3f9ff;color:#0052cc;font-size:17px;font-weight:600;overflow-wrap:anywhere}
.shen-auth__verify-actions{margin-top:25px;padding-top:20px;border-top:1px solid #ebeff5;color:#7184a1;font-size:14px;line-height:1.6}
.shen-auth__verify-actions p{margin:0 0 14px}
.shen-auth__verify-actions .shen-auth__outline{max-width:340px;margin:0 auto 14px}
.shen-auth__view--center form>label{text-align:left}
.shen-auth__view--center>.shen-auth__primary{max-width:460px;margin:38px auto 0}
body.shen-auth-open{overflow:hidden}
@keyframes shenAuthViewIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:620px){.shen-auth{padding:8px}.shen-auth__dialog{max-height:calc(100dvh - 12px);padding:34px 20px 26px;border-radius:12px}.shen-auth__logo{margin-bottom:28px}.shen-auth__view h2{font-size:24px}.shen-auth__intro{font-size:14px;margin-bottom:24px}.shen-auth__two{grid-template-columns:1fr;gap:18px}.shen-auth__input{min-height:52px}.shen-auth__input input,.shen-auth__input select{height:50px}.shen-auth form{gap:18px}}
@media(prefers-reduced-motion:reduce){.shen-auth__backdrop,.shen-auth__dialog,.shen-auth__primary,.shen-auth__input{transition:none}.shen-auth__view{animation:none}}
