html,
    body,
    #app {
      height: 100%;
      margin: 0;
      padding: 0;
    }

    #loader-wrapper {
      position: fixed;
      inset: 0;
      z-index: 999999;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: #0b1220;
      font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
      -webkit-font-smoothing: antialiased;
    }

    .loader-bg {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .loader-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(48px);
      opacity: 0.5;
    }

    .loader-orb-a {
      width: 420px;
      height: 420px;
      left: -100px;
      top: -80px;
      background: radial-gradient(circle, #1d4ed8 0%, transparent 70%);
      animation: orbFloatA 10s ease-in-out infinite;
    }

    .loader-orb-b {
      width: 380px;
      height: 380px;
      right: -80px;
      bottom: -60px;
      background: radial-gradient(circle, #3070b0 0%, transparent 70%);
      animation: orbFloatB 12s ease-in-out infinite;
    }

    .loader-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
      background-size: 48px 48px;
      -webkit-mask-image: radial-gradient(ellipse at center, black 15%, transparent 72%);
      mask-image: radial-gradient(ellipse at center, black 15%, transparent 72%);
    }

    .loader-content {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 28px;
      padding: 24px;
      text-align: center;
    }

    .loader-mark {
      position: relative;
      width: 88px;
      height: 88px;
    }

    .loader-ring {
      position: absolute;
      inset: 0;
      border-radius: 50%;
      border: 2px solid rgba(255, 255, 255, 0.08);
    }

    .loader-ring::before {
      content: "";
      position: absolute;
      inset: -2px;
      border-radius: 50%;
      border: 2px solid transparent;
      border-top-color: #7eb6dc;
      border-right-color: rgba(126, 182, 220, 0.45);
      animation: spin 1.1s cubic-bezier(0.55, 0.15, 0.35, 0.85) infinite;
    }

    .loader-ring-outer {
      inset: -10px;
      border-color: rgba(255, 255, 255, 0.04);
    }

    .loader-ring-outer::before {
      inset: -2px;
      border-top-color: #3b82f6;
      border-right-color: rgba(59, 130, 246, 0.3);
      border-width: 1.5px;
      animation: spin 1.8s linear infinite reverse;
    }

    .loader-core {
      position: absolute;
      inset: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background:
        linear-gradient(145deg, rgba(48, 112, 176, 0.4), rgba(0, 48, 112, 0.28));
      border: 1px solid rgba(255, 255, 255, 0.12);
      box-shadow:
        0 0 0 1px rgba(48, 112, 176, 0.28),
        0 12px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
      color: #e2e8f0;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.02em;
    }

    .loader-logo {
      display: block;
      width: 168px;
      height: auto;
    }

    .loader-brand {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }

    .loader-title {
      margin: 0;
      color: #f1f5f9;
      font-size: 22px;
      font-weight: 600;
      letter-spacing: 0.12em;
    }

    .loader-sub {
      margin: 0;
      color: rgba(148, 163, 184, 0.95);
      font-size: 13px;
      letter-spacing: 0.06em;
    }

    .loader-bar {
      width: 168px;
      height: 2px;
      border-radius: 999px;
      overflow: hidden;
      background: rgba(255, 255, 255, 0.08);
    }

    .loader-bar > i {
      display: block;
      width: 40%;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, transparent, #7eb6dc, #3070b0, transparent);
      animation: barSlide 1.4s ease-in-out infinite;
    }

    .loader-hint {
      margin: 0;
      color: rgba(100, 116, 139, 0.95);
      font-size: 12px;
      letter-spacing: 0.04em;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    @keyframes barSlide {
      0% { transform: translateX(-120%); }
      100% { transform: translateX(320%); }
    }

    @keyframes orbFloatA {
      0%, 100% { transform: translate(0, 0); }
      50% { transform: translate(28px, 18px); }
    }

    @keyframes orbFloatB {
      0%, 100% { transform: translate(0, 0); }
      50% { transform: translate(-22px, -16px); }
    }

    @media (max-width: 480px) {
      .loader-title {
        font-size: 18px;
        letter-spacing: 0.08em;
      }

      .loader-mark {
        width: 76px;
        height: 76px;
      }
    }
