/* 全站过渡：极轻、尽量无闪；只动内容，不动 body / 底栏 */
html, body {
    background: #f3f4f8 !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}
body.home-premium,
body.mine-premium,
body.sytemNotice,
body.gray_bg,
body.publish-premium {
    background: #f3f4f8 !important;
}

.page-fade-root {
    backface-visibility: hidden;
}

/* 进入：几乎看不出位移，只轻微提亮，避免“闪一下再出现” */
html.page-ready .page-fade-root {
    animation: pageSoftIn .28s cubic-bezier(.22, .82, .24, 1) both;
}
html.page-leaving .page-fade-root {
    animation: pageSoftOut .16s cubic-bezier(.4, 0, .2, 1) both;
    pointer-events: none;
}

@keyframes pageSoftIn {
    from { opacity: .96; }
    to { opacity: 1; }
}
@keyframes pageSoftOut {
    from { opacity: 1; }
    to { opacity: .94; }
}

.home-tabbar-shell,
#glass-select-mask,
.glass-select-panel {
    animation: none !important;
}

@keyframes smoothSpin {
    to { transform: rotate(360deg); }
}

.layui-m-layershade {
    background-color: rgba(20, 24, 38, .28) !important;
}
.layui-m-layer2 .layui-m-layerchild {
    background: rgba(255,255,255,.96) !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 40px rgba(31, 36, 48, .12) !important;
    color: #6b7280 !important;
    padding: 18px 20px 14px !important;
}
.layui-m-layer2 .layui-m-layercont {
    padding: 0 !important;
    line-height: 1.4 !important;
}
.layui-m-layer2 .layui-m-layercont i {
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
    -webkit-animation: none !important;
    animation: none !important;
}
.layui-m-layer2 .layui-m-layercont:before {
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    margin: 2px auto 0;
    border-radius: 50%;
    border: 2.5px solid #eee4d6;
    border-top-color: #e8a04a;
    -webkit-animation: smoothSpin .7s linear infinite;
    animation: smoothSpin .7s linear infinite;
}
.layui-m-layer2 .layui-m-layercont p,
.layui-m-layer2 .layui-m-layercont > div {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    color: #8a8f9c;
    font-size: 13px;
}
