/* Global anime background — loaded on ALL pages */
html {
    background:
        linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
        url('/assets/static/images/site-bg.jpg') center / cover no-repeat fixed !important;
    background-attachment: scroll, fixed !important;
}
body {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Auth pages */
body.auth-surface,
body.aixiamo-auth-surface,
body.redeemai-auth-surface {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}
body.auth-surface .auth-container,
body.auth-surface .redeemai-auth-shell,
body.auth-surface .auth-page {
    background: transparent !important;
}
body.auth-surface .redeemai-auth-left {
    background: rgba(79, 70, 229, 0.7) !important;
    backdrop-filter: blur(6px) !important;
}
body.auth-surface .redeemai-auth-right,
body.auth-surface .redeemai-auth-card {
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(4px) !important;
}

/* Dashboard / User center */
body.user-shell-body {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}
body.user-shell-body .user-shell-surface,
body.user-shell-body .bg-content {
    background: transparent !important;
}
body.user-shell-body .user-shell-header,
body.user-shell-body .fly-header {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px) !important;
}
body.user-shell-body .fly-panel,
body.user-shell-body .layui-card,
body.user-shell-body .site-content,
body.user-shell-body .layui-form,
body.user-shell-body .user-main-content {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(5px) !important;
    border-radius: 12px !important;
}
body.user-shell-body .layui-side,
body.user-shell-body .user-shell-sidebar,
body.user-shell-body .fly-panel-nav {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(5px) !important;
}

/* Store sub-pages (detail, order-query, etc.) — non-single-catalog */
body.store-surface {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}
body.store-surface .panel,
body.store-surface .item-detail,
body.store-surface .order-query-container {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(3px) !important;
    border-radius: 12px !important;
}
body.store-surface .navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
}

/* Enterprise item detail page — neutralize old theme artifacts (panel, acg-card, etc.) */
body.store-surface .enterprise-item-page .panel,
body.store-surface .enterprise-item-page .item-detail {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(229, 231, 235, 0.7) !important;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06) !important;
}
.enterprise-item-page .acg-card {
    background: #ffffff !important;
    box-shadow: none !important;
    cursor: default !important;
    border: none !important;
}
.enterprise-item-page .panel-header {
    box-shadow: none !important;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5) !important;
    background: transparent !important;
}
.enterprise-item-page .panel-body {
    background: transparent !important;
}
