/* 云小影商户中心 · 总览页皮肤 v3（2026-11-24）
   版式：蓝鲸参考（问候卡 + 2×2 统计卡 + 账户概览卡）；功能入口图标：小白科技九宫格（彩色渐变方块 + 白图标）；
   风格：花里胡哨＋毛玻璃（半透明卡片 + blur + 半透明边框，紫蓝粉渐变透出来）。
   只改样式，不改数据与功能；只在总览页 .dashboard-console 内、浅色模式下生效；
   深色模式沿用原深色样式。 */

/* ---- 页底：鲜艳的紫 → 蓝 → 粉渐变 ---- */
html:not(.dark) .dashboard-console {
  margin: -20px;
  padding: 20px 20px 28px;
  min-height: calc(100dvh - 60px);
  background:
    radial-gradient(110% 55% at 88% 0%, rgba(249, 168, 212, 0.55) 0%, rgba(249, 168, 212, 0) 55%),
    radial-gradient(90% 50% at 0% 8%, rgba(147, 197, 253, 0.55) 0%, rgba(147, 197, 253, 0) 55%),
    linear-gradient(155deg, #ddd6fe 0%, #c7d2fe 28%, #a5b4fc 52%, #f0abfc 78%, #f9a8d4 100%);
}

/* ---- 毛玻璃卡片通用 ---- */
html:not(.dark) .dashboard-console .art-card {
  background: rgba(255, 255, 255, 0.6) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.16) !important;
}
html:not(.dark) .dashboard-console .art-card-header h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1b1830;
}

/* ---- 问候卡 ---- */
html:not(.dark) .dashboard-console > .art-card:first-child {
  padding: 22px 22px 18px;
}
html:not(.dark) .dashboard-console > .art-card:first-child h2 {
  font-size: 21px;
  font-weight: 700;
  color: #1b1830;
  margin-bottom: 6px;
}
html:not(.dark) .dashboard-console > .art-card:first-child h2 span {
  color: #6e6a80;
  font-weight: 400;
  font-size: 13px;
}
html:not(.dark) .dashboard-console > .art-card:first-child .el-avatar {
  box-shadow: 0 0 0 3px #edeafb, 0 4px 10px rgba(90, 80, 160, 0.18);
}
/* 两颗状态药丸：亮绿底 + 深绿字，可换行 */
html:not(.dark) .dashboard-console > .art-card:first-child .flex.items-center.gap-1 {
  flex-wrap: wrap;
  row-gap: 6px;
}
html:not(.dark) .dashboard-console .el-tag--success {
  background: #22c55e !important;
  border-color: #22c55e !important;
  color: #052e16 !important;
  border-radius: 999px;
  font-weight: 600;
}

/* ---- 快捷入口：玻璃底 + 彩色渐变图标方块（小白九宫格风格） ---- */
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div {
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  padding: 14px 6px 12px;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.10);
}
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div svg.art-svg-icon {
  width: 52px;
  height: 52px;
  padding: 13px;
  box-sizing: border-box;
  border-radius: 16px;
  color: #fff;
  margin-bottom: 8px;
  flex-shrink: 0;
}
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(1) svg.art-svg-icon {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.30);
}
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(2) svg.art-svg-icon {
  background: linear-gradient(135deg, #fbbf24, #f97316);
  box-shadow: 0 6px 14px rgba(249, 115, 22, 0.30);
}
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(3) svg.art-svg-icon {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.30);
}
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(4) svg.art-svg-icon {
  background: linear-gradient(135deg, #22d3ee, #0891b2);
  box-shadow: 0 6px 14px rgba(8, 145, 178, 0.30);
}
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div .text-xs {
  font-size: 13px;
  font-weight: 700;
  color: #1b1830;
}
html:not(.dark) .dashboard-console .grid.grid-cols-4 .qe-sub {
  font-size: 11px;
  color: #8a8f9c;
  margin-top: 2px;
}

/* ---- 黄色结算提醒：琥珀玻璃，功能保留 ---- */
html:not(.dark) .dashboard-console .el-alert {
  background: rgba(255, 251, 235, 0.65);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.12);
}
html:not(.dark) .dashboard-console .el-alert .el-alert__title {
  color: #92400e;
  font-weight: 600;
}
html:not(.dark) .dashboard-console .el-alert .el-button {
  font-weight: 700;
  border-radius: 10px;
}

