/* ==========================================================================
   加载遮罩组件样式（配合 loading.js 使用）
   ========================================================================== */
.site-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(17, 22, 30, .32);
    z-index: 99999;
}
.site-loading.is-open { display: flex; }

.site-loading__box {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(16, 24, 40, .22);
    padding: 24px 30px;
    min-width: 180px;
    text-align: center;
}
.site-loading__spinner {
    display: block;
    width: 26px;
    height: 26px;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 3px solid #e9ebee;
    border-top-color: #c8161d;
    animation: site-spin .8s linear infinite;
}
.site-loading__msg {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: .02em;
    color: #1f2328;
}

@keyframes site-spin {
    to { transform: rotate(360deg); }
}
