.hf-page-nav-loading {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(2, 6, 23, 0.58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}

.hf-page-nav-loading.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.22s ease, visibility 0s linear 0s;
}

.hf-page-nav-loading__panel {
    width: min(26rem, 100%);
    border-radius: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 27, 75, 0.96) 52%, rgba(12, 74, 110, 0.94) 100%);
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    padding: 1.75rem 1.5rem 1.5rem;
    text-align: center;
    color: #f8fafc;
}

.hf-page-nav-loading__spinner {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 3px solid rgba(148, 163, 184, 0.25);
    border-top-color: #38bdf8;
    animation: hf-page-nav-loading-spin 0.85s linear infinite;
}

.hf-page-nav-loading__title {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.hf-page-nav-loading__tip {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.65;
    color: rgba(226, 232, 240, 0.92);
}

.hf-page-nav-loading__tip strong {
    color: #fde68a;
    font-weight: 700;
}

.hf-page-nav-loading__sub {
    margin: 0.75rem 0 0;
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.95);
}

html.hf-page-nav-loading-active,
html.hf-page-nav-loading-active body {
    overflow: hidden;
}

@keyframes hf-page-nav-loading-spin {
    to {
        transform: rotate(360deg);
    }
}