/* ---- 2×2 统计卡：视觉顺序 今日交易额 / 结算总计 / 今日订单数 / 今日转账支出 ---- */
html:not(.dark) .dashboard-console .el-row.mb-1 > .el-col:nth-child(1) { order: 2; }
html:not(.dark) .dashboard-console .el-row.mb-1 > .el-col:nth-child(2) { order: 3; }
html:not(.dark) .dashboard-console .el-row.mb-1 > .el-col:nth-child(3) { order: 1; }
html:not(.dark) .dashboard-console .el-row.mb-1 > .el-col:nth-child(4) { order: 4; }
html:not(.dark) .dashboard-console .h-35 {
  height: 148px;
  border-radius: 20px;
  padding-left: 20px;
  padding-right: 20px;
}
html:not(.dark) .dashboard-console .h-35 > span:first-child {
  color: #55506a;
  font-size: 14px;
  font-weight: 500;
}
html:not(.dark) .dashboard-console .h-35 > div:nth-child(2) {
  font-size: 30px;
  font-weight: 800;
  color: #1b1830;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
html:not(.dark) .dashboard-console .h-35 > div:nth-child(2) .text-base {
  font-size: 16px;
  font-weight: 700;
  color: #1b1830;
}
html:not(.dark) .dashboard-console .h-35 > div:nth-child(3) span {
  color: #6e6a80;
}
html:not(.dark) .dashboard-console .h-35 > div:nth-child(3) .font-semibold {
  color: #3a3454;
}
/* 图标角标：鲜艳 pastel 渐变（蓝 / 绿 / 黄 / 粉红） */
html:not(.dark) .dashboard-console .h-35 > .absolute {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  right: 18px;
}
html:not(.dark) .dashboard-console .h-35 .bg-primary\/10 {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.20);
}
html:not(.dark) .dashboard-console .h-35 .bg-success\/10 {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  box-shadow: 0 6px 14px rgba(22, 163, 74, 0.20);
}
html:not(.dark) .dashboard-console .h-35 .bg-warning\/10 {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  box-shadow: 0 6px 14px rgba(217, 119, 6, 0.20);
}
html:not(.dark) .dashboard-console .h-35 .bg-\[\#FA8A6C\]\/10 {
  background: linear-gradient(135deg, #ffe4e6, #fecdd3);
  box-shadow: 0 6px 14px rgba(225, 29, 72, 0.20);
}
html:not(.dark) .dashboard-console .h-35 .text-primary {
  color: #2563eb;
}
html:not(.dark) .dashboard-console .h-35 .text-success {
  color: #16a34a;
}
html:not(.dark) .dashboard-console .h-35 .text-warning {
  color: #d97706;
}
html:not(.dark) .dashboard-console .h-35 .text-\[\#FA8A6C\] {
  color: #e11d48;
}

/* ---- 账户概览卡：可用余额 + 渠道 ---- */
html:not(.dark) .dashboard-console .account-overview {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 14px;
  background: linear-gradient(120deg, rgba(219, 234, 254, 0.65), rgba(233, 213, 255, 0.55) 55%, rgba(252, 231, 243, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.7);
}
html:not(.dark) .dashboard-console .account-overview::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  right: -45px;
  top: -55px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  pointer-events: none;
}
html:not(.dark) .dashboard-console .account-overview .ao-label {
  font-size: 14px;
  color: #55506a;
  margin-bottom: 2px;
}
html:not(.dark) .dashboard-console .account-overview .ao-balance {
  font-size: 34px;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}

/* ---- 渠道费率行：logo 放大圆角，费率蓝色加粗 ---- */
html:not(.dark) .dashboard-console .art-card .flex-col > div.flex.items-center.justify-between {
  padding-top: 12px;
  padding-bottom: 12px;
}
html:not(.dark) .dashboard-console .art-card .flex-col > div.flex.items-center.justify-between img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
html:not(.dark) .dashboard-console .art-card .flex-col > div.flex.items-center.justify-between > span:last-child {
  color: #2563eb;
  font-weight: 700;
  font-size: 15px;
}
html:not(.dark) .dashboard-console .art-card .flex-col > div.flex.items-center.justify-between .text-sm {
  color: #2a2547;
}

/* ---- v4（2026-11-24 用户令“花里胡哨点”）：再花一点，仍只改样式 ---- */
/* 页底渐变更浓 + 缓慢流动 */
html:not(.dark) .dashboard-console {
  background:
    radial-gradient(110% 55% at 88% 0%, rgba(244, 114, 182, 0.65) 0%, rgba(244, 114, 182, 0) 55%),
    radial-gradient(90% 50% at 0% 8%, rgba(96, 165, 250, 0.65) 0%, rgba(96, 165, 250, 0) 55%),
    radial-gradient(70% 45% at 50% 100%, rgba(167, 139, 250, 0.5) 0%, rgba(167, 139, 250, 0) 60%),
    linear-gradient(155deg, #c7d2fe 0%, #a5b4fc 25%, #f0abfc 55%, #f9a8d4 80%, #fda4af 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 200% 200%;
  animation: consoleGradientShift 18s ease-in-out infinite alternate;
}
@keyframes consoleGradientShift {
  from { background-position: 0 0, 0 0, 0 0, 0% 0%; }
  to { background-position: 0 0, 0 0, 0 0, 100% 100%; }
}
/* 问候卡顶部加一条彩虹条 */
html:not(.dark) .dashboard-console > .art-card:first-child {
  position: relative;
  overflow: hidden;
}
html:not(.dark) .dashboard-console > .art-card:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #6366f1, #ec4899, #f59e0b, #22c55e);
}
/* 快捷入口图标再大一圈、阴影更重 */
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div svg.art-svg-icon {
  width: 56px;
  height: 56px;
  padding: 14px;
}
/* 统计卡每张不同底色：蓝 / 绿 / 黄 / 粉 */
html:not(.dark) .dashboard-console .el-row.mb-1 > .el-col:nth-child(1) .h-35 {
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.9), rgba(191, 219, 254, 0.75)) !important;
}
html:not(.dark) .dashboard-console .el-row.mb-1 > .el-col:nth-child(2) .h-35 {
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.9), rgba(187, 247, 208, 0.75)) !important;
}
html:not(.dark) .dashboard-console .el-row.mb-1 > .el-col:nth-child(3) .h-35 {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.9), rgba(253, 230, 138, 0.75)) !important;
}
html:not(.dark) .dashboard-console .el-row.mb-1 > .el-col:nth-child(4) .h-35 {
  background: linear-gradient(135deg, rgba(255, 228, 230, 0.9), rgba(254, 205, 211, 0.75)) !important;
}
/* 小标题前加彩色圆点 */
html:not(.dark) .dashboard-console .art-card-header h4::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  vertical-align: 1px;
}

