/* Auth-preview design, scoped to the two account pages. */
/* Uni-app maintains these route classes, including when cached pages remain in the DOM. */
html body:is(.pages-login-login,.pages-login-regist) { background: #202124 !important; }
body:is(.pages-login-login,.pages-login-regist) uni-app, body:is(.pages-login-login,.pages-login-regist) uni-page-wrapper,
body:is(.pages-login-login,.pages-login-regist) uni-page-body { width: 100% !important; max-width: none !important; margin: 0 !important; box-shadow: none !important; background: transparent !important; }
.tk-auth { color: #25262a; background: radial-gradient(ellipse at 90% 80%,#494a50 0,transparent 48%),linear-gradient(145deg,#34353b,#17181b); min-height: 100vh; font-family: Inter,"Microsoft YaHei",sans-serif; font-synthesis: none; overflow: hidden; }
.tk-auth * { box-sizing: border-box; }
.tk-auth button, .tk-auth input { font: inherit; -webkit-tap-highlight-color: transparent; }
.tk-auth button { cursor: pointer; margin: 0; line-height: normal; }
.tk-auth button:disabled { cursor: wait; opacity: .65; }
.tk-auth .auth-header { max-width: 960px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 28px; color: white; position: relative; }
.tk-auth .auth-brand { min-width: 0; font-size: 23px; font-weight: 750; letter-spacing: -.8px; display: flex; align-items: center; gap: 12px; overflow-wrap: anywhere; }
.tk-auth .auth-mark { display: grid; place-items: center; width: 40px; height: 44px; flex: 0 0 40px; border: 1px solid #ffffff55; border-radius: 12px; font-size: 22px; }
.tk-auth .auth-tools { display: flex; gap: 10px; flex-shrink: 0; }
.tk-auth .auth-round { padding: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #ffffff50; background: #ffffff10; color: white; font-size: 18px; }
.tk-auth .auth-main { width: min(100% - 40px,560px); margin: 26px auto 0; }
.tk-auth .auth-hero { min-height: 174px; padding: 24px; border: 1px solid #ffffff20; border-radius: 22px; position: relative; overflow: hidden; background: linear-gradient(120deg,#111216,#44464e); display: flex; align-items: center; justify-content: center; color: white; }
.tk-auth .auth-hero:before, .tk-auth .auth-hero:after { content: ""; position: absolute; width: 180px; height: 240px; border: 1px solid #ffffff20; border-radius: 35px; transform: rotate(30deg); right: -30px; top: -70px; }
.tk-auth .auth-hero:after { right: 100px; top: 65px; }
.tk-auth .auth-hero-copy { position: relative; z-index: 1; text-align: center; overflow-wrap: anywhere; }
.tk-auth .auth-logo-image { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.tk-auth .auth-mark { overflow: hidden; }
.tk-auth .auth-has-poster { padding: 0; height: 174px; }
.tk-auth .auth-has-poster:before, .tk-auth .auth-has-poster:after { display: none; }
.tk-auth .auth-poster-image { display: block; width: 100%; height: 100%; border-radius: inherit; }
.tk-auth .auth-hero-copy strong { font-size: 28px; letter-spacing: 3px; }
.tk-auth .auth-hero-copy p { font-size: 12px; color: #c0c1c6; letter-spacing: 2px; margin: 12px 0 0; line-height: 1.6; }
.tk-auth h1 { font-size: 30px; color: white; text-align: center; margin: 24px 0; line-height: 1.3; }
.tk-auth .auth-intro { text-align: center; color: #c5c6cb; line-height: 1.6; margin: -10px 0 27px; font-size: 15px; }
.tk-auth .auth-card { background: #fafafa; border: 1px solid #fff; border-radius: 26px; padding: 30px; box-shadow: 0 20px 60px #0002; }
.tk-auth h2 { text-align: center; font-size: 24px; margin: 0 0 28px; line-height: 1.3; }
.tk-auth .auth-field { margin-bottom: 20px; }
.tk-auth .auth-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.tk-auth .auth-input-wrap { display: flex; align-items: center; gap: 12px; border: 1px solid #e2e3e7; background: #f5f5f7; border-radius: 13px; padding: 0 15px; min-height: 56px; }
.tk-auth .auth-input-wrap:focus-within { border-color: #44464b; box-shadow: 0 0 0 3px #2221; }
.tk-auth .auth-icon { color: #777981; width: 19px; text-align: center; flex-shrink: 0; }
.tk-auth .auth-input-wrap input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #232429; padding: 17px 0; font-size: 15px; border-radius: 0; }
.tk-auth input::placeholder { color: #9699a2; }
.tk-auth .auth-eye { border: 0; background: transparent; color: #6b6d75; font-size: 12px; padding: 8px 0 8px 8px; white-space: nowrap; }
.tk-auth .auth-forgot { display: block; margin: -4px 0 25px auto; border: 0; background: none; color: #62646d; font-size: 13px; padding: 0; }
.tk-auth .auth-action { width: 100%; min-height: 56px; border-radius: 13px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; text-align: start; }
.tk-auth .auth-primary { border: 0; background: linear-gradient(110deg,#34353b,#191a1d); color: white; box-shadow: 0 7px 16px #2222; }
.tk-auth .auth-secondary { margin-top: 14px; border: 1px solid #dedee3; background: #eeeef1; color: #45464f; }
.tk-auth .auth-action span:last-child { font-size: 20px; font-weight: 400; }
.tk-auth .auth-hint { text-align: center; color: #7c7f88; font-size: 13px; line-height: 1.7; margin: -16px 0 25px; }
.tk-auth .auth-footer { text-align: center; padding: 36px 20px 26px; color: #aeb0b8; font-size: 12px; line-height: 1.8; }
.tk-auth.auth-register .auth-main { margin-top: 8px; }
.tk-auth.auth-register h1 { margin-top: 12px; }
.tk-auth button:focus-visible { outline: 3px solid #a3a8b6; outline-offset: 3px; }
.tk-auth .auth-language-menu { position: absolute; z-index: 20; inset-inline-end: 28px; top: 78px; background: #fafafa; padding: 8px; border: 1px solid #e2e3e7; border-radius: 14px; box-shadow: 0 12px 35px #0004; max-height: 60vh; overflow-y: auto; max-width: calc(100% - 40px); }
.tk-auth .auth-language-option { display: block; width: 100%; border: 0; background: transparent; color: #25262a; padding: 12px 18px; text-align: start; font-size: 14px; border-radius: 8px; }
.tk-auth .auth-language-option[aria-pressed="true"] { background: #e5e6eb; font-weight: 600; }
@media(max-width:420px) {
    .tk-auth .auth-header { padding: 20px; gap: 10px; }
    .tk-auth .auth-brand { font-size: 20px; gap: 8px; }
    .tk-auth .auth-main { width: calc(100% - 28px); margin-top: 16px; }
    .tk-auth .auth-hero { min-height: 145px; }
    .tk-auth .auth-card { padding: 25px 20px; border-radius: 23px; }
    .tk-auth h1 { font-size: 27px; margin: 22px 0; }
    .tk-auth .auth-tools { gap: 7px; }
    .tk-auth .auth-round { width: 38px; height: 38px; }
    .tk-auth .auth-footer { padding-top: 28px; }
}
@media(prefers-reduced-motion:no-preference) {
    .tk-auth button { transition: filter .15s,transform .15s; }
    .tk-auth button:hover { filter: brightness(1.1); }
    .tk-auth button:active { transform: translateY(1px); }
}
