#fs-loading-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    color: #fff;
    background: #061926 url("../images/title-loading.webp?ver=1") center center / cover no-repeat;
    font-family: "Noto Sans Regular", Arial, sans-serif;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#fs-loading-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 15, 29, 0.08), rgba(0, 15, 29, 0.18) 55%, rgba(0, 10, 20, 0.72));
}

.fs-loading-content {
    position: absolute;
    left: 50%;
    top: 78%;
    width: min(82vw, 760px);
    transform: translate(-50%, -50%);
    text-align: center;
    filter: drop-shadow(0 3px 4px rgba(0, 20, 28, 0.7));
}

.fs-loading-panel {
    width: min(92%, 620px);
    margin: 0 auto;
}

.fs-loading-status {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
    font-family: "Noto Sans SemiBold", Arial, sans-serif;
    font-size: clamp(14px, 1.6vw, 20px);
    letter-spacing: 0.02em;
}

.fs-loading-track {
    height: clamp(12px, 1.5vw, 18px);
    overflow: hidden;
    padding: 3px;
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    background: rgba(1, 22, 38, 0.72);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.35);
}

#fs-loading-fill {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #0878e8 0%, #21bff3 58%, #8deaff 100%);
    box-shadow: 0 0 10px rgba(55, 204, 255, 0.72);
    transition: width 0.18s ease-out;
}

#fs-loading-screen.fs-loading-complete {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#fs-loading-screen.fs-loading-error #fs-loading-fill {
    background: #ef5350;
}

@media (max-width: 700px), (max-height: 520px) {
    .fs-loading-content {
        top: 73%;
    }
}