/* ---- v5（2026-11-24 用户令“改为动态 / 上面这些好看一点”）：动起来 + 问候卡与快捷入口再好看一点，仍只改样式 ---- */
/* 页底光斑也跟着慢慢漂 */
@keyframes consoleGradientShift {
  from { background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
  to { background-position: 10% 6%, -6% 8%, 8% -6%, 100% 100%; }
}
/* 问候卡彩虹条流动 */
html:not(.dark) .dashboard-console > .art-card:first-child::before {
  background: linear-gradient(90deg, #6366f1, #ec4899, #f59e0b, #22c55e, #6366f1);
  background-size: 200% 100%;
  animation: rainbowFlow 6s linear infinite;
}
@keyframes rainbowFlow {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}
/* 问候卡柔光扫过 */
html:not(.dark) .dashboard-console > .art-card:first-child::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 45%;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-160%);
  animation: cardShimmer 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cardShimmer {
  0%, 55% { transform: translateX(-160%); }
  100% { transform: translateX(360%); }
}
/* 问候卡头像光晕、状态药丸轻呼吸 */
html:not(.dark) .dashboard-console > .art-card:first-child .el-avatar {
  box-shadow: 0 0 0 3px #edeafb, 0 4px 10px rgba(90, 80, 160, 0.18), 0 0 18px rgba(236, 72, 153, 0.35);
}
html:not(.dark) .dashboard-console .el-tag--success {
  animation: statusPulse 2.4s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}
/* 快捷入口整块轻浮动（依次错开） */
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div {
  animation: tileFloat 4s ease-in-out infinite alternate;
}
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(1) { animation-delay: 0s; }
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(2) { animation-delay: 0.6s; }
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(3) { animation-delay: 1.2s; }
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(4) { animation-delay: 1.8s; }
@keyframes tileFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-3px); }
}
/* 快捷入口图标：渐变流动 + 各自配色光晕 */
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div svg.art-svg-icon {
  background-size: 180% 180% !important;
  animation: tileFlow 5s ease-in-out infinite alternate;
}
@keyframes tileFlow {
  from { background-position: 0% 0%; }
  to { background-position: 100% 100%; }
}
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(1) { box-shadow: 0 4px 16px rgba(37, 99, 235, 0.22); }
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(2) { box-shadow: 0 4px 16px rgba(249, 115, 22, 0.22); }
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(3) { box-shadow: 0 4px 16px rgba(124, 58, 237, 0.22); }
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(4) { box-shadow: 0 4px 16px rgba(8, 145, 178, 0.22); }
/* 统计卡底色也缓慢流动 */
html:not(.dark) .dashboard-console .el-row.mb-1 .h-35 {
  background-size: 180% 180% !important;
  animation: cardTintFlow 7s ease-in-out infinite alternate;
}
@keyframes cardTintFlow {
  from { background-position: 0% 0%; }
  to { background-position: 100% 100%; }
}
/* 不喜欢动效的系统：全部静止 */
@media (prefers-reduced-motion: reduce) {
  html:not(.dark) .dashboard-console,
  html:not(.dark) .dashboard-console > .art-card:first-child::before,
  html:not(.dark) .dashboard-console > .art-card:first-child::after,
  html:not(.dark) .dashboard-console .el-tag--success,
  html:not(.dark) .dashboard-console .grid.grid-cols-4 > div,
  html:not(.dark) .dashboard-console .grid.grid-cols-4 > div svg.art-svg-icon,
  html:not(.dark) .dashboard-console .el-row.mb-1 .h-35 {
    animation: none !important;
  }
}

