/* Site-wide background: avatar-background.webp(Black and red hoodie) */
:root { --site-bg: url("/admin/assets/bg/avatar-background.webp"); }

html, body {
  background-color: #0a0708 !important;
  background-image: var(--site-bg) !important;
  background-repeat: no-repeat !important;
  background-position: 75% center !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}

/* Slightly darkened, keeping a subdued black and red tone + Readable body text */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(125% 95% at 76% 44%, rgba(10,7,8,.00) 0%, rgba(10,7,8,.18) 62%, rgba(10,7,8,.34) 100%);
}
body > * { position: relative; z-index: 1; }

/* Layout container reveals background */
#app, #root, .vben-layout, .vben-admin-layout, .app-layout, .layout-content, .layout-main,
.app-main, .main-content, .page-content, .content-wrapper, .vben-page, .scrollbar,
.ant-layout, .ant-layout-content, .el-container, .el-main, main, .wrap, .container {
  background: transparent !important;
}

/* Card / panel / Table: Translucent glass to ensure text and buttons are clear */
.card, .panel, .box, .vben-card, .bg-card, .table-box, .form-box, .chart-card,
.ant-card, .ant-table, .ant-table-wrapper, .ant-modal-content, .ant-drawer-content,
.el-card, .el-table, .el-dialog, .el-drawer {
  background: rgba(16,12,13,.46) !important;
  backdrop-filter: blur(2px);
}

/* Main panel class (God is also insecure) C2 Used uniformly in the aggregated version backend .panel) */
.panel { background: rgba(16,12,13,.40) !important; backdrop-filter: blur(2px); }

/* Side panel / Top bar */
aside, .aside, .sidebar, .vben-menu, .ant-menu, .el-menu,
header, .header, .vben-header, .ant-layout-header {
  background: rgba(10,8,9,.80) !important;
}

/* The background color of the input box and buttons should not be whitish. */
input, textarea, select, .ant-input, .ant-select-selector, .el-input__inner {
  background-color: rgba(12,9,10,.78) !important;
}
/* ===== Arco / Vben Layout: Let the background show through ===== */
html, body {
  --color-bg-1: rgba(12,9,10,.24);
  --color-bg-2: rgba(12,9,10,.30);
  --color-bg-3: rgba(12,9,10,.36);
  --color-bg-4: rgba(12,9,10,.42);
  --color-bg-5: rgba(12,9,10,.50);
  --color-bg-white: rgba(16,12,13,.28);
  --color-menu-dark-bg: rgba(10,8,9,.72);
  --color-menu-light-bg: rgba(10,8,9,.72);
}

.arco-layout,
.arco-layout-main,
.arco-layout-content,
.arco-layout-sider,
.arco-layout-header,
.arco-layout-footer,
.arco-layout .main,
.arco-layout-right,
.layout-default,
.layout-default__right,
.arco-page,
.arco-page-wrapper,
.arco-page-header,
.arco-scrollbar,
.arco-scrollbar-container {
  background: transparent !important;
}

/* Darken the sidebar and top bar a little to ensure the menu is clear. */
.arco-layout-sider, .arco-menu-dark, .arco-menu {
  background: rgba(10,8,9,.62) !important;
}
.arco-layout-header {
  background: rgba(10,8,9,.48) !important;
  backdrop-filter: blur(2px);
}

/* Card / Table / Pop-up window: Translucent glass */
.arco-card, .arco-card-body, .arco-table, .arco-table-container, .arco-table-th,
.arco-modal, .arco-modal-content, .arco-drawer, .arco-drawer-content,
.arco-tabs-content, .arco-collapse-item-content, .arco-descriptions {
  background: rgba(16,12,13,.30) !important;
  backdrop-filter: blur(1px);
}
.arco-table-td { background: transparent !important; }

/* Portrait mode on mobile phones: cover Only about is visible in landscape orientation 1/8 of the screen is visible, with the position shifted slightly to the left to ensure the watermark is fully in frame. */
@media (max-width: 640px) {
  html, body {
    background-position: 70% center !important;
  }
}

/* Login page: Remove the entire solid-color background to allow the background to show through. */
.login,
.login__panel,
.login .arco-col,
.login__form,
.login-form,
.login-form-wrapper,
.login__banner,
.login__illustration,
.login [class*="banner"],
.login [class*="illustration"] {
  background: transparent !important;
}
.login__panel,
.login-form-wrapper {
  background: rgba(12,10,11,.42) !important;
  backdrop-filter: blur(2px);
}
.login-left,
.login-left__terminal,
.login-left__terminal-head,
.login-left__terminal-body,
.login__body { background: transparent !important; background-image: none !important; }
/* ===== Author’s watermark (steganographic layer): Bottom-right corner of the interface + Tiled diagonally, almost invisible ===== */
body::after {
  content: "God also feels inferior C2";
  position: fixed;
  right: 12px;
  bottom: 8px;
  z-index: 2147483000;
  pointer-events: none;
  font-size: 11px;
  letter-spacing: 0.4px;
  color: rgba(255, 120, 120, 0.22);
  text-shadow: 0 0 6px rgba(180, 30, 30, 0.25);
}

html::after {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: 2147482000;
  pointer-events: none;
  opacity: 0.014;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 26px;
  color: #ff4d4d;
  transform: rotate(-24deg);
  white-space: pre;
  word-break: break-all;
  line-height: 120px;
  background-image: none;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
}

/* The pop-up window is opaque to prevent the table from showing through. */.arco-modal,.arco-modal-content,.arco-modal-header,.arco-modal-footer{background:#14181d !important;}
.arco-modal-mask{background:rgba(0,0,0,.55) !important;}

