:root {
  --sc-ink: #071a38;
  --sc-blue: #1768f2;
  --sc-cyan: #18b9ea;
  --sc-line: #d6e2f2;
  --sc-muted: #7588a3;
}

* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; }
body { margin: 0; font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; color: var(--sc-ink); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.sc-skip-link { position: fixed; top: 6px; left: 8px; z-index: 1000; padding: 9px 13px; border-radius: 7px; background: #fff; color: var(--sc-blue); font-size: 12px; transform: translateY(-150%); }
.sc-skip-link:focus { transform: none; }
.sc-login-page { min-height: 100dvh; overflow: hidden; background: #eff4fb; }
.sc-login-topbar { position: fixed; inset: 0 0 auto; z-index: 30; height: 38px; border-top: 1px solid #cad8e9; border-bottom: 1px solid #d4e0ef; background: #e7f0fb; }
.sc-topbar-inner { width: min(calc(100% - 40px), 1220px); height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 auto; }
.sc-topbar-trust, .sc-topbar-links { display: flex; align-items: center; gap: 22px; color: #26486f; font-size: 11px; }
.sc-topbar-trust span { display: flex; align-items: center; gap: 5px; }
.sc-topbar-trust svg { width: 14px; height: 14px; color: #1673ed; }
.sc-topbar-links a { color: #31618d; transition: color .2s ease; }
.sc-topbar-links a:hover { color: var(--sc-blue); }

.sc-login-shell { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 50.5%) minmax(480px, 49.5%); padding-top: 38px; }
.sc-login-brand-panel { position: relative; isolation: isolate; min-height: calc(100dvh - 38px); overflow: hidden; color: #fff; background: radial-gradient(circle at 87% 48%, rgba(30, 93, 170, .2), transparent 38%), linear-gradient(142deg, #0a2543, #102e54 60%, #163965); }
.sc-login-brand-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 20, 40, .08), transparent 35%), radial-gradient(circle at 20% 90%, rgba(20, 139, 229, .11), transparent 30%); }
.sc-login-brand { position: absolute; top: 58px; left: max(50px, calc((100vw - 1440px) / 2 + 50px)); z-index: 3; display: flex; align-items: center; gap: 11px; }
.sc-login-brand-mark { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #1a89ed; }
.sc-login-brand-mark::before { content: ""; position: absolute; inset: 8px; border: 2px solid #2da7f0; border-right-color: transparent; border-radius: 50%; transform: rotate(-25deg); }
.sc-login-brand-mark::after { content: ""; position: absolute; top: 19px; left: -7px; width: 54px; height: 5px; border-top: 2px solid #14b4ed; border-radius: 50%; transform: rotate(-8deg); }
.sc-login-brand b, .sc-login-brand small { display: block; }
.sc-login-brand b { color: #1b75d2; font-size: 18px; }
.sc-login-brand small { margin-top: 3px; color: #5380ad; font-size: 7px; font-weight: 800; letter-spacing: 1px; }
.sc-corner-line { position: absolute; top: 25px; left: 17px; width: 50px; height: 50px; border-top: 2px solid #16c4f1; border-left: 2px solid #16c4f1; }

.sc-login-art { position: absolute; right: -38px; top: 19%; z-index: -1; width: 430px; height: 560px; opacity: .19; transform: rotate(-8deg); }
.sc-login-art::before { content: ""; position: absolute; inset: 35px 80px 20px 115px; border: 18px solid #285487; border-radius: 52px; box-shadow: 0 0 0 3px rgba(88, 149, 208, .22) inset; }
.sc-login-art::after { content: ""; position: absolute; right: 0; bottom: 40px; width: 190px; height: 190px; border: 22px solid #1d497d; border-radius: 50%; }
.sc-login-art i { position: absolute; border-radius: 50%; background: #2f5d91; }
.sc-login-art i:nth-child(1) { width: 48px; height: 48px; top: 135px; left: 177px; }
.sc-login-art i:nth-child(2) { width: 34px; height: 34px; top: 215px; left: 225px; }
.sc-login-art i:nth-child(3) { width: 62px; height: 62px; top: 310px; left: 130px; }
.sc-login-art i:nth-child(4) { width: 110px; height: 20px; top: 83px; left: 175px; border-radius: 20px; }

.sc-brand-content { position: relative; z-index: 2; width: min(calc(100% - 98px), 660px); margin: 0 auto; padding-top: clamp(285px, 39vh, 355px); }
.sc-brand-tag { width: fit-content; display: flex; align-items: center; gap: 10px; padding: 8px 15px; border: 1px solid rgba(26, 187, 236, .55); border-radius: 7px; background: rgba(7, 112, 167, .16); color: #22c6f0; font-size: 11px; font-weight: 800; letter-spacing: .3px; }
.sc-brand-tag i { width: 13px; height: 1px; background: #19c4ef; }
.sc-brand-content h1 { margin: 21px 0 13px; font-size: clamp(42px, 4vw, 56px); line-height: 1.12; letter-spacing: -2px; }
.sc-brand-content h1 strong { color: #18baf0; }
.sc-brand-content > p { margin: 0; color: #c6d5e8; font-size: 14px; line-height: 1.8; }
.sc-brand-points { display: grid; gap: 14px; margin: 78px 0 0; padding: 0 0 30px; list-style: none; }
.sc-brand-points li { min-height: 66px; display: grid; grid-template-columns: 42px auto 1fr; align-items: center; gap: 12px; padding: 10px 16px; border: 1px solid rgba(146, 184, 224, .18); border-radius: 11px; background: rgba(255, 255, 255, .065); }
.sc-brand-points li > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(135deg, #1f6bef, #18bee9); box-shadow: 0 8px 18px rgba(4, 120, 222, .25); }
.sc-brand-points svg { width: 20px; height: 20px; }
.sc-brand-points b { font-size: 12px; }
.sc-brand-points small { color: #9db2ce; font-size: 10px; }

.sc-login-form-panel { min-height: calc(100dvh - 38px); display: flex; align-items: center; justify-content: center; padding: 44px 50px; background: radial-gradient(circle at 100% 0, rgba(65, 207, 244, .16), transparent 25%), #f2f6fc; }
.sc-login-card { position: relative; width: min(100%, 460px); padding: 52px 44px 45px; border: 1px solid #dce5f1; border-radius: 17px; background: rgba(255, 255, 255, .98); box-shadow: 0 24px 70px rgba(37, 67, 113, .14); }
.sc-login-card::before { content: ""; position: absolute; top: -2px; right: -1px; left: -1px; height: 3px; border-radius: 17px 17px 0 0; background: linear-gradient(90deg, #2159ff, #19c4ed); }
.sc-login-heading { text-align: center; }
.sc-login-heading h2 { margin: 0; color: #061a3b; font-size: 29px; letter-spacing: -1px; }
.sc-login-heading p { margin: 16px 0 35px; color: #566c86; font-size: 12px; }
.sc-login-form { display: grid; gap: 13px; }
.sc-login-field label { display: block; margin-bottom: 8px; color: #0f213d; font-size: 12px; font-weight: 800; }
.sc-input-wrap { position: relative; }
.sc-input-wrap > svg { position: absolute; top: 50%; left: 14px; width: 17px; height: 17px; color: #899bb2; transform: translateY(-50%); pointer-events: none; }
.sc-input-wrap input { width: 100%; height: 49px; padding: 0 14px 0 44px; border: 1px solid var(--sc-line); border-radius: 11px; outline: 0; background: #fff; color: #243a56; font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease; }
.sc-input-wrap input::placeholder { color: #9caabd; }
.sc-input-wrap input:hover { border-color: #b5c9e2; }
.sc-input-wrap input:focus { border-color: #6b9bee; box-shadow: 0 0 0 4px rgba(23, 104, 242, .09); }
.sc-input-wrap input[aria-invalid="true"] { border-color: #d95757; box-shadow: 0 0 0 4px rgba(217, 87, 87, .08); }
.sc-field-error { min-height: 14px; display: block; padding-top: 3px; color: #d34747; font-size: 9px; }
.sc-captcha-row { display: grid; grid-template-columns: minmax(0, 1fr) 158px; gap: 12px; }
.sc-captcha-code { position: relative; height: 49px; overflow: hidden; border: 1px solid #d3dfec; border-radius: 10px; background: repeating-linear-gradient(-10deg, #f8f9fc, #f8f9fc 7px, #edf3f9 7px, #edf3f9 8px); color: #7b32bd; cursor: pointer; }
.sc-captcha-code::before, .sc-captcha-code::after { content: ""; position: absolute; left: -8px; width: 180px; height: 1px; background: #e62b9e; transform: rotate(8deg); }
.sc-captcha-code::before { top: 18px; }
.sc-captcha-code::after { top: 30px; background: #35a8e8; transform: rotate(-5deg); }
.sc-captcha-code span { position: relative; z-index: 2; font-family: Georgia, serif; font-size: 25px; font-style: italic; letter-spacing: 11px; text-shadow: 1px 1px #21a8ce; }
.sc-remember { min-height: 31px; display: flex; align-items: center; gap: 8px; width: fit-content; color: #465d77; font-size: 11px; cursor: pointer; }
.sc-remember input { width: 15px; height: 15px; margin: 0; accent-color: var(--sc-blue); }
.sc-login-submit { width: 100%; height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; border: 0; border-radius: 99px; background: linear-gradient(100deg, #2657ee, #18b9e9); color: #fff; font-size: 14px; font-weight: 900; box-shadow: 0 14px 26px rgba(28, 107, 225, .24); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
.sc-login-submit svg { width: 18px; height: 18px; stroke-width: 2.3; }
.sc-login-submit:hover { box-shadow: 0 18px 34px rgba(28, 107, 225, .32); transform: translateY(-2px); }
.sc-login-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.sc-login-status { min-height: 17px; margin: -3px 0 0; color: #16865f; text-align: center; font-size: 10px; }
.sc-login-status.is-error { color: #c74350; }
.sc-login-status a { margin-left: 4px; color: var(--sc-blue); font-weight: 800; text-decoration: underline; }
.sc-login-register { margin: 13px 0 0; color: #374f69; text-align: center; font-size: 11px; }
.sc-login-register a { margin-left: 5px; color: #087bd9; font-weight: 900; }
.sc-login-terms { margin: 20px 0 0; padding-top: 18px; border-top: 1px dashed #d9e2ee; color: #8795a7; text-align: center; font-size: 9px; }
.sc-login-terms a { margin-left: 5px; color: #0d82db; }
.sc-login-page button:focus-visible, .sc-login-page a:focus-visible, .sc-login-page input:focus-visible { outline: 3px solid rgba(23, 104, 242, .3); outline-offset: 3px; }

@media (max-width: 1100px) {
  .sc-login-shell { grid-template-columns: minmax(0, .9fr) minmax(450px, 1.1fr); }
  .sc-brand-content { width: calc(100% - 70px); }
  .sc-brand-points { margin-top: 46px; }
}

@media (max-width: 820px) {
  .sc-login-page { overflow: auto; }
  .sc-login-topbar { height: 36px; }
  .sc-topbar-trust { gap: 12px; }
  .sc-topbar-links { display: none; }
  .sc-login-shell { display: block; min-height: 100dvh; padding-top: 36px; }
  .sc-login-brand-panel { display: none; }
  .sc-login-form-panel { min-height: calc(100dvh - 36px); padding: 34px 18px; }
}

@media (max-width: 520px) {
  .sc-topbar-inner { width: calc(100% - 24px); justify-content: center; }
  .sc-topbar-trust { width: 100%; justify-content: space-between; gap: 6px; font-size: 9px; }
  .sc-login-form-panel { align-items: flex-start; padding: 24px 14px; }
  .sc-login-card { padding: 38px 22px 32px; }
  .sc-login-heading h2 { font-size: 26px; }
  .sc-login-heading p { margin-bottom: 28px; }
  .sc-captcha-row { grid-template-columns: minmax(0, 1fr) 122px; gap: 8px; }
  .sc-captcha-code span { font-size: 22px; letter-spacing: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .sc-login-page *, .sc-login-page *::before, .sc-login-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* 声彩科技品牌化登录界面 */
.sc-login-topbar { height: 64px; border: 0; background: rgba(255, 255, 255, .95); box-shadow: 0 1px 0 rgba(18, 52, 96, .09); backdrop-filter: blur(18px); }
.sc-topbar-inner { width: min(calc(100% - 48px), 1320px); }
.sc-topbar-brand { display: flex; align-items: center; gap: 9px; }
.sc-topbar-brand > span { position: relative; width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, #174de5, #25bce9); box-shadow: 0 8px 18px rgba(26, 91, 211, .22); }
.sc-topbar-brand > span::before { content: ""; position: absolute; inset: 8px; border: 2px solid #fff; border-left-color: transparent; border-radius: 50%; transform: rotate(-28deg); }
.sc-topbar-brand b { color: #0d2545; font-size: 15px; }
.sc-topbar-brand small { color: #8c9bb0; font-size: 7px; font-weight: 800; letter-spacing: 1px; }
.sc-topbar-links { gap: 10px; }
.sc-topbar-links a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 9px; color: #526984; font-size: 11px; font-weight: 700; }
.sc-topbar-links a:hover { background: #f0f5fc; }
.sc-topbar-links .is-primary { color: #fff; background: linear-gradient(135deg, #1855ec, #1caee5); box-shadow: 0 8px 18px rgba(29, 100, 218, .2); }
.sc-topbar-links .is-primary:hover { color: #fff; background: linear-gradient(135deg, #1449d5, #159dd2); }

.sc-login-shell { grid-template-columns: minmax(0, 46%) minmax(500px, 54%); padding-top: 64px; }
.sc-login-brand-panel { min-height: calc(100dvh - 64px); background: radial-gradient(circle at 78% 20%, rgba(31, 179, 233, .2), transparent 24%), linear-gradient(150deg, #071a3c 0%, #0d3270 58%, #0a5a9a 100%); }
.sc-login-brand-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(145deg, #000, transparent 78%); }
.sc-corner-line { display: none; }
.sc-login-art { right: -70px; top: 82px; width: 430px; height: 430px; opacity: .38; transform: none; }
.sc-login-art::before { inset: 38px; border: 1px solid #42d3ee; border-radius: 50%; box-shadow: 0 0 0 54px rgba(72, 192, 237, .07), 0 0 0 108px rgba(72, 192, 237, .04); }
.sc-login-art::after { right: 133px; bottom: 133px; width: 120px; height: 120px; border: 1px solid #7de5f3; box-shadow: inset 0 0 50px rgba(45, 206, 236, .12); }
.sc-login-art i { width: 18px !important; height: 18px !important; border: 4px solid #2be0eb; background: #0e4b8e; box-shadow: 0 0 0 7px rgba(43, 224, 235, .09); }
.sc-login-art i:nth-child(1) { top: 78px; left: 195px; }
.sc-login-art i:nth-child(2) { top: 196px; left: 69px; }
.sc-login-art i:nth-child(3) { top: 310px; left: 280px; }
.sc-login-art i:nth-child(4) { top: 196px; left: 322px; border-radius: 50%; }

.sc-brand-content { width: min(calc(100% - 76px), 610px); padding-top: clamp(120px, 16vh, 160px); }
.sc-brand-tag { border-color: rgba(95, 222, 244, .35); border-radius: 99px; background: rgba(49, 170, 225, .1); color: #72e9f4; font-size: 9px; letter-spacing: 1.4px; }
.sc-brand-content h1 { max-width: 560px; margin: 18px 0 13px; font-size: clamp(40px, 3.7vw, 54px); }
.sc-brand-content h1 strong { color: transparent; background: linear-gradient(90deg, #5de2f3, #68b8ff); -webkit-background-clip: text; background-clip: text; }
.sc-brand-content > p { max-width: 540px; color: #aec5e1; font-size: 13px; }
.sc-brand-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.sc-brand-flow li { min-width: 0; min-height: 78px; display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 11px; padding: 12px; border: 1px solid rgba(156, 205, 242, .15); border-radius: 14px; background: rgba(255, 255, 255, .065); backdrop-filter: blur(8px); }
.sc-brand-flow li > i { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(101, 212, 242, .3); border-radius: 11px; color: #87dff2; font-size: 9px; font-style: normal; font-weight: 900; }
.sc-brand-flow li.is-done > i { border-color: transparent; background: linear-gradient(135deg, #1f6bef, #1dc2e5); color: #fff; box-shadow: 0 8px 20px rgba(6, 124, 217, .28); }
.sc-brand-flow b, .sc-brand-flow small { display: block; }
.sc-brand-flow b { color: #f6fbff; font-size: 11px; }
.sc-brand-flow small { margin-top: 4px; color: #90aaca; font-size: 8px; line-height: 1.45; }
.sc-brand-proof { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding: 15px 18px; border-radius: 14px; background: rgba(3, 24, 61, .28); }
.sc-brand-proof > span { color: #fff; font-size: 18px; font-weight: 900; }
.sc-brand-proof span small { display: block; margin-top: 4px; color: #8faacc; font-size: 7px; font-weight: 600; }
.sc-brand-proof > i { width: 1px; height: 28px; background: rgba(180, 217, 245, .17); }

.sc-login-form-panel { min-height: calc(100dvh - 64px); justify-content: center; padding: 38px 64px; background: radial-gradient(circle at 84% 12%, rgba(35, 196, 236, .15), transparent 24%), linear-gradient(145deg, #f8fbff, #edf4fd); }
.sc-login-card { width: min(100%, 510px); padding: 42px 46px 36px; border-radius: 25px; box-shadow: 0 28px 80px rgba(35, 69, 122, .14); }
.sc-login-card::before { top: 0; right: auto; left: 46px; width: 72px; height: 4px; border-radius: 0 0 6px 6px; }
.sc-login-heading { position: relative; text-align: left; }
.sc-login-heading > span { color: #1768f2; font-size: 8px; font-weight: 900; letter-spacing: 1.4px; }
.sc-login-heading h2 { margin-top: 7px; font-size: 30px; }
.sc-login-heading p { max-width: 340px; margin: 8px 0 12px; color: #687c96; line-height: 1.65; }
.sc-login-heading > div { width: fit-content; display: flex; align-items: center; gap: 5px; margin-bottom: 24px; padding: 6px 9px; border-radius: 8px; background: #eaf8f2; color: #16815d; font-size: 8px; font-weight: 800; }
.sc-login-heading > div i { width: 14px; height: 14px; display: grid; place-items: center; border-radius: 50%; background: #cdeede; font-size: 8px; font-style: normal; }
.sc-login-submit { border-radius: 12px; }

@media (max-width: 1100px) {
  .sc-login-shell { grid-template-columns: minmax(0, .82fr) minmax(470px, 1.18fr); }
  .sc-brand-content { width: calc(100% - 54px); }
  .sc-login-form-panel { padding-right: 36px; padding-left: 36px; }
}

@media (max-width: 820px) {
  .sc-login-topbar { height: 56px; }
  .sc-topbar-inner { width: calc(100% - 28px); }
  .sc-topbar-links a:not(.is-primary) { display: none; }
  .sc-topbar-links .is-primary { min-height: 36px; }
  .sc-login-shell { display: block; min-height: 100dvh; padding-top: 56px; }
  .sc-login-brand-panel { display: none; }
  .sc-login-form-panel { min-height: calc(100dvh - 56px); padding: 30px 18px; }
}

@media (max-width: 520px) {
  .sc-topbar-inner { justify-content: space-between; }
  .sc-topbar-brand small { display: none; }
  .sc-login-form-panel { align-items: flex-start; padding: 20px 13px 32px; }
  .sc-login-card { padding: 36px 22px 30px; border-radius: 20px; }
  .sc-login-card::before { left: 22px; }
}