/* ---- v6（2026-11-24 用户令“不好看继续换 / 登录页也弄好看的”）：快捷入口改整块渐变 + 登录页同款皮肤，仍只改样式 ---- */
/* 快捷入口：整块鲜艳渐变，白字白图标，渐变流动 + 轻浮动 */
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background-size: 180% 180%;
  animation: tileFloat 4s ease-in-out infinite alternate, tileFlow 6s ease-in-out infinite alternate;
}
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(1) { animation-delay: 0s, 0s; }
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(2) { animation-delay: 0.6s, 0s; }
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(3) { animation-delay: 1.2s, 0s; }
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(4) { animation-delay: 1.8s, 0s; }
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(1) {
  background: linear-gradient(135deg, #60a5fa, #2563eb) !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(2) {
  background: linear-gradient(135deg, #fbbf24, #f97316) !important;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(3) {
  background: linear-gradient(135deg, #a78bfa, #7c3aed) !important;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(4) {
  background: linear-gradient(135deg, #22d3ee, #0891b2) !important;
  box-shadow: 0 8px 20px rgba(8, 145, 178, 0.35);
}
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div svg.art-svg-icon {
  background: rgba(255, 255, 255, 0.22) !important;
  box-shadow: none !important;
  animation: none;
}
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div .text-xs {
  color: #fff !important;
}

/* ---- 登录页：同款渐变底 + 毛玻璃卡片 + 渐变按钮 ---- */
html:not(.dark) .user-login-container {
  min-height: 100dvh;
  background:
    radial-gradient(110% 55% at 88% 0%, rgba(244, 114, 182, 0.55) 0%, rgba(244, 114, 182, 0) 55%),
    radial-gradient(90% 50% at 0% 8%, rgba(96, 165, 250, 0.55) 0%, rgba(96, 165, 250, 0) 55%),
    radial-gradient(70% 45% at 50% 100%, rgba(167, 139, 250, 0.5) 0%, rgba(167, 139, 250, 0) 60%),
    linear-gradient(155deg, #ddd6fe 0%, #c7d2fe 28%, #a5b4fc 52%, #f0abfc 78%, #f9a8d4 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 200% 200%;
  animation: consoleGradientShift 18s ease-in-out infinite alternate;
}
html:not(.dark) .user-login-container .login-box {
  background: rgba(255, 255, 255, 0.65) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px !important;
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.18) !important;
}
html:not(.dark) .user-login-container .login-box .title {
  font-size: 26px;
  font-weight: 800;
  color: #1b1830;
  letter-spacing: 1px;
}
html:not(.dark) .user-login-container .login-box .title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, #6366f1, #ec4899, #f59e0b);
}
html:not(.dark) .user-login-container .custom-input .el-input__wrapper {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  border: 1px solid rgba(99, 102, 241, 0.18);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
  padding-left: 12px;
  padding-right: 12px;
}
html:not(.dark) .user-login-container .custom-input .el-input__wrapper.is-focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}
html:not(.dark) .user-login-container .custom-height.el-button--primary {
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899) !important;
  background-size: 200% 100% !important;
  border: none !important;
  border-radius: 14px !important;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 4px;
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.35) !important;
  animation: rainbowFlow 6s linear infinite;
}
html:not(.dark) .user-login-container .login-page-footer {
  color: #55506a;
}

