#mobile-preload{
      --bg-base: #EEF5FC;
      --bg-gradient-top: #F6FAFF;
      --bg-gradient-bottom: #DFECFA;
      --orb-ice-cyan: rgba(125, 211, 252, 0.42);
      --orb-crystal-blue: rgba(56, 189, 248, 0.28);

      --glass-surface: rgba(255, 255, 255, 0.70);
      --glass-surface-subtle: rgba(255, 255, 255, 0.50);
      --glass-border-outer: rgba(255, 255, 255, 0.90);
      --glass-shadow: 
        0 20px 48px -12px rgba(15, 41, 66, 0.08),
        0 4px 16px -2px rgba(14, 116, 144, 0.05),
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.95);

      --text-primary: #0F2942;
      --text-secondary: #476788;
      --text-muted: #7C9BB8;

      --accent-primary: #0284C7;
      --accent-bright: #38BDF8;
      --accent-deep: #0369A1;
      --accent-glow: rgba(56, 189, 248, 0.50);
      --track-bg: rgba(15, 41, 66, 0.08);
      --status-ready: #0EA5E9;
      --status-warn-bg: rgba(240, 249, 255, 0.88);
      --status-error: #E11D48;
      --status-error-bg: rgba(255, 241, 242, 0.90);
      --focus-ring: #0284C7;

      --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      --font-num: "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

      --card-radius: 28px;
      --pill-radius: 16px;
      --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    }
#mobile-preload *{
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-tap-highlight-color: transparent;
    }
#mobile-preload{
      width: 100%;
      height: 100%;
      overflow: hidden;
      font-family: var(--font-sans);
      background-color: var(--bg-base);
      color: var(--text-primary);
      -webkit-font-smoothing: antialiased;
    }
#mobile-preload{
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
      background: linear-gradient(165deg, var(--bg-gradient-top) 0%, var(--bg-base) 52%, var(--bg-gradient-bottom) 100%);
    }
#mobile-preload .ambient-stage{
      position: absolute;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
      z-index: 0;
    }
#mobile-preload .ambient-orb{
      position: absolute;
      border-radius: 50%;
      filter: blur(48px);
      transform: translateZ(0);
    }
#mobile-preload .ambient-orb--top{
      width: 320px;
      height: 320px;
      top: -60px;
      right: -50px;
      background: radial-gradient(circle, var(--orb-ice-cyan) 0%, transparent 70%);
      animation: floatOrb 8s ease-in-out infinite alternate;
    }
#mobile-preload .ambient-orb--bottom{
      width: 360px;
      height: 360px;
      bottom: -80px;
      left: -70px;
      background: radial-gradient(circle, var(--orb-crystal-blue) 0%, transparent 70%);
      animation: floatOrb 10s ease-in-out infinite alternate-reverse;
    }
#mobile-preload .ambient-stage-floor{
      position: absolute;
      bottom: 8%;
      left: 50%;
      transform: translateX(-50%);
      width: 480px;
      height: 140px;
      border-radius: 50%;
      background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.75) 0%, rgba(186, 230, 253, 0.2) 55%, transparent 75%);
      border-top: 1px solid rgba(255, 255, 255, 0.9);
      filter: blur(2px);
    }
@keyframes floatOrb{
      0% { transform: translate3d(0, 0, 0) scale(1); }
      100% { transform: translate3d(-12px, 16px, 0) scale(1.06); }
    }
#mobile-preload .preload-card{
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 348px;
      padding: 28px 22px 24px;
      border-radius: var(--card-radius);
      background: var(--glass-surface);
      backdrop-filter: blur(24px) saturate(160%);
      -webkit-backdrop-filter: blur(24px) saturate(160%);
      border: 1px solid var(--glass-border-outer);
      box-shadow: var(--glass-shadow);
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 20px;
    }
#mobile-preload .preload-card::before{
      content: "";
      position: absolute;
      top: 0;
      left: 24px;
      right: 24px;
      height: 1px;
      background: linear-gradient(90deg, transparent, #FFFFFF, transparent);
      opacity: 0.95;
    }
#mobile-preload .brand-header{
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      width: 100%;
    }
#mobile-preload .mascot-logo-wrap{
      position: relative;
      width: 84px;
      height: 84px;
      display: flex;
      align-items: center;
      justify-content: center;
      
      background: transparent;
    }
#mobile-preload .mascot-svg{
      width: 84px;
      height: 84px;
      overflow: visible;
      filter: drop-shadow(0 10px 16px rgba(2, 132, 199, 0.16));
    }
