body { padding: 0; margin: 0 }
html,body{
    width: 100%;
    height: 100%;
    font-size: 0;
}
#unity-container { position: relative; background: url('01-bg-0001-1.jpg') no-repeat center; background-size: 100% 100%;margin: 0 auto; }
#unity-container.unity-desktop { width: 100%; height: 100%  }
/* #unity-container.unity-desktop { width: 430px; height: 932px; } */
#unity-container.unity-mobile { width: 100%; height: 100% }
#unity-canvas { background-color: transparent }
.unity-mobile #unity-canvas { width: 100%; height: 100% }
#unity-loading-bar { position: absolute; left: 50%; top: 20%; transform: translate(-50%, -50%); display: none; width: 90%;}
#unity-logo {
    width: 100%;
    max-width: 398px;
    height: 223px;
    background: url('01_ing_logo_01.png') no-repeat center;
    background-size: 100% 100%;
    margin: 0 auto;
}
#unity-progress-bar-empty {
    width: 68%;
    max-width: 732px;
    aspect-ratio: 732 / 46;
    height: auto;
    background: url('01_img_lodingbarbg_01.png') no-repeat center / 100% 100%;
    margin: 0 auto;
    position: absolute;
    bottom: 40%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 12px rgba(212, 175, 55, 0.22);
}
.progress-track {
    position: absolute;
    /* 填充条 720x34，底板 732x46，四周各留 6px 金边 */
    inset: calc(100% * 6 / 46) calc(100% * 6 / 732);
    overflow: hidden;
    container-type: inline-size;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.55);
}
#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: url('01_img_lodingbar_01.png') no-repeat left center;
    background-size: 100% 100%;
    background-size: 100cqi 100%;
    transform: translateZ(0);
    will-change: width;
    box-shadow: 3px 0 10px rgba(64, 140, 255, 0.5);
}
#unity-progress-bar-full::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 40%;
    width: 36cqi;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.06) 38%,
        rgba(190, 225, 255, 0.48) 50%,
        rgba(255, 255, 255, 0.06) 62%,
        transparent 100%
    );
    animation: progress-shimmer 1.7s ease-in-out infinite;
    pointer-events: none;
}
@keyframes progress-shimmer {
    0% { transform: translateX(-130%); }
    100% { transform: translateX(320%); }
}
@media (prefers-reduced-motion: reduce) {
    #unity-progress-bar-full::after { animation: none; }
}
#unity-footer { position: relative;display: none }
#unity-logo-title-footer { float:left; width: 102px; height: 38px; background: url('unity-logo-title-footer.png') no-repeat center;  }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-fullscreen-button { cursor:pointer; float: right; width: 38px; height: 38px; background: url('fullscreen-button.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
.progress{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    color: #fff6d2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 8px rgba(255, 196, 64, 0.4);
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
    font-family: Arial, Helvetica, sans-serif;
}
.loading-wrp {
    position: absolute;
    bottom: 101%;
    font-size: 14px;
    color: #FFF;
    opacity: 0.5; 
}
.loading-wrp>span{
    float: left;
    margin-bottom: 5px;
}

.loading,
.loading > div {
  position: relative;
  box-sizing: border-box;
}

.loading {
  display: inline-block;
  font-size: 0;
  color: #fff;

}

.loading.la-dark {
  color: #555;
}

.loading > div {
  display: inline-block;
  float: none;
  background-color: currentColor;
  border: 0 solid currentColor;
}

.loading {
  width: 54px;
  height: 18px;
}

.loading > div {
  width: 10px;
  height: 10px;
  margin: 4px;
  border-radius: 100%;
  animation: ball-beat 0.7s -0.15s infinite linear;
}

.loading > div:nth-child(2n-1) {
  animation-delay: -0.5s;
}

@keyframes ball-beat {
  50% {
    opacity: 0.2;
    transform: scale(0.75);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/* 仅仅在PC上生效 */
@media screen and (min-width: 800px) {
  body {
    /* background: url('pc-bg.jpg') no-repeat center;
    background-size: cover;
    background-position: center; */
    /* backdrop-filter: blur(10px); */
    /* -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -o-filter: blur(10px);
    -ms-filter: blur(10px);
    filter: blur(10px); */
    /* 斜45度渐变，黑色到黄色 */
    background: #0f1112;
  } 
  #unity-container{
    height: 100%; /* 或其他固定高度 */
    aspect-ratio: 9 / 16;
    width: auto !important; /* 宽度将根据高度和宽高比自动计算 */
  }
}