/* ---- v7（2026-11-24 用户令“继续修改，适配全部，而且全部功能，要求好看”）：全站皮肤，仍只改样式、不动 JS ---- */
/* 全站内容区底色：同款流动渐变（登录页不在 #app-main 内，不受影响） */
html:not(.dark) #app-main {
  background:
    radial-gradient(110% 55% at 88% 0%, rgba(244, 114, 182, 0.5) 0%, rgba(244, 114, 182, 0) 55%),
    radial-gradient(90% 50% at 0% 8%, rgba(96, 165, 250, 0.5) 0%, rgba(96, 165, 250, 0) 55%),
    linear-gradient(155deg, #e0e7ff 0%, #c7d2fe 30%, #ddd6fe 55%, #fbcfe8 80%, #f9a8d4 100%) !important;
  background-size: 100% 100%, 100% 100%, 200% 200% !important;
  animation: consoleGradientShift 18s ease-in-out infinite alternate;
}
html:not(.dark) #app-main .art-page-view {
  background: transparent;
}
/* 全站卡片：毛玻璃（总览页的规则在前，这里补全站） */
html:not(.dark) #app-main .art-card,
html:not(.dark) #app-main .art-card-sm,
html:not(.dark) #app-main .art-card-xs,
html:not(.dark) #app-main .art-table-card {
  background: rgba(255, 255, 255, 0.65) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.14) !important;
}
/* 侧边栏：毛玻璃 */
html:not(.dark) #app .layout-sidebar {
  background: rgba(255, 255, 255, 0.78) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-right: 1px solid rgba(255, 255, 255, 0.6) !important;
}
html:not(.dark) #app .layout-sidebar .el-menu {
  background: transparent !important;
  border-right: none !important;
}
html:not(.dark) #app .layout-sidebar .el-menu--inline {
  background: transparent !important;
}
html:not(.dark) #app .layout-sidebar .el-menu-item,
html:not(.dark) #app .layout-sidebar .el-sub-menu__title {
  border-radius: 12px;
  margin: 2px 8px;
  color: #3a3454;
  font-weight: 500;
}
html:not(.dark) #app .layout-sidebar .el-menu-item svg,
html:not(.dark) #app .layout-sidebar .el-sub-menu__title svg,
html:not(.dark) #app .layout-sidebar .el-menu-item .art-svg-icon,
html:not(.dark) #app .layout-sidebar .el-sub-menu__title .art-svg-icon {
  color: #6366f1;
}
html:not(.dark) #app .layout-sidebar .el-menu-item:hover,
html:not(.dark) #app .layout-sidebar .el-sub-menu__title:hover {
  background: rgba(99, 102, 241, 0.1) !important;
  color: #4f46e5;
}
html:not(.dark) #app .layout-sidebar .el-menu-item.is-active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}
html:not(.dark) #app .layout-sidebar .el-menu-item.is-active svg,
html:not(.dark) #app .layout-sidebar .el-menu-item.is-active .art-svg-icon {
  color: #fff !important;
}
html:not(.dark) #app .layout-sidebar .el-sub-menu.is-opened > .el-sub-menu__title {
  background: rgba(99, 102, 241, 0.08);
  color: #4f46e5;
}
/* 头像光晕（顶栏与问候卡通用） */
html:not(.dark) #app .el-avatar {
  box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(99, 102, 241, 0.25);
}
/* 全站主按钮：渐变 */
html:not(.dark) #app-main .el-button--primary {
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899) !important;
  background-size: 200% 100% !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.3) !important;
}
html:not(.dark) #app-main .el-button--default {
  border-radius: 12px !important;
  font-weight: 600;
}
/* 全站输入框：圆角 + 聚焦光圈 */
html:not(.dark) #app-main .el-input__wrapper,
html:not(.dark) #app-main .el-textarea__inner,
html:not(.dark) #app-main .el-select__wrapper {
  border-radius: 12px !important;
}
html:not(.dark) #app-main .el-input__wrapper.is-focus,
html:not(.dark) #app-main .el-select__wrapper.is-focused {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18) !important;
}
/* 全站表格：表头淡渐变、行悬停淡紫 */
html:not(.dark) #app-main .el-table th.el-table__cell {
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.75), rgba(233, 213, 255, 0.75)) !important;
  color: #1b1830;
  font-weight: 700;
}
html:not(.dark) #app-main .el-table tr:hover > td.el-table__cell {
  background: rgba(99, 102, 241, 0.06) !important;
}
/* 全站标签页：激活项渐变字 + 渐变下划线 */
html:not(.dark) #app-main .el-tabs__item.is-active {
  color: #6d28d9 !important;
  font-weight: 700;
}
html:not(.dark) #app-main .el-tabs__active-bar {
  background: linear-gradient(90deg, #6366f1, #ec4899) !important;
  height: 3px;
  border-radius: 2px;
}
/* 全站分页：激活页渐变 */
html:not(.dark) #app-main .el-pagination .el-pager li.is-active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
}
html:not(.dark) #app-main .el-pagination button {
  border-radius: 8px;
}
/* 弹窗 / 下拉 / 确认框：毛玻璃（挂在 body 下，需 body 级作用域） */
html:not(.dark) .el-dialog {
  background: rgba(255, 255, 255, 0.88) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.22) !important;
}
html:not(.dark) .el-popper {
  background: rgba(255, 255, 255, 0.94) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.18) !important;
}
html:not(.dark) .el-message-box {
  border-radius: 20px !important;
}

/* ---- v8（2026-11-24 用户令“下面全部改 / api信息呢 / 全部适配”）：补菜单图标着色、抽屉与顶栏毛玻璃、API 页与加载态，仍只改样式 ---- */
/* 菜单图标：覆盖 el-icon / i / svg / ArtIcon 包裹层（v7 只写了 svg 未命中字体图标） */
html:not(.dark) #app .layout-sidebar .el-menu-item .el-icon,
html:not(.dark) #app .layout-sidebar .el-sub-menu__title .el-icon,
html:not(.dark) #app .layout-sidebar .el-menu-item i,
html:not(.dark) #app .layout-sidebar .el-sub-menu__title i,
html:not(.dark) #app .layout-sidebar .el-menu-item span:has(> svg),
html:not(.dark) #app .layout-sidebar .el-sub-menu__title span:has(> svg) {
  color: #6366f1 !important;
}
html:not(.dark) #app .layout-sidebar .el-menu-item.is-active .el-icon,
html:not(.dark) #app .layout-sidebar .el-menu-item.is-active i,
html:not(.dark) #app .layout-sidebar .el-menu-item.is-active span:has(> svg) {
  color: #fff !important;
}
/* 抽屉（手机端侧栏若走 el-drawer）：毛玻璃 */
html:not(.dark) .el-drawer {
  background: rgba(255, 255, 255, 0.82) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}