#mobile-preload .anim-monogram-float{animation:preloadBFloat 3.6s ease-in-out infinite}
#mobile-preload .anim-play-core{animation:preloadBPlay 2.2s ease-in-out infinite;transform-origin:56px 52px}
#mobile-preload .anim-orbit-dot{animation:preloadBOrbit 2.8s ease-in-out infinite alternate}
@keyframes preloadBFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-3.5px)}}
@keyframes preloadBPlay{0%,100%{transform:scale(1);filter:brightness(1)}50%{transform:scale(1.07);filter:brightness(1.08)}}
@keyframes preloadBOrbit{0%{opacity:.45;transform:scale(.9)}100%{opacity:1;transform:scale(1.1)}}
#mobile-preload .brand-titles{
      display: flex;
      flex-direction: column;
      gap: 3px;
    }
#mobile-preload .brand-name{
      font-size: 18px;
      font-weight: 600;
      letter-spacing: 0.02em;
      color: var(--text-primary);
    }
#mobile-preload .brand-tagline{
      font-size: 12.5px;
      font-weight: 400;
      color: var(--text-secondary);
    }
#mobile-preload .game-loader-box{
      width: 100%;
      padding: 14px 16px 13px;
      border-radius: 20px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(240, 249, 255, 0.58) 100%);
      border: 1px solid rgba(255, 255, 255, 0.92);
      box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 6px 16px -4px rgba(2, 132, 199, 0.07);
      display: flex;
      flex-direction: column;
      gap: 9px;
    }
#mobile-preload .loader-hud-top{
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 8px;
    }
#mobile-preload .loader-meta-left{
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 3px;
      text-align: left;
    }
#mobile-preload .demo-mock-badge{
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 2px 7px;
      border-radius: 6px;
      background: rgba(2, 132, 199, 0.10);
      border: 1px dashed rgba(2, 132, 199, 0.35);
      color: var(--accent-deep);
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.02em;
    }
#mobile-preload .loader-phase-text{
      font-size: 12px;
      font-weight: 600;
      color: var(--text-primary);
    }
#mobile-preload .loader-percent-readout{
      display: inline-flex;
      align-items: baseline;
      font-family: var(--font-num);
      line-height: 1;
      font-variant-numeric: tabular-nums;
      filter: drop-shadow(0 2px 8px rgba(56, 189, 248, 0.25));
    }
#mobile-preload .loader-percent-num{
      font-size: 32px;
      font-weight: 800;
      letter-spacing: -0.03em;
      background: linear-gradient(180deg, #0369A1 0%, #0284C7 55%, #0EA5E9 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
#mobile-preload .loader-percent-unit{
      font-size: 14px;
      font-weight: 700;
      color: var(--accent-primary);
      margin-left: 2px;
    }
#mobile-preload .game-bar-track{
      position: relative;
      width: 100%;
      height: 10px;
      border-radius: 999px;
      background: rgba(15, 41, 66, 0.09);
      padding: 1.5px;
      box-shadow: 
        inset 0 1px 2px rgba(15, 41, 66, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.9);
      overflow: hidden;
    }
#mobile-preload .game-bar-fill{
      position: relative;
      height: 100%;
      width: var(--progress-value, 0%);
      border-radius: 999px;
      background: linear-gradient(90deg, #38BDF8 0%, #0EA5E9 55%, #0284C7 100%);
      box-shadow: 0 0 12px var(--accent-glow);
      transition: width 0.35s var(--ease-out-expo);
      overflow: hidden;
    }
#mobile-preload .game-bar-fill::before{
      content: "";
      position: absolute;
      inset: 0;
      background-image: linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.22) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0.22) 75%,
        transparent 75%,
        transparent
      );
      background-size: 16px 16px;
      animation: barStripeMove 1s linear infinite;
    }
#mobile-preload .game-bar-fill::after{
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      width: 14px;
      background: linear-gradient(90deg, transparent, #FFFFFF);
      border-radius: 999px;
      opacity: 0.95;
    }
@keyframes barStripeMove{
      from { background-position: 0 0; }
      to { background-position: 16px 0; }
    }
#mobile-preload .loader-steps-footer{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding-top: 2px;
    }
#mobile-preload .step-pips{
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 5px;
      flex: 1;
    }
#mobile-preload .step-pip{
      height: 4px;
      border-radius: 999px;
      background: rgba(15, 41, 66, 0.10);
      transition: background 0.25s, box-shadow 0.25s;
    }
#mobile-preload .step-pip[data-done="true"]{
      background: linear-gradient(90deg, #38BDF8, #0284C7);
      box-shadow: 0 0 6px rgba(56, 189, 248, 0.45);
    }
