:root { color-scheme: dark; --bg: #05090f; --text: #e8eff5; --muted: #8292a5; --accent: #77e8ec; --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; cursor: pointer; }
button:disabled { cursor: wait; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.login-page { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(410px, 1fr); min-height: 100svh; }
.ion-scene { position: relative; min-width: 0; min-height: 720px; overflow: hidden; isolation: isolate; background: #04090f; }
.scene-halo { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 49% 42%, #11314455 0%, #07162730 38%, transparent 68%); }
.ion-scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(180deg, transparent 60%, #04090f77 83%, #04090f 100%); }
.ion-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; opacity: 0; }
.ion-canvas:active { cursor: grabbing; }
.ion-scene[data-render="webgl"] .ion-canvas { opacity: 1; }
.ion-scene[data-render="webgl"] .scene-fallback { display: none; }
.scene-fallback { position: absolute; width: 380px; max-width: 70%; aspect-ratio: 1; left: 50%; top: 42%; transform: translate(-50%, -50%); display: grid; place-items: center; color: #8de7ee; }
.fallback-mark { width: 30%; height: 30%; filter: drop-shadow(0 0 24px #36c1ea); stroke-width: .6; opacity: .8; }
.fallback-orbit { position: absolute; inset: 0; border: 1px solid #6de2ec70; border-radius: 46% 54% 35% 65%; transform: rotate(-28deg); box-shadow: 0 0 35px #347bac33, inset 0 0 35px #62d5f033; }
.orbit-two { inset: 15px -10px; transform: rotate(28deg) scaleY(.7); border-color: #998aef66; }
.scene-brand { position: absolute; top: 42px; left: 48px; display: flex; gap: 13px; align-items: center; z-index: 2; }
.brand-mark { width: 38px; height: 42px; color: var(--accent); stroke-width: 1.3; }
.brand-name { font-size: 28px; line-height: 1; font-weight: 540; letter-spacing: -.9px; }
.brand-period { color: var(--accent); }
.scene-brand p { margin: 8px 0 0; font-size: 10px; color: #8297a8; letter-spacing: 2px; }
.scene-coordinate { position: absolute; top: 57px; right: 36px; z-index: 2; font: 9px ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: 2px; color: #4e667a; }
.scene-caption { position: absolute; left: 48px; bottom: 132px; z-index: 2; pointer-events: none; }
.scene-kicker { display: flex; align-items: center; gap: 9px; font: 9px ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: 2.1px; color: #87b4bf; }
.status-dot { width: 4px; height: 4px; background: #95eaf2; border-radius: 50%; box-shadow: 0 0 10px #57ccdb; }
.scene-caption h2 { font-size: clamp(21px, 2.1vw, 30px); font-weight: 400; letter-spacing: 2px; margin: 18px 0 11px; color: #dbe7ee; }
.scene-caption p { font-size: 12px; color: #6e8899; letter-spacing: 1px; margin: 0; }
.code-rain { position: absolute; left: 0; bottom: 75px; width: 58%; height: 200px; opacity: .4; pointer-events: none; mask-image: linear-gradient(to right, #000, transparent), linear-gradient(to top, transparent, #000 30%, transparent); mask-composite: intersect; }
.scene-toolbar { position: absolute; bottom: 40px; left: 48px; right: 36px; z-index: 3; display: flex; gap: 16px; align-items: center; justify-content: space-between; border-top: 1px solid #9fd9ec14; padding-top: 20px; }
.scene-hint { display: flex; gap: 8px; align-items: center; font-size: 10px; letter-spacing: .5px; color: #667f91; white-space: nowrap; }
.scene-hint .icon { width: 14px; height: 14px; }
.scene-controls { display: flex; align-items: center; gap: 16px; }
.shape-next { display: flex; align-items: center; gap: 9px; padding: 5px 0; border: 0; background: none; color: #9bb3c4; white-space: nowrap; font-size: 10px; }
.shape-next:hover { color: #e5f5ff; }
#shapeNumber { color: #5c7a8b; font: 9px ui-monospace, monospace; }
.shape-next .icon { width: 13px; height: 13px; }
.palette-controls { display: flex; gap: 0; border-left: 1px solid #a4d5f01a; padding-left: 10px; }
.palette-dot { width: 24px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; position: relative; }
.palette-dot::before { content: ""; position: absolute; width: 10px; height: 10px; top: 9px; left: 7px; border-radius: 50%; background: var(--swatch); }
.palette-dot::after { content: ""; position: absolute; inset: 5px 3px; border: 1px solid transparent; border-radius: inherit; }
.palette-dot[aria-pressed="true"]::after { border-color: #b7cfdf8f; }
.palette-auto { --swatch: conic-gradient(#a49ffa, #6dedec, #b5edb0, #a49ffa); }
.palette-cyan { --swatch: #75dce8; }
.palette-violet { --swatch: #ac94ee; }
.palette-jade { --swatch: #85d9b1; }
.motion-toggle { border: 1px solid #b3d5ee24; background: #6ebef005; color: #a0bacb; border-radius: 50%; width: 27px; height: 27px; display: grid; place-items: center; padding: 0; }
.motion-toggle .icon { width: 14px; height: 14px; }
.play-icon, .motion-toggle[aria-pressed="true"] .pause-icon { display: none; }
.motion-toggle[aria-pressed="true"] .play-icon { display: block; }
.cursor-trail { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 8; }
.login-panel { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 120px 48px; min-width: 0; background: radial-gradient(ellipse at 70% 8%, #14203135, transparent 62%), #080d15; border-left: 1px solid #7799be0d; }
.login-panel::before { content: ""; position: absolute; width: 1px; height: 35%; left: -1px; top: 18%; background: linear-gradient(transparent, #76ccd32b, transparent); }
.panel-corner { position: absolute; right: 40px; top: 53px; color: #3e5266; font: 9px ui-monospace, monospace; letter-spacing: 2px; }
.login-content { width: 100%; max-width: 355px; }
.login-eyebrow { font: 9px ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: 3px; color: #7597ad; }
.login-heading h1 { font-size: clamp(30px, 3vw, 40px); font-weight: 460; letter-spacing: 2px; margin: 22px 0 14px; }
.login-heading h1 span { color: var(--accent); margin-left: 3px; }
.login-lead { color: #7d8e9f; font-size: 12px; letter-spacing: .6px; margin: 0; line-height: 1.8; }
.login-form { margin-top: 42px; }
.form-field + .form-field { margin-top: 23px; }
.form-field label { display: block; color: #afbecb; font-size: 12px; margin-bottom: 11px; letter-spacing: .7px; }
.input-wrap { display: flex; align-items: center; position: relative; height: 52px; border: 1px solid #6f8aa02e; border-radius: 9px; background: #0e17216b; transition: border-color .2s, box-shadow .2s, background .2s; }
.input-wrap:focus-within { border-color: #67cbd5a1; background: #10202b7d; box-shadow: 0 0 0 3px #68d0e009; }
.input-icon { width: 17px; height: 17px; margin-left: 16px; color: #526a7d; pointer-events: none; }
.input-wrap:focus-within .input-icon { color: #83c7ce; }
.input-wrap input { width: 100%; min-width: 0; height: 100%; padding: 0 13px; border: 0; outline: none; background: transparent; color: #e4eef4; font-size: 13px; caret-color: var(--accent); }
.input-wrap input::placeholder { color: #506176; font-size: 12px; }
.input-wrap input:-webkit-autofill { -webkit-text-fill-color: #e4eef4; box-shadow: 0 0 0 1000px #101c27 inset; border-radius: 8px; }
.password-toggle { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; margin-right: 3px; border: 0; border-radius: 6px; color: #647b8c; background: transparent; }
.password-toggle:hover { color: #a9dbe2; }
.password-toggle .icon { width: 18px; height: 18px; }
.eye-slash { display: none; }
.password-toggle[aria-pressed="true"] .eye-slash { display: block; }
.login-submit { position: relative; overflow: hidden; margin-top: 32px; width: 100%; height: 51px; display: flex; align-items: center; justify-content: center; gap: 13px; background: linear-gradient(105deg, #92edeb, #71d9e8 60%, #7dbbe8); color: #08212d; border: 1px solid #c6fcf744; border-radius: 9px; font-size: 13px; font-weight: 600; letter-spacing: 1px; box-shadow: 0 3px 24px #45b4d80c; transition: box-shadow .2s, filter .2s, transform .2s; }
.login-submit:hover { filter: brightness(1.08); box-shadow: 0 5px 28px #54c2da28; }
.login-submit:active { transform: translateY(1px); }
.login-submit .icon { width: 17px; height: 17px; transition: transform .2s; }
.login-submit:hover .submit-arrow { transform: translateX(3px); }
.login-submit:disabled { opacity: .72; }
.submit-spinner { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #092c4933; border-top-color: #123745; display: none; animation: spin .8s linear infinite; }
[aria-busy="true"] .submit-spinner { display: block; }
[aria-busy="true"] .submit-arrow { display: none; }
.error-slot { min-height: 47px; padding-top: 13px; }
.login-err { font-size: 12px; line-height: 1.6; color: #f2a3a6; margin: 0; overflow-wrap: anywhere; }
.account-hint { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 13px 0 0; color: #536a7b; font-size: 10px; letter-spacing: .5px; }
.account-hint span { display: block; width: 3px; height: 3px; background: #698293; border-radius: 50%; }
.panel-footer { position: absolute; bottom: 47px; width: calc(100% - 48px); display: flex; flex-wrap: wrap; gap: 12px 9px; align-items: center; justify-content: center; font-size: 10px; line-height: 1.5; letter-spacing: .5px; color: #455c70; }
.footer-brand, .footer-filing { display: flex; gap: 9px; align-items: center; white-space: nowrap; }
.panel-footer .icon { width: 15px; height: 17px; stroke-width: 1.2; }
.footer-divider { flex: none; height: 9px; width: 1px; margin: 0 3px; background: #66859b38; }
.footer-registration { color: inherit; text-decoration: none; white-space: nowrap; }
.footer-registration:hover { color: #8292a5; text-decoration: underline; text-underline-offset: 3px; }
.footer-registration:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1500px) { .login-panel { padding-left: 72px; padding-right: 72px; } .login-content { max-width: 380px; } }
@media (max-width: 1180px) { .scene-brand { left: 32px; } .scene-caption { left: 32px; } .scene-toolbar { left: 32px; right: 28px; } .scene-hint span { display: none; } .scene-coordinate { display: none; } .login-panel { padding-left: 36px; padding-right: 36px; } }
@media (max-width: 820px) {
  .login-page { display: flex; flex-direction: column; }
  .ion-scene { height: 330px; min-height: 330px; }
  .scene-brand { top: 24px; left: 26px; gap: 9px; }
  .brand-mark { width: 28px; height: 32px; }
  .brand-name { font-size: 23px; }
  .scene-brand p { font-size: 9px; letter-spacing: 1px; margin-top: 6px; }
  .scene-caption { display: none; }
  .scene-toolbar { bottom: 16px; left: 26px; right: 26px; padding-top: 13px; }
  .scene-hint span { display: inline; font-size: 9px; }
  .scene-controls { gap: 13px; }
  .palette-controls { gap: 0; padding-left: 8px; }
  .shape-next { gap: 5px; }
  .code-rain { bottom: 30px; height: 100px; opacity: .16; }
  .login-panel { padding: 48px 28px 96px; border: 0; flex: 1; }
  .login-content { max-width: 400px; }
  .panel-corner { display: none; }
  .login-heading h1 { font-size: 31px; margin-top: 15px; }
  .login-form { margin-top: 29px; }
  .input-wrap input { font-size: 16px; }
  .login-submit { margin-top: 27px; }
  .panel-footer { bottom: 28px; }
  .scene-fallback { width: 220px; top: 46%; }
}
@media (max-width: 430px) { .scene-hint { display: none; } .scene-toolbar { justify-content: flex-end; } .scene-controls { width: 100%; justify-content: space-between; gap: 18px; } .shape-next { margin-right: auto; } .ion-scene { height: 280px; min-height: 280px; } }
@media (max-width: 380px) { .panel-footer { flex-direction: column; } .footer-filing .footer-divider { display: none; } }
@media (max-height: 760px) and (min-width: 821px) { .ion-scene { min-height: 640px; } .scene-caption { bottom: 119px; } .login-panel { padding-top: 100px; padding-bottom: 90px; } .panel-footer { bottom: 29px; } .scene-toolbar { bottom: 30px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .cursor-trail { display: none; } }