html:not(.dark) .el-drawer__body {
  background: transparent;
}
/* 顶栏：毛玻璃（登录页顶栏同款，一并受益） */
html:not(.dark) #app .header {
  background: rgba(255, 255, 255, 0.72) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}
/* API 信息等详情页：描述列表毛玻璃 + 密钥等值高亮 */
html:not(.dark) #app-main .el-descriptions__body {
  background: rgba(255, 255, 255, 0.65) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
}
html:not(.dark) #app-main .el-descriptions__label {
  color: #55506a !important;
  font-weight: 600;
}
html:not(.dark) #app-main .el-descriptions__content {
  color: #1b1830 !important;
  font-weight: 600;
}
html:not(.dark) #app-main code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(99, 102, 241, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  color: #4f46e5;
}
/* 加载态：半透明遮罩 + 品牌色转圈（页面取数时不再是一片空白渐变） */
html:not(.dark) .el-loading-mask {
  background: rgba(255, 255, 255, 0.55) !important;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
html:not(.dark) .el-loading-spinner .path {
  stroke: #6366f1 !important;
}
html:not(.dark) .el-loading-spinner .el-loading-text {
  color: #4f46e5 !important;
}
html:not(.dark) #app-main .el-skeleton__item {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.5)) !important;
}
/* 内页提示条：毛玻璃 */
html:not(.dark) #app-main .el-alert {
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.7);
}
html:not(.dark) #app-main .el-alert--warning {
  background: rgba(255, 251, 235, 0.75) !important;
}
html:not(.dark) #app-main .el-alert--info {
  background: rgba(239, 246, 255, 0.75) !important;
}
html:not(.dark) #app-main .el-alert--success {
  background: rgba(240, 253, 244, 0.75) !important;
}
html:not(.dark) #app-main .el-alert--error {
  background: rgba(254, 242, 242, 0.75) !important;
}
/* 标签圆角 */
html:not(.dark) #app-main .el-tag {
  border-radius: 8px;
}

/* ---- v9（2026-11-24 用户令“全部适配上好看的”）：菜单图标改按首个子元素着色（图标实为 span 包裹的字体/svg，v7/v8 的 svg 选择器未命中），侧栏改淡紫渐变，子菜单加彩点 ---- */
/* 顶级菜单项的第一个子元素就是图标（文字在后），只对根菜单生效，子菜单文字不受影响 */
html:not(.dark) #app .layout-sidebar .el-menu:not(.el-menu--inline) > .el-menu-item > :first-child,
html:not(.dark) #app .layout-sidebar .el-menu:not(.el-menu--inline) > .el-sub-menu > .el-sub-menu__title > :first-child {
  color: #6366f1 !important;
}
html:not(.dark) #app .layout-sidebar .el-menu:not(.el-menu--inline) > .el-menu-item.is-active > :first-child {
  color: #fff !important;
}
/* 侧栏：白到淡紫的渐变底 */
html:not(.dark) #app .layout-sidebar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(238, 242, 255, 0.88) 55%, rgba(250, 232, 255, 0.88) 100%) !important;
}
/* 子菜单项前加紫色小圆点 */
html:not(.dark) #app .layout-sidebar .el-menu--inline .el-menu-item::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 10px;
  background: linear-gradient(135deg, #818cf8, #c084fc);
}
html:not(.dark) #app .layout-sidebar .el-menu--inline .el-menu-item.is-active::before {
  background: #fff;
}

/* ---- v10（2026-11-24 用户令“全部换上新的图标好看一点的”）：菜单图标换成图标生成器出的 7 张新图，仍只改样式 ---- */
/* 藏掉原图标（顶级菜单项与子菜单标题的第一个子元素） */
html:not(.dark) #app .layout-sidebar .el-menu:not(.el-menu--inline) > .el-menu-item > :first-child,
html:not(.dark) #app .layout-sidebar .el-menu:not(.el-menu--inline) > .el-sub-menu > .el-sub-menu__title > :first-child {
  display: none !important;
}
/* 新图标底座 */
html:not(.dark) #app .layout-sidebar .el-menu:not(.el-menu--inline) > .el-menu-item::before,
html:not(.dark) #app .layout-sidebar .el-menu:not(.el-menu--inline) > .el-sub-menu > .el-sub-menu__title::before {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  margin-right: 12px;
  border-radius: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