#mobile-preload .step-counter-label{
      font-family: var(--font-num);
      font-size: 11px;
      font-weight: 600;
      color: var(--text-secondary);
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
    }
#mobile-preload .preload-card[data-mode="indeterminate"] .loader-percent-readout, #mobile-preload .preload-card[data-mode="indeterminate"] .loader-steps-footer{
      display: none;
    }
#mobile-preload .preload-card[data-mode="indeterminate"] .game-bar-fill{
      width: 45% !important;
      animation: indeterminateSlide 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }
@keyframes indeterminateSlide{
      0% { transform: translateX(-110%); }
      100% { transform: translateX(240%); }
    }
#mobile-preload .resource-grid{
      width: 100%;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      list-style: none;
    }
#mobile-preload .resource-item{
      position: relative;
      padding: 10px 8px 9px;
      border-radius: var(--pill-radius);
      background: var(--glass-surface-subtle);
      border: 1px solid var(--glass-border-outer);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      transition: background 0.25s, border-color 0.25s;
    }
#mobile-preload .resource-item[data-status="loading"]{
      background: rgba(255, 255, 255, 0.80);
      border-color: rgba(56, 189, 248, 0.55);
      box-shadow: 0 4px 12px -2px rgba(2, 132, 199, 0.08);
    }
#mobile-preload .resource-item[data-status="ready"]{
      background: rgba(240, 249, 255, 0.75);
      border-color: rgba(14, 165, 233, 0.35);
    }
#mobile-preload .resource-item[data-status="error"]{
      background: var(--status-error-bg);
      border-color: rgba(225, 29, 72, 0.3);
    }
#mobile-preload .resource-icon-wrap{
      position: relative;
      width: 26px;
      height: 26px;
      border-radius: 8px;
      background: rgba(224, 242, 254, 0.65);
      color: var(--accent-primary);
      display: flex;
      align-items: center;
      justify-content: center;
    }
#mobile-preload .resource-item[data-status="waiting"] .resource-icon-wrap{
      background: rgba(15, 41, 66, 0.04);
      color: var(--text-muted);
    }
#mobile-preload .resource-item[data-status="error"] .resource-icon-wrap{
      background: rgba(225, 29, 72, 0.1);
      color: var(--status-error);
    }
#mobile-preload .resource-icon-wrap svg{
      width: 15px;
      height: 15px;
    }
#mobile-preload .resource-spinner{
      display: none;
      position: absolute;
      inset: -2px;
      border-radius: 10px;
      border: 1.5px solid transparent;
      border-top-color: var(--accent-primary);
      border-right-color: var(--accent-bright);
      animation: spinRing 1s linear infinite;
    }
#mobile-preload .resource-item[data-status="loading"] .resource-spinner{
      display: block;
    }
@keyframes spinRing{
      to { transform: rotate(360deg); }
    }
#mobile-preload .resource-name{
      font-size: 12px;
      font-weight: 500;
      color: var(--text-primary);
      line-height: 1.2;
    }
#mobile-preload .resource-badge{
      display: inline-flex;
      align-items: center;
      gap: 3px;
      font-size: 11px;
      color: var(--text-muted);
      line-height: 1.2;
    }
#mobile-preload .resource-item[data-status="loading"] .resource-badge{
      color: var(--accent-primary);
      font-weight: 500;
    }
#mobile-preload .resource-item[data-status="ready"] .resource-badge{
      color: var(--status-ready);
      font-weight: 500;
    }
#mobile-preload .resource-item[data-status="error"] .resource-badge{
      color: var(--status-error);
      font-weight: 500;
    }
#mobile-preload .status-dot{
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: currentColor;
    }
#mobile-preload .feedback-slot{
      width: 100%;
      display: none;
      flex-direction: column;
      gap: 10px;
      padding: 11px 13px;
      border-radius: 16px;
      text-align: left;
    }
#mobile-preload .preload-card[data-network="slow"] .feedback-slot--slow{
      display: flex;
      background: var(--status-warn-bg);
      border: 1px solid rgba(56, 189, 248, 0.35);
    }
#mobile-preload .preload-card[data-network="error"] .feedback-slot--error{
      display: flex;
      background: var(--status-error-bg);
      border: 1px solid rgba(225, 29, 72, 0.25);
    }
#mobile-preload .feedback-row{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
#mobile-preload .feedback-text{
      font-size: 11.5px;
      line-height: 1.45;
      color: var(--text-secondary);
    }
#mobile-preload .preload-card[data-network="error"] .feedback-text{
      color: #881337;
    }
