/*
Better_Alist
Fixed & optimized by Versior
*/

/* ===== 背景 ===== */
html, body {
    background: transparent !important;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;

    background-image: url("https://cdn.jsdelivr.net/gh/Versior/Better_Alist@main/img/123.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ===== 内容半透明（通用，防 hash 变化） ===== */
.ant-layout,
.ant-layout-content,
.layout,
.main {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px);
}

html[data-theme="dark"] .ant-layout,
html[data-theme="dark"] .ant-layout-content,
html[data-theme="dark"] .layout,
html[data-theme="dark"] .main {
    background: rgba(20, 20, 20, 0.6) !important;
}

/* ===== 底部游鱼 ===== */
.fish-container {
    width: 100%;
    height: 200px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: -1;
    opacity: .5;
    pointer-events: none;
}

/* ===== 回到顶部猫猫 ===== */
.sw-Hennnyano {
    width: 224px;
    height: 224px;
    position: fixed;
    left: 0;
    bottom: -230px;
    z-index: 100;
    transition: bottom 1.3s cubic-bezier(0,2.06,.56,.78);
    cursor: pointer;
}

.sw-Hennnyano.show {
    bottom: -60px;
}

.sw-Hennnyano .body {
    background: url("https://cdn.jsdelivr.net/gh/Versior/Better_Alist@main/img/img_hennyano_body.png") left bottom/contain no-repeat;
}

.sw-Hennnyano .eyes {
    background: url("https://cdn.jsdelivr.net/gh/Versior/Better_Alist@main/img/img_hennyano_eyes.png") left bottom/contain no-repeat;
}