/* 按菜单顺序逐个指定新图：1仪表盘 2账户中心 3交易管理 4结算管理 5资金明细 6商户进件 7聚合收款 */
html:not(.dark) #app .layout-sidebar .el-menu:not(.el-menu--inline) > :nth-child(1)::before { background-image: url(/static/img/menu-icons/dashboard.png); }
html:not(.dark) #app .layout-sidebar .el-menu:not(.el-menu--inline) > :nth-child(2) > .el-sub-menu__title::before { background-image: url(/static/img/menu-icons/account.png); }
html:not(.dark) #app .layout-sidebar .el-menu:not(.el-menu--inline) > :nth-child(3) > .el-sub-menu__title::before { background-image: url(/static/img/menu-icons/orders.png); }
html:not(.dark) #app .layout-sidebar .el-menu:not(.el-menu--inline) > :nth-child(4) > .el-sub-menu__title::before { background-image: url(/static/img/menu-icons/settlement.png); }
html:not(.dark) #app .layout-sidebar .el-menu:not(.el-menu--inline) > :nth-child(5)::before { background-image: url(/static/img/menu-icons/funds.png); }
html:not(.dark) #app .layout-sidebar .el-menu:not(.el-menu--inline) > :nth-child(6) > .el-sub-menu__title::before { background-image: url(/static/img/menu-icons/onboarding.png); }
html:not(.dark) #app .layout-sidebar .el-menu:not(.el-menu--inline) > :nth-child(7)::before { background-image: url(/static/img/menu-icons/qrcode.png); }

/* ---- v12（2026-11-24 用户令“这个页面太白了 / 太大了不好看 / 好看美观 / 修复全部优化速度”）：侧栏淡彩、快捷入口改小、API 复制按钮白字、加载态更醒目，仍只改样式 ---- */
/* 侧栏：淡彩渐变（薰衣草→紫→粉→淡杏），不再一片白；字仍深色，图标不动 */
html:not(.dark) #app .layout-sidebar {
  background: linear-gradient(180deg, #dbe4ff 0%, #ddd6fe 34%, #f5d0fe 68%, #fde68a 100%) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.55) !important;
}
html:not(.dark) #app .layout-sidebar .el-menu-item:hover,
html:not(.dark) #app .layout-sidebar .el-sub-menu__title:hover {
  background: rgba(255, 255, 255, 0.45) !important;
}
html:not(.dark) #app .layout-sidebar .el-sub-menu.is-opened > .el-sub-menu__title {
  background: rgba(255, 255, 255, 0.35);
}
/* 快捷入口改小：图标 56→38，内边距收紧；字号字形不动 */
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div {
  padding: 9px 6px 8px !important;
  border-radius: 14px;
}
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div svg.art-svg-icon {
  width: 38px !important;
  height: 38px !important;
  padding: 9px !important;
  border-radius: 12px !important;
  margin-bottom: 5px !important;
}
/* API 页复制按钮：白字白图标（字形与字号不动，只改颜色好认） */
html:not(.dark) #app-main .el-descriptions .el-input-group__append .el-button {
  color: #fff !important;
}
html:not(.dark) #app-main .el-descriptions .el-input-group__append .el-button svg,
html:not(.dark) #app-main .el-descriptions .el-input-group__append .el-button .el-icon {
  color: #fff !important;
}
/* 加载态更醒目：遮罩更实，页面容器给最小高度让遮罩有地方显示 */
html:not(.dark) .el-loading-mask {
  background: rgba(255, 255, 255, 0.78) !important;
}
html:not(.dark) #app-main .art-page-view {
  min-height: calc(100dvh - 110px);
}

/* ---- v14（2026-11-24 用户报“改透明了”：v13 的子层透明把侧栏底色弄没了，仪表盘从背后透出来、字都叠在一起）：子层改回同一渐变、不再透明，仍只改样式 ---- */
/* 侧栏：饱和彩虹淡彩（蓝→紫→粉→琥珀），手机上也能一眼看出不是白 */
html:not(.dark) #app .layout-sidebar {
  background: linear-gradient(180deg, #93c5fd 0%, #c4b5fd 30%, #f0abfc 62%, #fcd34d 100%) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.55) !important;
}
/* 侧栏里的子层也用同一渐变（不管哪一层是可见面板，底色都是彩色的、不透明） */
html:not(.dark) #app .layout-sidebar > div {
  background: linear-gradient(180deg, #93c5fd 0%, #c4b5fd 30%, #f0abfc 62%, #fcd34d 100%) !important;
}