#mobile-preload .action-btn{
      flex-shrink: 0;
      appearance: none;
      border: 1px solid rgba(2, 132, 199, 0.25);
      background: #FFFFFF;
      color: var(--accent-primary);
      font-family: inherit;
      font-size: 12px;
      font-weight: 600;
      padding: 7px 12px;
      border-radius: 10px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      box-shadow: 0 2px 6px rgba(15, 41, 66, 0.04);
      transition: transform 0.15s, background 0.15s;
    }
#mobile-preload .action-btn:hover{
      background: #F0F9FF;
    }
#mobile-preload .action-btn:active{
      transform: scale(0.97);
    }
#mobile-preload .action-btn--error{
      border-color: rgba(225, 29, 72, 0.3);
      color: var(--status-error);
    }
#mobile-preload .action-btn:focus-visible, #mobile-preload .review-btn:focus-visible{
      outline: 2px solid var(--focus-ring);
      outline-offset: 2px;
    }
@media (max-width: 350px){#mobile-preload{ padding: 12px; }
#mobile-preload .preload-card{ padding: 20px 15px 18px; gap: 15px; }
#mobile-preload .mascot-logo-wrap, #mobile-preload .mascot-svg{ width: 72px; height: 72px; }
#mobile-preload .loader-percent-num{ font-size: 26px; }
#mobile-preload .feedback-row{ flex-direction: column; align-items: stretch; }
#mobile-preload .action-btn{ justify-content: center; }

    }
@media (orientation: landscape) and (max-height: 520px){#mobile-preload .preload-card{
        max-width: 600px;
        padding: 18px 22px;
        display: grid;
        grid-template-columns: 185px 1fr;
        grid-template-areas:
          "brand loader"
          "brand resources"
          "brand feedback";
        column-gap: 20px;
        row-gap: 12px;
        text-align: left;
        align-items: center;
      }
#mobile-preload .brand-header{
        grid-area: brand;
        padding-right: 18px;
        border-right: 1px solid rgba(186, 230, 253, 0.5);
        height: 100%;
        justify-content: center;
      }
#mobile-preload .game-loader-box{ grid-area: loader; }
#mobile-preload .resource-grid{ grid-area: resources; }
#mobile-preload .feedback-slot{ grid-area: feedback; }

    }
@media (prefers-reduced-motion: reduce){#mobile-preload .ambient-orb, #mobile-preload .mascot-float-group, #mobile-preload .mascot-eyes, #mobile-preload .mascot-live-bubble, #mobile-preload .mascot-ear-glow, #mobile-preload .game-bar-fill::before, #mobile-preload .resource-spinner{
        animation: none !important;
      }
#mobile-preload .game-bar-fill{
        transition: none !important;
      }

    }


    

#mobile-preload{box-sizing:border-box;z-index:2147483600;overflow-y:auto;justify-content:safe center;font-family:var(--font-sans)}
#mobile-preload[hidden],#mobile-preload [hidden]{display:none!important}
#mobile-preload .preload-card{flex-shrink:0}
#mobile-preload .mobile-preload-status{background:none;padding:0;margin:0;border:0;min-height:0;color:#476788;font-size:12px;line-height:1.5}
#mobile-preload .loader-percent-readout{flex-shrink:0}
#mobile-preload .mobile-preload-actions{width:100%;display:flex;justify-content:center;gap:10px;margin:0}
#mobile-preload .mobile-preload-actions button,#mobile-preload .mobile-preload-actions a{min-height:44px;flex:1;justify-content:center;text-decoration:none}
#mobile-preload[data-state=error] .mobile-preload-status{color:#9f1239}
#mobile-preload .resource-badge,#mobile-preload .loader-percent-unit,#mobile-preload .action-btn{color:#036596}
#mobile-preload .resource-item[data-status=error] .resource-badge,#mobile-preload .action-btn--error{color:#9f1239}
#mobile-preload .resource-item[data-status=loading] .resource-badge,#mobile-preload .resource-item[data-status=ready] .resource-badge{color:#036596}
@media(min-width:900px) and (min-height:501px){#mobile-preload:not([data-review]){display:none!important}}
@media(orientation:landscape) and (max-height:520px){#mobile-preload .mobile-preload-actions{grid-area:feedback}}
@media(prefers-reduced-motion:reduce){#mobile-preload *,#mobile-preload *::before,#mobile-preload *::after{animation:none!important;transition:none!important}}

@media(prefers-reduced-motion:reduce){#mobile-preload .anim-monogram-float,#mobile-preload .anim-play-core,#mobile-preload .anim-orbit-dot{animation:none!important;transition:none!important}}
