/* Standalone minimal brand patch matching https://leduovps.cn/ homepage DOM & colors.
   Scoped only to .leduo-front-brand, sidebar brand slot, mobile drawer header, and login/regist welcome title.
   Does NOT touch layout, tables, pricing, or payment dialogs. */
body .leduo-front-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.6px;
  white-space: nowrap;
  color: #f2f6fb;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}
body .leduo-front-brand > span {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}
body .leduo-front-brand b {
  color: #2dd4a3;
  font-weight: 900;
}
body .leduo-front-brand .logo-mark {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #2dd4a3;
  color: #06251b;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}
body .leduo-front-brand:focus-visible {
  outline: 2px solid #2dd4a3;
  outline-offset: 4px;
  border-radius: 8px;
}

/* Desktop sidebar (asideMenu.js: <el-aside width="190px"> -> <a class="menu-alink"> -> .leduo-front-brand) */
body .el-aside > .menu-alink {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 10px 20px;
  text-decoration: none;
}
body .el-aside > .menu-alink > .leduo-front-brand {
  font-size: 21px;
}
body .el-aside .el-menu--collapse ~ .el-menu,
body .el-aside:has(.el-menu--collapse) > .menu-alink {
  justify-content: center;
  padding: 18px 0 20px;
}
body .el-aside:has(.el-menu--collapse) > .menu-alink > .leduo-front-brand > span:not(.logo-mark) {
  display: none;
}

/* Mobile drawer header (topMenu.js: .drawer-menu-top -> <a class="menu-alink"> -> .leduo-front-brand) */
@media screen and (max-width: 750px) {
  body .drawer-menu .drawer-menu-top {
    width: 100%;
    height: auto;
    min-height: 58px;
    padding: 14px 12px 6px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body .drawer-menu .drawer-menu-top .menu-alink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  body .drawer-menu .drawer-menu-top .leduo-front-brand {
    font-size: 20px;
  }
}

/* Login / register welcome brand slot */
body #login .container-back .text-title,
body #regist .container-back .text-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}