/* ---- v20（2026-11-25 用户令“适配一下有点不好看了，图标全部适配符合的”）：5 个框挤在一起字换行、第 5 个框还是白底白字看不见；改成 5 框统一样式 ---- */
/* 第 5 个框：整块粉红渐变（跟前 4 个一样），白字 */
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(5) {
  background: linear-gradient(135deg, #f472b6, #e11d48) !important;
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.35);
  animation-delay: 2.4s, 0s;
}
/* 第 5 个框图标：跟其他 4 个一样，半透明白底方块 + 白色 ↩ */
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(5) .cb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.22) !important;
  box-shadow: none !important;
  animation: none;
}
/* 5 个框都收紧：图标 52→44，字 13→11px 且不换行，左右留白收窄，4 个字一行放得下 */
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div {
  padding: 12px 4px 10px;
}
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div svg.art-svg-icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 14px;
  margin-bottom: 6px;
}
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div .text-xs {
  font-size: 11px;
  white-space: nowrap;
}

/* ---- v21（2026-11-25 用户令“适配一下电脑端全部”）：电脑端恢复大尺寸，手机端保持 v20 紧凑 ---- */
/* 电脑（>768px）：5 个快捷入口恢复大图标大字，桌面宽屏不再挤 */
@media (min-width: 769px) {
  html:not(.dark) .dashboard-console .grid.grid-cols-4 > div {
    padding: 18px 10px 16px;
    border-radius: 18px;
  }
  html:not(.dark) .dashboard-console .grid.grid-cols-4 > div svg.art-svg-icon,
  html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(5) .cb-icon {
    width: 56px;
    height: 56px;
    padding: 14px;
    border-radius: 18px;
    margin-bottom: 10px;
  }
  html:not(.dark) .dashboard-console .grid.grid-cols-4 > div:nth-child(5) .cb-icon {
    font-size: 28px;
  }
  html:not(.dark) .dashboard-console .grid.grid-cols-4 > div .text-xs {
    font-size: 14px;
  }
  /* 电脑端统计卡：更宽松 */
  html:not(.dark) .dashboard-console .el-row.mb-1 .h-35 {
    min-height: 150px;
  }
  /* 电脑端问候卡：头像与标题放大 */
  html:not(.dark) .dashboard-console .art-card:first-child .el-avatar {
    width: 72px !important;
    height: 72px !important;
  }
  /* 电脑端内容区左右留白收窄，屏宽利用更好 */
  html:not(.dark) #app-main {
    padding: 20px 28px;
  }
  /* 电脑端侧栏菜单字略大 */
  html:not(.dark) #app .layout-sidebar .el-menu-item,
  html:not(.dark) #app .layout-sidebar .el-sub-menu__title {
    font-size: 15px;
  }
  /* ---- v21 续：全部功能页通用（订单/结算/账户/API 等）---- */
  /* 内页卡片内边距放大 */
  html:not(.dark) #app-main .art-card,
  html:not(.dark) #app-main .art-card-sm,
  html:not(.dark) #app-main .art-card-xs,
  html:not(.dark) #app-main .art-table-card {
    padding: 24px !important;
  }
  /* 表格行高与字号，桌面看得清 */
  html:not(.dark) #app-main .el-table td.el-table__cell,
  html:not(.dark) #app-main .el-table th.el-table__cell {
    padding: 14px 12px;
    font-size: 14px;
  }
  /* 表单输入与按钮高度 */
  html:not(.dark) #app-main .el-input__wrapper {
    min-height: 42px;
  }
  html:not(.dark) #app-main .el-button {
    min-height: 40px;
    padding: 0 20px;
    font-size: 14px;
  }
  /* 分页与标题 */
  html:not(.dark) #app-main .el-pagination {
    margin-top: 20px;
  }
  html:not(.dark) #app-main .art-card-header h4 {
    font-size: 18px;
  }
  /* 弹窗宽度上限，超宽屏不撑满 */
  html:not(.dark) .el-dialog {
    max-width: 760px;
  }
}

/* ---- v18（2026-11-25 用户令“打开速度丝滑一点”）：手机上降渲染成本，打开更顺滑，样子不变 ---- */
/* 动效元素走 GPU 合成：浮动按钮与快捷入口 */
#callback-fab,
html:not(.dark) .dashboard-console .grid.grid-cols-4 > div {
  will-change: transform;
}
/* 手机（≤768px）：全屏渐变改静态（不再每帧重绘整屏），卡片与侧栏毛玻璃模糊减半 */
@media (max-width: 768px) {
  html:not(.dark) .dashboard-console,
  html:not(.dark) #app-main {
    animation: none !important;
  }
  html:not(.dark) #app-main .art-card,
  html:not(.dark) #app-main .art-card-sm,
  html:not(.dark) #app-main .art-card-xs,
  html:not(.dark) #app-main .art-table-card {
    -webkit-backdrop-filter: blur(8px) saturate(1.3);
    backdrop-filter: blur(8px) saturate(1.3);
  }
  html:not(.dark) #app .layout-sidebar {
    -webkit-backdrop-filter: blur(8px) saturate(1.3);
    backdrop-filter: blur(8px) saturate(1.3);
  }
}
