#loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* 背景图 */
#loading-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* ============================
   默认：横版（宽屏）
   base 300×174
   top  50×50
   ============================ */
.image-container {
    position: relative;
    width: 300px;
    height: 174px;
    z-index: 2;
}

/* base 图：自动撑满容器宽度 */
.image-container .base {
    width: 100%;
}

/* top 图：横版尺寸 */
.image-container .top {
    width: 66.34px;
    /* 横版 top */
    height: 66.34px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateY(-25%);
    /* 上移20% */
    z-index: 2;
    pointer-events: none;
}


.progress-bar {
    position: relative;
    z-index: 3;
    width: 60%;
    height: 8px;
    background: #D1E6F3;
    border-radius: 10px;
    top: 20%;
    overflow: hidden;
}

.progress-bar span {
    display: block;
    height: 100%;
    border-radius: 10px;
    background: #3BAAFF;
    width: 0%;
}

.progress-tip {
    position: relative;
    color: #30303D;
    font-size: 16px;
    z-index: 3;
    top: 19%;
}

.progress-txt {
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 34px;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
}



/* ============================
   竖屏：屏幕偏高时
   base 472×274
   top  79×79
   ============================ */
@media screen and (max-aspect-ratio: 3/4) {

    .image-container {
        width: 210px;
        height: 191.8px;
    }

    .image-container .top {
        width: 50px;
        /* 竖版 top */
        height: 50px;
        transform: translate(-50%, -50%) translateY(-90%);
    }

    .progress-bar {
        width: 80% !important;
        top: 25%
    }
    .progress-tip {
        top: 24%;
        font-size: 12px;
    }
}