/* ==========================================================================
   云盒网络 · 会员中心 / 登录页主题
   基于 V10 clientarea default 模板，只覆盖视觉层，保留 Vue / API 逻辑。
   ========================================================================== */

:root,
body {
  --color-primary: #2f5bff;
  --color-primary-hover: #1e43d8;
  --color-primary-light: #eef2ff;
  --color-menu-bg: #070b16;
  --color-menu-text: rgba(255, 255, 255, .62);
  --color-menu-text-active: #fff;
  --color-menu-hover-bg: rgba(255, 255, 255, .06);
  --color-danger: #e5484d;
  --color-warning: #f59e0b;
  --color-price-text: #e5484d;
}

body {
  background: #f4f6fb;
  color: #0b1220;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#mainLoading { background: #070b16; }
#mainLoading .ddr { background: #2f5bff; }

/* ---------------------------------------------------------------- shell */
.el-aside {
  background:
    radial-gradient(90% 40% at 50% 0%, rgba(47, 91, 255, .16), transparent 70%),
    linear-gradient(180deg, #070b16 0%, #0a1120 60%, #070b16 100%) !important;
  border-right: 1px solid rgba(255, 255, 255, .07);
  padding: 0 10px;
}

.el-aside .ali-logo {
  height: 30px;
  max-width: 150px;
  margin: 18px auto 10px;
  filter: brightness(0) invert(1);
}

.el-aside .menu-top {
  border-right: 0;
  background: transparent !important;
}

.el-aside .el-menu-item,
.el-aside .el-submenu__title {
  height: 44px;
  line-height: 44px;
  margin: 3px 6px;
  border-radius: 8px;
  color: rgba(255, 255, 255, .6) !important;
  font-size: 13px;
}

.el-aside .el-menu-item i,
.el-aside .el-submenu__title i {
  color: inherit !important;
}

.el-aside .el-menu-item:hover,
.el-aside .el-submenu__title:hover {
  background: rgba(255, 255, 255, .06) !important;
  color: #fff !important;
}

.el-aside .el-menu-item.is-active {
  background: linear-gradient(90deg, rgba(47, 91, 255, .34), rgba(47, 91, 255, .08)) !important;
  color: #fff !important;
  box-shadow: inset 3px 0 0 #2f5bff;
}

.el-aside .el-submenu .el-menu-item {
  min-width: 0;
  padding-left: 48px !important;
  font-size: 12.5px;
}

.el-aside .line {
  background: rgba(255, 255, 255, .08);
}

.el-header {
  width: calc(100% - 190px);
  height: 56px !important;
  background: rgba(255, 255, 255, .94) !important;
  border-bottom: 1px solid #e6e9f0;
  box-shadow: 0 8px 30px -28px rgba(11, 18, 32, .5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.el-main {
  padding: 84px 32px 40px !important;
  background: transparent !important;
  box-sizing: border-box;
}

.header-right .car-item { margin-right: 20px; }
.header-right .header-right-item img { width: 20px; height: 20px; }
.header-right .header-right-item .un-login { color: #0b1220; }

/* --------------------------------------------------------------- content */
.main-card {
  max-width: none !important;
  padding: 28px !important;
  border: 1px solid #e6e9f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px -48px rgba(11, 18, 32, .28);
}

.main-title {
  color: #0b1220;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.3;
}

.main-card:has(.main-content) {
  padding: 0 !important;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.main-content { gap: 18px; align-items: flex-start; }
.left-box { min-width: 0; }

/* 用户中心概览 */
.info-box {
  min-height: 0 !important;
  padding: 28px 30px !important;
  border: 1px solid #e6e9f0 !important;
  border-radius: 16px;
  background: #fff !important;
}

.name-first {
  width: 64px !important;
  height: 64px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #2f5bff, #6fe3d0) !important;
  box-shadow: 0 14px 30px -16px rgba(47, 91, 255, .6);
  font-size: 26px !important;
}

.hello {
  font-size: 19px !important;
  font-weight: 600 !important;
  color: #0b1220 !important;
}

.info-box .divider-box {
  height: 52px !important;
  background: #edf0f5 !important;
}

.goods-box,
.right-box,
.money-box {
  border: 1px solid #e6e9f0 !important;
  border-radius: 16px;
  background: #fff !important;
  overflow: hidden;
}

.goods-box { margin-top: 18px; }
.right-box { width: 350px !important; padding: 0 !important; margin-top: 0; }
.money-box { margin: 16px 20px; }

.goods-table thead tr td {
  padding: 14px 20px !important;
  background: #f6f7fa;
  color: #8791a6 !important;
  font-size: 12px !important;
}

.goods-table tbody tr td {
  padding: 18px 20px !important;
  border-top: 1px solid #edf0f5;
  color: #0b1220 !important;
  font-size: 12.5px !important;
}

/* ------------------------------------------------------------ Element UI */
.el-button {
  border-radius: 8px;
  font-weight: 500;
}

.el-button--primary {
  background: #2f5bff;
  border-color: #2f5bff;
}

.el-button--primary:hover,
.el-button--primary:focus {
  background: #1e43d8;
  border-color: #1e43d8;
}

.el-button--text,
.el-link.el-link--primary,
.bule-text,
.a-text {
  color: #2f5bff !important;
}

.el-input__inner,
.el-textarea__inner,
.el-select .el-input__inner {
  height: 42px;
  border-color: #e2e6ee;
  border-radius: 8px;
  background: #f8f9fc;
  color: #0b1220;
}

.el-input__inner:focus,
.el-textarea__inner:focus {
  border-color: #2f5bff;
  background: #fff;
}

.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background: #2f5bff;
  border-color: #2f5bff;
}

.el-checkbox__inner { border-radius: 4px; }

.el-table {
  border-radius: 12px;
  overflow: hidden;
  color: #3b4559;
}

.el-table th.el-table__cell {
  background: #f6f7fa !important;
  color: #8791a6;
  font-weight: 600;
}

.el-table td.el-table__cell,
.el-table th.el-table__cell.is-leaf {
  border-bottom-color: #edf0f5;
}

.el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell {
  background: #f8f9fc;
}

.el-dialog,
.el-card,
.el-popover {
  border-radius: 14px;
}

.el-pagination .el-pager li {
  border-radius: 6px;
}

.el-pagination .el-pager li.active {
  background: #2f5bff;
  color: #fff;
}

/* ------------------------------------------------------------------ login */
#login, #regist, #forget {
  min-height: 100vh;
  height: 100vh;
  padding: 40px;
  box-sizing: border-box;
  background:
    radial-gradient(70% 100% at 80% 0%, rgba(47, 91, 255, .22), transparent 60%),
    radial-gradient(50% 80% at 0% 100%, rgba(111, 227, 208, .1), transparent 60%),
    #070b16;
}

.login-container {
  width: min(1060px, 94vw);
  height: 640px;
  max-height: calc(100vh - 80px);
  position: relative;
}

.container-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 24px;
  background:
    linear-gradient(rgba(111, 227, 208, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 227, 208, .035) 1px, transparent 1px),
    radial-gradient(80% 100% at 20% 0%, rgba(47, 91, 255, .3), transparent 60%),
    #080d18;
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .8);
}

.container-back::before {
  content: "云盒网络  /  YUNHE NETWORK";
  position: absolute;
  top: 34px;
  left: 48px;
  color: rgba(255, 255, 255, .78);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .12em;
}

.container-back .back-text {
  margin: 120px 0 0 64px;
  color: #fff;
}

.container-back .text-welcome {
  color: #8fa3ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 58px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1;
}

.container-back .text-title {
  margin-top: 18px;
  max-width: 430px;
  font-size: 27px;
  line-height: 1.45;
  letter-spacing: -.02em;
}

.container-back .text-level {
  margin-top: 48px;
  color: rgba(255, 255, 255, .4);
  font-size: 12px;
  letter-spacing: .04em;
}

.container-back .back-line1,
.container-back .back-line2,
.container-back .back-line3 {
  background: linear-gradient(180deg, rgba(111, 227, 208, .18), transparent);
}

.container-before {
  position: absolute;
  top: 50%;
  right: 42px;
  width: 430px;
  height: auto;
  min-height: 580px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  border: 1px solid #e6e9f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 80px -38px rgba(0, 0, 0, .55);
  transform: translateY(-50%);
}

.login {
  padding: 44px 40px;
  font-family: inherit;
}

.login-text-title {
  color: #0b1220;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.2;
}

.login-text-regist {
  margin-top: 8px;
  color: #8791a6;
  font-size: 12px;
}

.login-text-regist a { color: #2f5bff; }

.login-form { margin-top: 36px; }
.login-top { border-bottom: 1px solid #edf0f5; }
.login-email,
.login-phone { height: 42px; color: #8791a6; font-size: 14px; }
.login-email { margin-right: 30px; }
.login-email.active,
.login-phone.active { color: #0b1220; border-bottom: 2px solid #2f5bff; }

.form-main { margin-top: 20px; }
.form-item { margin-top: 18px; }
.login .el-input__inner { height: 46px; background: #f8f9fc; }
.login .login-btn,
.login .pass-btn,
.login .type-btn { height: 46px; border-radius: 9px; }
.login .login-btn { font-size: 15px; font-weight: 600; }
.login .code-btn { height: 46px; }

.rember-item { margin-top: 16px; color: #8791a6; font-size: 12px; }
.line-item { margin-top: 26px; }
.line-item text { color: #8791a6; font-size: 12px; }

.login-jump-btn {
  top: 20px;
  right: 36px;
  z-index: 20;
}

.login-jump-btn .lang-box { color: rgba(255, 255, 255, .55); }
.login-jump-btn .lang-box .active { color: #fff; border-bottom-color: #8fa3ff; }
.login-jump-btn a { color: #fff; }

.login .el-checkbox__label { color: #59637a; }

@media (max-width: 1200px) {
  .container-before { right: 28px; width: 400px; }
  .container-back .back-text { margin-left: 48px; }
}

@media (max-width: 900px) {
  #login, #regist, #forget { padding: 18px; }
  .login-container { width: 100%; height: auto; min-height: calc(100vh - 36px); }
  .container-back { display: none; }
  .container-before {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 460px;
    min-height: 0;
    max-height: none;
    margin: 0 auto;
    transform: none;
  }
  .login { padding: 34px 26px; }
  .login-jump-btn { top: 12px; right: 16px; }
  .login-jump-btn .lang-box,
  .login-jump-btn a { color: #59637a; }
  .login-jump-btn .lang-box .active {
    color: #2f5bff;
    border-bottom-color: #2f5bff;
  }
}

@media (max-width: 1100px) {
  .el-main { padding: 76px 20px 30px !important; }
  .right-box { width: 100% !important; }
  .main-content { flex-direction: column; }
}

@media (max-width: 750px) {
  .el-main { padding: 72px 14px 24px !important; }
  .main-card { padding: 18px !important; border-radius: 14px; }
  .info-box { padding: 20px !important; }
  .name-first { width: 54px !important; height: 54px !important; font-size: 22px !important; }
  .hello { font-size: 16px !important; }
}

/* ---------------------------------------------------- home visual harmony */
.statistics-content {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.money-box {
  border: 1px solid #e6e9f0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.order-box {
  display: flex !important;
  gap: 12px !important;
  margin-left: 0 !important;
}

.order-box > div {
  width: 152px !important;
  height: auto !important;
}

.order-item {
  justify-content: flex-start !important;
  align-items: flex-start !important;
  width: 100% !important;
  padding: 18px 16px !important;
  border: 1px solid #e6e9f0 !important;
  border-radius: 14px !important;
  overflow: hidden;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}

.order-item::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 2px;
  border-radius: 0 0 2px 2px;
  opacity: .8;
}

.order-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -26px rgba(11, 18, 32, .35);
}

.order-box-1 {
  background: linear-gradient(160deg, #fbfaff, #f1eeff);
  border-color: #e8e2ff;
}
.order-box-1::before { background: linear-gradient(90deg, #7c5cff, #b7a6ff); }

.order-box-2 {
  background: linear-gradient(160deg, #f8fbff, #edf3ff);
  border-color: #dfe8ff;
}
.order-box-2::before { background: linear-gradient(90deg, #2f5bff, #8fa3ff); }

.order-box-3 {
  background: linear-gradient(160deg, #f7fffc, #eafaf5);
  border-color: #d9f3eb;
}
.order-box-3::before { background: linear-gradient(90deg, #12c7a6, #6fe3d0); }

.order-type-img {
  width: 42px;
  height: 42px;
  margin: 2px 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(11, 18, 32, .06);
}

.order-type-img svg { width: 21px; height: 21px; }
.order-box-1 .order-type-img { color: #6b4df6; }
.order-box-2 .order-type-img { color: #2f5bff; }
.order-box-3 .order-type-img { color: #0fae92; }

.order-title {
  color: #59637a;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.order-nums {
  margin: 10px 0 0;
  color: #0b1220;
  font-size: 32px;
  font-weight: 650;
  line-height: 1;
}

/* right column: no more one big white slab */
.right-box {
  width: 360px !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 !important;
  background: transparent !important;
}

.recommend-box {
  width: 100% !important;
  margin: 0 !important;
  padding: 22px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(47, 91, 255, .32), transparent 60%),
    linear-gradient(155deg, #0a1222, #101d36);
  color: #fff;
}

.recommend-box::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(143, 163, 255, .16);
  pointer-events: none;
}

.recommend-graphic {
  width: 100%;
  height: 98px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(rgba(111, 227, 208, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 227, 208, .05) 1px, transparent 1px),
    rgba(255, 255, 255, .03);
  background-size: 24px 24px, 24px 24px, auto;
  color: #8fa3ff;
}

.recommend-graphic svg { width: 52px; height: 52px; }

.recommend-box h2 {
  margin: 18px 0 8px;
  color: #fff;
  font-size: 20px;
  text-align: left;
}

.recommend-box p {
  margin: 0;
  color: rgba(255, 255, 255, .52);
  font-size: 12px;
  line-height: 1.7;
  text-align: left;
}

.recommend-box .no-recommend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 9px 18px;
  border-radius: 8px;
  background: #2f5bff;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}

.recommend-box .recommend-text {
  margin-top: 18px;
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
  text-align: left;
}

.recommend-box-open {
  border: 1px solid #e6e9f0;
  border-radius: 16px;
  background: #fff;
  padding: 20px;
}

.recommend-box-open .right,
.recommend-box-open .top-img { display: none; }

.notice-box,
.WorkOrder-box {
  margin: 0 !important;
  padding: 20px;
  border: 1px solid #e6e9f0;
  border-radius: 16px;
  background: #fff;
}

.notice-box .title-text,
.WorkOrder-box .title-text { margin-bottom: 12px; }

/* hide legacy broken image icons in the home widgets */
.info-second img,
.info-three img,
.cpoy-btn,
.right-box img {
  display: none !important;
}

@media (max-width: 1280px) {
  .order-box > div { width: 136px !important; }
  .right-box { width: 330px !important; }
}

@media (max-width: 1100px) {
  .statistics-content { flex-wrap: wrap; }
  .money-box { width: 100%; }
  .order-box { width: 100%; margin-top: 0; }
  .order-box > div { flex: 1; width: auto !important; }
  .right-box { width: 100% !important; }
}
/* --------------------------------------------- final overrides for home cards */
.order-box-1 {
  background: linear-gradient(160deg, #fbfaff, #f1eeff) !important;
  border-color: #e8e2ff !important;
}
.order-box-2 {
  background: linear-gradient(160deg, #f8fbff, #edf3ff) !important;
  border-color: #dfe8ff !important;
}
.order-box-3 {
  background: linear-gradient(160deg, #f7fffc, #eafaf5) !important;
  border-color: #d9f3eb !important;
}

.order-item {
  background-clip: padding-box;
}

.order-title {
  color: #59637a !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

.order-nums {
  color: #0b1220 !important;
  font-size: 32px !important;
  font-weight: 650 !important;
}

.order-type-img {
  width: 42px !important;
  height: 42px !important;
  margin: 2px 0 16px !important;
  border-radius: 11px;
  background-color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(11, 18, 32, .06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-type-img img { display: none !important; }

.order-type-img::before {
  content: "";
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
}

.order-box-1 .order-type-img::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b4df6' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9l1-8Z'/%3E%3C/svg%3E");
}

.order-box-2 .order-type-img::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5bff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 9 5-9 5-9-5 9-5Z'/%3E%3Cpath d='m3 7 9 5 9-5'/%3E%3Cpath d='M3 7v10l9 5 9-5V7'/%3E%3C/svg%3E");
}

.order-box-3 .order-type-img::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230fae92' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h12v20l-3-2-3 2-3-2-3 2V2Z'/%3E%3Cpath d='M9 7h6M9 11h6M9 15h4'/%3E%3C/svg%3E");
}

/* light promo card instead of the black slab */
.recommend-box {
  width: 100% !important;
  margin: 0 !important;
  padding: 22px !important;
  text-align: left !important;
  color: #0b1220 !important;
  border: 1px solid #dfe7f6 !important;
  border-radius: 16px !important;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(47, 91, 255, .12), transparent 60%),
    linear-gradient(155deg, #f4f7ff, #fbfcff) !important;
  overflow: hidden;
  position: relative;
}

.recommend-box::after {
  border-color: rgba(47, 91, 255, .12) !important;
}

.recommend-box h2 {
  color: #0b1220 !important;
  text-align: left !important;
  font-size: 19px !important;
  margin: 16px 0 8px !important;
}

.recommend-box p,
.recommend-box .recommend-text {
  color: #67718a !important;
  text-align: left !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
}

.recommend-box .no-recommend {
  background: #2f5bff !important;
  color: #fff !important;
}

.recommend-graphic {
  height: 92px !important;
  border-color: #dfe7f6 !important;
  background:
    linear-gradient(rgba(47, 91, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 91, 255, .05) 1px, transparent 1px),
    rgba(255, 255, 255, .7) !important;
  background-size: 24px 24px, 24px 24px, auto !important;
  color: #2f5bff !important;
}

/* --------------------------------------------- Aurora 3D cube page loader */
#mainLoading {
  background: #070b16 !important;
  flex-direction: column;
  gap: 18px;
  perspective: 900px;
}

#mainLoading .ddr { display: none !important; }

.aurora-cube {
  width: 54px;
  height: 54px;
  position: relative;
  transform-style: preserve-3d;
  animation: auroraCube 2.6s linear infinite;
}

.aurora-cube .cube-face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(111, 227, 208, .48);
  background: linear-gradient(135deg, rgba(47, 91, 255, .42), rgba(111, 227, 208, .08));
  box-shadow: inset 0 0 22px rgba(47, 91, 255, .28);
}

.aurora-cube .f1 { transform: rotateY(0deg) translateZ(27px); }
.aurora-cube .f2 { transform: rotateY(90deg) translateZ(27px); }
.aurora-cube .f3 { transform: rotateY(180deg) translateZ(27px); }
.aurora-cube .f4 { transform: rotateY(-90deg) translateZ(27px); }
.aurora-cube .f5 { transform: rotateX(90deg) translateZ(27px); }
.aurora-cube .f6 { transform: rotateX(-90deg) translateZ(27px); }

.aurora-loader-text {
  color: rgba(255, 255, 255, .36);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: .22em;
}

@keyframes auroraCube {
  from { transform: rotateX(-22deg) rotateY(0deg); }
  to { transform: rotateX(-22deg) rotateY(360deg); }
}

/* fallback cube if an older page still has the five bars */
#mainLoading:not(:has(.aurora-cube))::before {
  content: "";
  width: 42px;
  height: 42px;
  border: 2px solid rgba(111, 227, 208, .7);
  border-radius: 8px;
  box-shadow: 0 0 26px rgba(47, 91, 255, .35);
  animation: auroraFallback 1.6s cubic-bezier(.6, .05, .3, .95) infinite;
}

@keyframes auroraFallback {
  0% { transform: rotate(45deg) scale(.9); }
  50% { transform: rotate(225deg) scale(1.05); }
  100% { transform: rotate(405deg) scale(.9); }
}

/* ------------------------------- loader: dashboard skeleton, seamless to UI */
#mainLoading {
  display: flex;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  background: #f4f6fb !important;
  perspective: none !important;
}

.aurora-loader-aside {
  width: 190px;
  flex: none;
  padding: 22px 16px;
  box-sizing: border-box;
  background:
    radial-gradient(90% 40% at 50% 0%, rgba(47, 91, 255, .16), transparent 70%),
    linear-gradient(180deg, #070b16 0%, #0a1120 60%, #070b16 100%);
  border-right: 1px solid rgba(255, 255, 255, .07);
}

.aurora-loader-brand {
  padding: 0 10px 26px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .04em;
}

.aurora-loader-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aurora-loader-menu i {
  display: block;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
}

.aurora-loader-menu i.active {
  background: linear-gradient(90deg, rgba(47, 91, 255, .3), rgba(47, 91, 255, .04));
  box-shadow: inset 3px 0 0 #2f5bff;
}

.aurora-loader-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #f4f6fb;
}

.aurora-loader-head {
  height: 56px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 0 32px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid #e6e9f0;
}

.aurora-loader-head::before {
  content: "";
  width: 220px;
  height: 30px;
  margin-right: auto;
  border-radius: 8px;
  background: #f1f3f8;
}

.aurora-loader-head::after {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f5bff, #6fe3d0);
  opacity: .75;
}

.aurora-loader-stage {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    radial-gradient(55% 70% at 50% 45%, rgba(47, 91, 255, .045), transparent 70%),
    #f4f6fb;
}

.aurora-loader-stage::before {
  content: "";
  position: absolute;
  width: min(680px, 64%);
  height: 170px;
  border: 1px solid #e6e9f0;
  border-radius: 16px;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 24px 60px -50px rgba(11, 18, 32, .3);
  pointer-events: none;
}

.aurora-loader-stage > * { position: relative; z-index: 1; }

.aurora-loader-text {
  color: #0b1220 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: .12em !important;
}

.aurora-loader-sub {
  color: #9aa4b8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 8px;
  letter-spacing: .24em;
}

/* login / regist / forget keep the dark full-screen loading style */
body:has(#login) #mainLoading,
body:has(#regist) #mainLoading,
body:has(#forget) #mainLoading {
  background: #070b16 !important;
}

body:has(#login) .aurora-loader-aside,
body:has(#regist) .aurora-loader-aside,
body:has(#forget) .aurora-loader-aside,
body:has(#login) .aurora-loader-head,
body:has(#regist) .aurora-loader-head,
body:has(#forget) .aurora-loader-head {
  display: none !important;
}

body:has(#login) .aurora-loader-body,
body:has(#regist) .aurora-loader-body,
body:has(#forget) .aurora-loader-body {
  background: #070b16 !important;
}

body:has(#login) .aurora-loader-stage,
body:has(#regist) .aurora-loader-stage,
body:has(#forget) .aurora-loader-stage {
  background: #070b16 !important;
}

body:has(#login) .aurora-loader-stage::before,
body:has(#regist) .aurora-loader-stage::before,
body:has(#forget) .aurora-loader-stage::before {
  display: none !important;
}

body:has(#login) .aurora-loader-text,
body:has(#regist) .aurora-loader-text,
body:has(#forget) .aurora-loader-text {
  color: rgba(255, 255, 255, .74) !important;
}

body:has(#login) .aurora-loader-sub,
body:has(#regist) .aurora-loader-sub,
body:has(#forget) .aurora-loader-sub {
  color: rgba(255, 255, 255, .24) !important;
}

@media (max-width: 900px) {
  .aurora-loader-aside { width: 72px; padding: 18px 10px; }
  .aurora-loader-brand {
    padding: 0 0 20px;
    font-size: 0;
    text-align: center;
  }
  .aurora-loader-brand::before {
    content: "云";
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: linear-gradient(135deg, #2f5bff, #6fe3d0);
    color: #fff;
    font-size: 16px;
  }
  .aurora-loader-head { padding: 0 16px; }
  .aurora-loader-head::before { width: 130px; }
  .aurora-loader-stage::before { width: 80%; height: 140px; }
}

/* full-height sidebar in the new loader */
.aurora-loader-aside { height: 100vh; }

/* graceful skeleton for older page HTML that still has the five .ddr bars */
#mainLoading:not(:has(.aurora-cube)) {
  background:
    linear-gradient(#fff, #fff) 190px 0 / calc(100% - 190px) 56px no-repeat,
    linear-gradient(90deg, #070b16 0 190px, #f4f6fb 190px) !important;
}

#mainLoading:not(:has(.aurora-cube)) .ddr {
  display: block !important;
  position: absolute;
  left: 16px;
  width: 158px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .045) !important;
  animation: none !important;
}

#mainLoading:not(:has(.aurora-cube)) .ddr1 {
  top: 100px;
  background: linear-gradient(90deg, rgba(47, 91, 255, .32), rgba(47, 91, 255, .04)) !important;
  box-shadow: inset 3px 0 0 #2f5bff;
}
#mainLoading:not(:has(.aurora-cube)) .ddr2 { top: 146px; }
#mainLoading:not(:has(.aurora-cube)) .ddr3 { top: 192px; }
#mainLoading:not(:has(.aurora-cube)) .ddr4 { top: 238px; }
#mainLoading:not(:has(.aurora-cube)) .ddr5 { top: 284px; }

#mainLoading:not(:has(.aurora-cube)) .ddr1::before {
  content: "Box Of Cloud";
  position: absolute;
  left: 8px;
  top: -52px;
  width: 150px;
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
}

#mainLoading:not(:has(.aurora-cube))::before {
  position: absolute;
  left: calc(50% + 68px);
  top: calc(50% - 66px);
  width: 54px;
  height: 54px;
  border: 1px solid rgba(47, 91, 255, .55);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(47, 91, 255, .32), rgba(111, 227, 208, .1));
  box-shadow: 0 0 34px rgba(47, 91, 255, .26), inset 0 0 20px rgba(47, 91, 255, .2);
  animation: auroraFallback 2.2s cubic-bezier(.6, .05, .3, .95) infinite;
}

#mainLoading:not(:has(.aurora-cube))::after {
  content: "Box Of Cloud";
  position: absolute;
  left: calc(50% + 95px);
  top: calc(50% + 8px);
  transform: translateX(-50%);
  color: #0b1220;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .12em;
  white-space: nowrap;
}

/* old loader on login / regist / forget: keep dark */
body:has(#login) #mainLoading:not(:has(.aurora-cube)),
body:has(#regist) #mainLoading:not(:has(.aurora-cube)),
body:has(#forget) #mainLoading:not(:has(.aurora-cube)) {
  background: #070b16 !important;
}

body:has(#login) #mainLoading:not(:has(.aurora-cube)) .ddr,
body:has(#regist) #mainLoading:not(:has(.aurora-cube)) .ddr,
body:has(#forget) #mainLoading:not(:has(.aurora-cube)) .ddr {
  display: none !important;
}

body:has(#login) #mainLoading:not(:has(.aurora-cube))::before,
body:has(#regist) #mainLoading:not(:has(.aurora-cube))::before,
body:has(#forget) #mainLoading:not(:has(.aurora-cube))::before {
  left: calc(50% - 27px);
  top: calc(50% - 60px);
}

body:has(#login) #mainLoading:not(:has(.aurora-cube))::after,
body:has(#regist) #mainLoading:not(:has(.aurora-cube))::after,
body:has(#forget) #mainLoading:not(:has(.aurora-cube))::after {
  left: 50%;
  top: calc(50% + 10px);
  color: rgba(255, 255, 255, .72);
}

/* ------------------------------------------------ final dashboard polish */
.statistics-content { align-items: stretch; }
.order-box { align-items: stretch; }
.order-box > div { height: auto !important; }
.order-item { height: 100% !important; box-sizing: border-box; }

.statistics-top .statistics-credit {
  background: linear-gradient(135deg, #f8faff, #eef3ff) !important;
  border: 1px solid #e5ebf8;
  border-radius: 12px;
}

.product-list-box .goods-box {
  border: 1px solid #e6e9f0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.recommend-box-open .recommend-top .left .row1 .reword {
  background: #eef2ff !important;
  border: 1px solid #dfe7ff !important;
  color: #2f5bff !important;
  border-radius: 6px !important;
  padding: 4px 10px !important;
}

.recommend-box-open .recommend-top .left .row1 .reword img {
  display: none !important;
}

/* keep the flat box spinner: no 3D faces */
.aurora-cube.aurora-flat {
  width: 46px !important;
  height: 46px !important;
  border: 1.5px solid rgba(47, 91, 255, .65) !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, rgba(47, 91, 255, .24), rgba(111, 227, 208, .08)) !important;
  box-shadow: 0 0 30px rgba(47, 91, 255, .28), inset 0 0 18px rgba(47, 91, 255, .18);
  transform-style: flat !important;
  animation: auroraFlatSpin 1.8s cubic-bezier(.6, .05, .3, .95) infinite !important;
}

.aurora-cube.aurora-flat::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(47, 91, 255, .42);
  border-radius: 4px;
  background: rgba(255, 255, 255, .08);
}

.aurora-cube.aurora-flat .cube-face { display: none !important; }

@keyframes auroraFlatSpin {
  0% { transform: rotate(0deg) scale(.94); }
  50% { transform: rotate(180deg) scale(1); }
  100% { transform: rotate(360deg) scale(.94); }
}

/* provided flat box icon, with a subtle 3D tilt while spinning */
.aurora-cube.aurora-loader-icon {
  width: 72px !important;
  height: 66px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform-style: flat !important;
  animation: auroraIconSpin 2.4s linear infinite !important;
}

.aurora-cube.aurora-loader-icon img {
  display: block;
  width: 68px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(47, 91, 255, .18));
}

.aurora-cube.aurora-loader-icon .cube-face { display: none !important; }

@keyframes auroraIconSpin {
  0%,
  100% {
    transform: translateY(0) scale(.98);
  }
  50% {
    transform: translateY(-4px) scale(1.02);
  }
}

/* use the supplied icon at a comfortable size */
.aurora-cube.aurora-loader-icon {
  width: 100px !important;
  height: 78px !important;
}

.aurora-cube.aurora-loader-icon img {
  width: 82px;
  filter: drop-shadow(0 14px 24px rgba(47, 91, 255, .26));
}

/* fallback for old page HTML also uses the supplied icon instead of a CSS square */
#mainLoading:not(:has(.aurora-cube))::before {
  width: 82px;
  height: 74px;
  border: 0;
  border-radius: 0;
  background: url("../img/loader/logo-mark.png?v=1.2.0") center / contain no-repeat !important;
  box-shadow: none;
  animation: auroraIconSpin 2.4s linear infinite !important;
}

body:has(#login) #mainLoading:not(:has(.aurora-cube))::before,
body:has(#regist) #mainLoading:not(:has(.aurora-cube))::before,
body:has(#forget) #mainLoading:not(:has(.aurora-cube))::before {
  left: calc(50% - 41px);
  top: calc(50% - 72px);
}

/* keep the supplied box upright; gentle 3D sway + a thin orbit ring */
.aurora-cube.aurora-loader-icon {
  width: 100px !important;
  height: 100px !important;
  position: relative;
  overflow: visible;
  animation: auroraIconSpin 2.8s ease-in-out infinite !important;
}

.aurora-cube.aurora-loader-icon img {
  width: 94px;
  filter: saturate(1.08) drop-shadow(0 12px 20px rgba(47, 91, 255, .24));
}

.aurora-loader-icon::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid rgba(47, 91, 255, .12);
  border-top-color: rgba(47, 91, 255, .65);
  animation: auroraRingSpin 1.7s linear infinite;
  pointer-events: none;
}

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

/* official mark loader: upright logo, halo + orbit ring */
.aurora-cube.aurora-loader-icon {
  width: 120px !important;
  height: 112px !important;
}

.aurora-cube.aurora-loader-icon img {
  width: 78px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 14px 24px rgba(11, 18, 32, .18));
}

.aurora-cube.aurora-loader-icon::before {
  content: "";
  position: absolute;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 91, 255, .18) 0%, rgba(111, 227, 208, .08) 42%, transparent 70%);
  animation: auroraHalo 2.6s ease-in-out infinite;
  z-index: 0;
}

.aurora-cube.aurora-loader-icon::after {
  inset: -4px;
  z-index: 1;
}

@keyframes auroraHalo {
  0%, 100% { transform: scale(.92); opacity: .65; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* fallback for old markup */
#mainLoading:not(:has(.aurora-cube))::before {
  width: 76px;
  height: 86px;
  background: url("../img/loader/logo-mark.png?v=1.2.0") center / contain no-repeat !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  animation: auroraIconSpin 2.8s ease-in-out infinite !important;
}

body:has(#login) #mainLoading:not(:has(.aurora-cube))::before,
body:has(#regist) #mainLoading:not(:has(.aurora-cube))::before,
body:has(#forget) #mainLoading:not(:has(.aurora-cube))::before {
  left: calc(50% - 38px);
  top: calc(50% - 76px);
}

/* final logo loader polish: visible halo and orbit ring */
.aurora-cube.aurora-loader-icon {
  width: 132px !important;
  height: 126px !important;
}

.aurora-cube.aurora-loader-icon img {
  width: 82px;
  filter: drop-shadow(0 12px 24px rgba(11, 18, 32, .16)) drop-shadow(0 0 20px rgba(47, 91, 255, .12));
}

.aurora-cube.aurora-loader-icon::before {
  width: 122px;
  height: 122px;
  border: 1px solid rgba(47, 91, 255, .12);
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .96) 0 38%, rgba(47, 91, 255, .12) 66%, transparent 72%);
  box-shadow: 0 18px 40px -24px rgba(47, 91, 255, .35);
}

.aurora-cube.aurora-loader-icon::after {
  inset: 4px;
  border: 1.5px solid rgba(47, 91, 255, .16);
  border-top-color: rgba(47, 91, 255, .85);
  box-shadow: 0 0 18px rgba(47, 91, 255, .14);
}

.aurora-loader-text {
  margin-top: 6px;
  letter-spacing: .08em !important;
}
