#app[v-cloak] { display: none; }
#boot-splash {
  --bg: #f2f2f2; --panel: #fff; --ink: #171717; --ink-2: #666; --line: #dedee3;
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  align-items: center; justify-content: safe center; padding: 24px; overflow: auto;
  background: var(--bg); color: var(--ink); font: 16px system-ui, sans-serif;
}
#boot-splash *, #boot-splash { box-sizing: border-box; }
#boot-splash [hidden] { display: none; }
@media (max-width: 700px) { #boot-splash { padding: 12px; } }
@media (prefers-color-scheme: dark) {
  #boot-splash { --bg: #090909; --panel: #141414; --ink: #f5f5f5; --ink-2: #a3a3a3; --line: #303030; }
}
    /* ---------- 小精灵品牌登录页 ---------- */
    .auth-shell { min-height: calc(100dvh - 48px); padding: 0; background: transparent; }
    .auth-card { display: grid; grid-template-columns: .95fr 1.05fr; width: min(860px, 100%);
                 padding: 0; overflow: hidden; background: var(--panel); border: 1px solid var(--line);
                 border-radius: 24px; box-shadow: 0 24px 70px rgba(0, 0, 0, .12); backdrop-filter: none; }
    .auth-brand-panel { position: relative; display: flex; flex-direction: column; min-height: 500px;
                        padding: 44px 40px 34px; overflow: hidden; color: #f5f5f5; background: #171717; }
    .auth-particles { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
    .auth-particles i { --drift-x: 18px; position: absolute; display: block; width: 3px; height: 3px;
                        background: #f5f5f5; border-radius: 50%; opacity: 0;
                        animation: auth-particle-float 15s ease-in-out infinite; }
    .auth-particles i:nth-child(even) { --drift-x: -14px; }
    .auth-particles i:nth-child(4n) { width: 2px; height: 2px; }
    .auth-particles i:nth-child(6n) { width: 6px; height: 6px; border-radius: 1px;
                                      clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
    .auth-particles i:nth-child(3n) { animation-duration: 12s; }
    .auth-particles i:nth-child(3n + 2) { animation-duration: 18s; }
    .auth-particles i:nth-child(2n) { animation-delay: -3s; }
    .auth-particles i:nth-child(3n) { animation-delay: -6s; }
    .auth-particles i:nth-child(5n) { animation-delay: -9s; }
    .auth-particles i:nth-child(7n) { animation-delay: -12s; }
    .auth-particles i:nth-child(1) { left: 8%; top: 18%; }
    .auth-particles i:nth-child(2) { left: 23%; top: 8%; }
    .auth-particles i:nth-child(3) { left: 42%; top: 16%; }
    .auth-particles i:nth-child(4) { left: 65%; top: 9%; }
    .auth-particles i:nth-child(5) { left: 86%; top: 20%; }
    .auth-particles i:nth-child(6) { left: 93%; top: 42%; }
    .auth-particles i:nth-child(7) { left: 76%; top: 34%; }
    .auth-particles i:nth-child(8) { left: 55%; top: 39%; }
    .auth-particles i:nth-child(9) { left: 31%; top: 33%; }
    .auth-particles i:nth-child(10) { left: 12%; top: 46%; }
    .auth-particles i:nth-child(11) { left: 6%; top: 68%; }
    .auth-particles i:nth-child(12) { left: 25%; top: 78%; }
    .auth-particles i:nth-child(13) { left: 46%; top: 65%; }
    .auth-particles i:nth-child(14) { left: 66%; top: 77%; }
    .auth-particles i:nth-child(15) { left: 89%; top: 67%; }
    .auth-particles i:nth-child(16) { left: 82%; top: 91%; }
    .auth-particles i:nth-child(17) { left: 54%; top: 92%; }
    .auth-particles i:nth-child(18) { left: 34%; top: 90%; }
    .auth-brand, .auth-brand-message, .auth-brand-footer { position: relative; z-index: 1; }
    @keyframes auth-particle-float {
      0% { opacity: 0; transform: translate3d(0, 12px, 0) scale(.7); }
      35% { opacity: .62; }
      70% { opacity: .32; }
      100% { opacity: 0; transform: translate3d(var(--drift-x), -34px, 0) scale(1.15); }
    }
    .auth-brand { display: flex; align-items: center; gap: 15px; margin: 0; color: inherit;
                  background: transparent; letter-spacing: 0; }
    .auth-brand-mark { display: grid; place-items: center; flex: 0 0 auto; width: 54px; height: 54px;
                       color: #171717; background: #f5f5f5; border-radius: 16px; }
    .auth-brand-mark svg { width: 34px; height: 34px; fill: none; stroke: currentColor;
                           stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
    .auth-brand-text { display: flex; flex-direction: column; gap: 3px; }
    .auth-brand-text strong { color: #f5f5f5; font-size: 29px; font-weight: 720; line-height: 1.25; letter-spacing: .08em; }
    .auth-brand-text sup { margin-left: 3px; font-size: 10px; font-weight: 500; vertical-align: top; letter-spacing: 0; }
    .auth-brand-text span { display: block; width: auto; height: auto; color: #d4d4d4; background: transparent;
                            border-radius: 0; font-family: inherit; font-size: 14px; font-weight: 500;
                            line-height: 1.5; letter-spacing: .18em; white-space: nowrap; }
    .auth-brand-message { margin: auto 0; padding: 54px 0; }
    .auth-brand-message span { color: #a3a3a3; font-size: 13px; letter-spacing: .16em; }
    .auth-brand-message p { margin: 15px 0 0; color: #f5f5f5; font-size: 27px; font-weight: 600; line-height: 1.65; letter-spacing: .04em; }
    .auth-brand-footer { display: flex; align-items: center; gap: 9px; color: #a3a3a3; font-size: 12px; }
    .auth-brand-footer i { width: 6px; height: 6px; background: #f5f5f5; border-radius: 50%; }
    .auth-login-panel { display: flex; flex-direction: column; padding: 48px; background: var(--panel); }
    .auth-heading { margin-bottom: 28px; }
    .auth-section-label { display: block; margin-bottom: 10px; color: var(--ink-2); font-size: 12px; font-weight: 650; letter-spacing: .14em; }
    .auth-card .auth-heading h1 { margin: 0 0 10px; color: var(--ink); font-size: 28px; line-height: 1.35; }
    .auth-card .auth-sub { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.75; }
    .auth-login-form { display: flex; flex-direction: column; }
    .auth-field { gap: 8px; margin-bottom: 18px; color: var(--ink); font-size: 13px; }
    .auth-error { margin: 0 0 16px; }
    .auth-actions { flex-direction: column; gap: 6px; margin-top: 4px; }
    .auth-actions .auth-submit { width: 100%; min-height: 48px; padding: 0 22px; font-size: 15px; font-weight: 650; }
    .auth-switch { align-self: center; color: var(--ink-2); }
    .auth-note { display: flex; align-items: center; justify-content: center; gap: 6px;
                 margin: auto 0 0; padding-top: 26px; color: var(--ink-2); font-size: 12px; }
    .auth-note svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
    @media (max-width: 700px) {
      .auth-shell { min-height: calc(100dvh - 24px); }
      .auth-card { grid-template-columns: 1fr; width: min(440px, 100%); border-radius: 20px; }
      .auth-brand-panel { min-height: 0; padding: 24px; }
      .auth-brand-mark { width: 46px; height: 46px; border-radius: 13px; }
      .auth-brand-mark svg { width: 29px; height: 29px; }
      .auth-brand-text strong { font-size: 25px; }
      .auth-brand-text span { font-size: 12px; }
      .auth-brand-message, .auth-brand-footer { display: none; }
      .auth-particles i:nth-child(n + 11) { display: none; }
      .auth-login-panel { padding: 28px 24px 24px; }
      .auth-heading { margin-bottom: 24px; }
      .auth-card .auth-heading h1 { font-size: 25px; }
      .auth-note { padding-top: 24px; }
    }
    @media (prefers-color-scheme: dark) {
      .auth-brand-panel { color: #f5f5f5; background: #050505; }
      .auth-card { box-shadow: 0 24px 70px rgba(0, 0, 0, .35); }
    }
    @media (prefers-reduced-motion: reduce) {
      .auth-particles i { animation: none; opacity: .22; transform: none; }
    }

#boot-splash .auth-field { display: flex; flex-direction: column; font-weight: 650; }
.auth-field input { display: block; width: 100%; min-height: 46px; padding: 0 13px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--panel);
  color: var(--ink); font: 16px system-ui, sans-serif; }
.auth-password { position: relative; }
.auth-password input { padding-right: 64px; }
.auth-password button { position: absolute; right: 2px; top: 1px; bottom: 1px;
  min-width: 48px; border: 0; background: transparent; color: var(--ink-2); font: inherit; cursor: pointer; }
#boot-remember { color: var(--ink-2); font-size: 13px; margin-bottom: 16px; }
#boot-splash .auth-submit, .boot-retry {
  min-height: 48px; padding: 0 20px; border: 0; border-radius: 10px;
  background: var(--ink); color: var(--panel); font: 650 15px system-ui, sans-serif; cursor: pointer;
}
#boot-splash .auth-submit:disabled { opacity: .55; cursor: default; }
#boot-message { color: var(--ink-2); font-size: 14px; line-height: 1.6; margin: 14px 0 0; }
#boot-message:empty { display: none; }
#boot-retry { margin-top: 12px; align-self: flex-start; }
.boot-loading { width: 22px; height: 22px; margin-top: 12px; border: 2px solid var(--line);
  border-top-color: var(--ink); border-radius: 50%; animation: boot-spin .8s linear infinite; }
@keyframes boot-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .boot-loading { animation: none; } }
