/* Workbench polish v2 — unified slate surfaces + single purple accent */

.model-btn [data-naw-badge] {
  display: inline-flex;
  margin-left: 4px;
  padding: 1px 4px;
  border-radius: 4px;
  background: #eee8ff;
  color: #6236ad;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.4;
}

body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) {
  --color-primary: #6d28d9;
  --primary-solid: #6d28d9;
  --primary-gradient: linear-gradient(180deg, #6d28d9 0%, #7c3aed 100%);
  --shadow-primary-hover: 0 8px 20px rgba(109, 40, 217, 0.16);
  --yj-surface-page: #f3f5f9;
  --yj-border-default: #e8ecf3;
  --yj-shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]),
body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) .page-container.app-container {
  background: #f3f5f9 !important;
}

/* Sidebar = one clean white rail. Nav, links and wallet all sit on a single
   white surface so the column reads as one piece, not stacked boxes. */
body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar.sidebar--stack {
  background: #ffffff !important;
  border-right: 1px solid #ecebf2 !important;
}

/* Sidebar nav: flat list, no per-item card chrome */
body #sidebarMenuRoot.sidebar-nav.sidebar-card {
  padding: 6px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body #sidebarMenuRoot .nav-group .nav-btn,
body #sidebarMenuRoot .nav-btn {
  background: transparent !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  border-radius: 8px !important;
  transform: none !important;
}

body #sidebarMenuRoot .nav-group .nav-btn:hover,
body #sidebarMenuRoot .nav-btn:hover {
  background: #eef1f6 !important;
  border-color: transparent !important;
  color: #334155 !important;
}

body #sidebarMenuRoot .nav-btn.active,
body #sidebarMenuRoot .nav-group .nav-btn.active {
  background: #ede9fe !important;
  border-color: #ddd6fe !important;
  color: #5b21b6 !important;
  box-shadow: none !important;
  transform: none !important;
}

body #sidebarMenuRoot .nav-btn.active .nav-btn__icon {
  transform: none !important;
  filter: none !important;
}

body #sidebarMenuRoot .nav-btn.active .nav-btn__label {
  font-weight: 600 !important;
}

/* Path guide */
.feature-path-guide {
  border-color: #e8ecf3 !important;
  background: #f8fafc !important;
}

/* Wallet + use cases dock */
body .sidebar-use-cases-dock {
  padding-top: 10px !important;
  border-top: none !important;
}

body .sidebar-use-cases-dock__btn {
  min-height: 36px !important;
  padding: 0 12px !important;
  border: 1px solid #ddd6fe !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, #faf5ff 0%, #f5f3ff 100%) !important;
  color: #6d28d9 !important;
  box-shadow: 0 1px 3px rgba(109, 40, 217, 0.08) !important;
}

body .sidebar-use-cases-dock__btn:hover {
  border-color: #c4b5fd !important;
  background: #ede9fe !important;
  color: #5b21b6 !important;
}

body .sidebar-wallet {
  margin-top: 8px !important;
  padding-top: 14px !important;
  background: linear-gradient(165deg, #ffffff 0%, #faf5ff 55%, #f5f3ff 100%) !important;
  border-color: #ddd6fe !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 22px rgba(109, 40, 217, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

body .sidebar-wallet::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, #6d28d9 0%, #a78bfa 52%, #7c3aed 100%) !important;
  pointer-events: none !important;
}

body .sidebar-wallet__eyebrow {
  color: #7c3aed !important;
  font-weight: 700 !important;
}

body .sidebar-wallet__num {
  color: #4c1d95 !important;
  font-size: 28px !important;
  font-weight: 800 !important;
}

body .sidebar-wallet__unit {
  color: #7c3aed !important;
  font-weight: 700 !important;
}

body .sidebar-wallet__refresh {
  border-color: #ddd6fe !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: #7c3aed !important;
}

body .sidebar-wallet__refresh:hover {
  border-color: #c4b5fd !important;
  background: #ffffff !important;
  color: #6d28d9 !important;
}

body .sidebar-wallet__action--recharge {
  background: #ffffff !important;
  border-color: #c4b5fd !important;
  color: #6d28d9 !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 2px rgba(109, 40, 217, 0.06) !important;
}

body .sidebar-wallet__action--recharge:hover {
  background: #7c3aed !important;
  border-color: #6d28d9 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.22) !important;
}

body .sidebar-wallet__action--account {
  background: rgba(255, 255, 255, 0.55) !important;
  border-color: #e9d5ff !important;
  color: #5b21b6 !important;
}

body .sidebar-wallet__action--account:hover {
  background: #ffffff !important;
  border-color: #ddd6fe !important;
  color: #4c1d95 !important;
}

/* Main panels */
body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) .main-area > .yj-card.yj-card--panel,
body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) #resultPanel.result-panel {
  border-color: #e8ecf3 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

/* Generate: sole saturated CTA */
body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) .generate-btn.generate-btn--standard:not(.generating) {
  background: linear-gradient(180deg, #6d28d9 0%, #7c3aed 100%) !important;
  border-color: #6d28d9 !important;
  box-shadow: 0 6px 16px rgba(109, 40, 217, 0.2) !important;
}

body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) .generate-btn.generate-btn--standard:hover:not(:disabled):not(.generating) {
  filter: brightness(1.04);
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.24) !important;
}

/* Example inspiration: secondary outline */
body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) .result-try-examples-btn {
  background: #ffffff !important;
  border: 1px solid #ddd6fe !important;
  color: #6d28d9 !important;
  box-shadow: none !important;
}

body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) .result-try-examples-btn:hover {
  background: #f5f3ff !important;
  border-color: #c4b5fd !important;
  color: #5b21b6 !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}

body .sidebar-wallet__action {
  white-space: normal !important;
  line-height: 1.18 !important;
}

body .sidebar-wallet__action--recharge {
  font-size: 11px !important;
}

body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) .result-empty-actions .result-try-examples-btn:not(.result-try-examples-btn--secondary) {
  background: #7c3aed !important;
  border-color: #7c3aed !important;
  color: #ffffff !important;
  box-shadow: 0 5px 14px rgba(124, 58, 237, 0.18) !important;
}

body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) .result-empty-actions .result-try-examples-btn:not(.result-try-examples-btn--secondary):hover {
  background: #6d28d9 !important;
  border-color: #6d28d9 !important;
  color: #ffffff !important;
}

body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) .result-empty-actions .result-try-examples-btn--secondary {
  background: #ffffff !important;
  border-color: #ddd6fe !important;
  color: #5b21b6 !important;
}

/* Model VIP tag: soft badge, not mini gradient button */
body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) .model-btn .model-tag {
  background: #ede9fe !important;
  color: #6d28d9 !important;
}

body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) .model-btn.selected .model-tag {
  background: rgba(109, 40, 217, 0.16) !important;
  color: #4c1d95 !important;
}

/* Upload zones */
body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) .upload-zone {
  border-style: solid !important;
  border-width: 1px !important;
  border-color: #e2e8f0 !important;
  background: #f7f8fb !important;
}

body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) .upload-zone:hover,
body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) .upload-zone.is-dragover,
body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) .upload-zone.drag-over {
  border-style: solid !important;
  border-color: rgba(124, 58, 237, 0.28) !important;
  background: rgba(139, 92, 246, 0.06) !important;
}

/* GPT step cards */
body:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) #gpt-image-panel .gpt-step-card,
body:not([data-app-feature="use-cases"]) #nano-banana-panel .gpt-step-card {
  border-color: #e8ecf3 !important;
  box-shadow: none !important;
}

/* Creation card wallet skins */
body .sidebar-wallet__tools {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

body .sidebar-wallet__skin-btn,
body .sidebar-wallet__refresh {
  min-width: 32px !important;
  min-height: 32px !important;
}

body .sidebar-wallet__skin-btn {
  border: 1px solid rgba(124, 58, 237, 0.18) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  color: #5b21b6 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  width: 32px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 6 !important;
  pointer-events: auto !important;
}

body .sidebar-wallet__skin-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 0 !important;
  pointer-events: none !important;
}

body .sidebar-wallet__skin-icon .lucide-nav-svg {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
}

body .sidebar-wallet__refresh {
  position: relative !important;
  z-index: 6 !important;
  pointer-events: auto !important;
}

body .sidebar-wallet__tools {
  position: relative !important;
  z-index: 6 !important;
}

body .sidebar-wallet__head {
  position: relative !important;
  z-index: 5 !important;
}

body .sidebar-wallet__skin-btn:hover {
  background: #ffffff !important;
  border-color: rgba(124, 58, 237, 0.35) !important;
}

body .sidebar-wallet__identity {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
  margin-top: 6px !important;
  max-width: 100% !important;
}

body .sidebar-wallet__tier {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-top: 0 !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.74) !important;
  color: #3b2f77 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
}

body .sidebar-wallet__formal {
  display: block !important;
  max-width: 100% !important;
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

body .sidebar-wallet__identity[data-identity-state="guest"] .sidebar-wallet__tier {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
}

/* Wallet skin tokens — one cohesive theme per selected appearance */
body[data-wallet-skin="mini"] {
  --yj-wallet-bg: linear-gradient(155deg, #f8fafc 0%, #f3fbf8 54%, #ffffff 100%);
  --yj-wallet-border: rgba(15, 118, 110, 0.18);
  --yj-wallet-shadow: 0 1px 2px rgba(15, 23, 42, 0.035), 0 8px 18px rgba(15, 118, 110, 0.08);
  --yj-wallet-bar: linear-gradient(90deg, #0f766e 0%, #5eead4 100%);
  --yj-wallet-eyebrow: #0f766e;
  --yj-wallet-num: #0f766e;
  --yj-wallet-unit: #2c9d91;
  --yj-wallet-tier-bg: rgba(204, 251, 241, 0.58);
  --yj-wallet-tier-border: rgba(153, 246, 228, 0.62);
  --yj-wallet-tier-text: #0f766e;
  --yj-wallet-tool-bg: rgba(255, 255, 255, 0.82);
  --yj-wallet-tool-border: rgba(15, 118, 110, 0.18);
  --yj-wallet-tool-text: #0f766e;
  --yj-wallet-recharge-bg: linear-gradient(135deg, #0f766e, #14b8a6);
  --yj-wallet-recharge-border: transparent;
  --yj-wallet-recharge-text: #ffffff;
  --yj-wallet-account-bg: rgba(255, 255, 255, 0.72);
  --yj-wallet-account-border: rgba(15, 118, 110, 0.16);
  --yj-wallet-account-text: #0f766e;
}

body[data-wallet-skin="trial"] {
  --yj-wallet-bg: linear-gradient(155deg, #eef2ff 0%, #f5f3ff 50%, #ffffff 100%);
  --yj-wallet-border: rgba(99, 102, 241, 0.34);
  --yj-wallet-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 22px rgba(99, 102, 241, 0.14);
  --yj-wallet-bar: linear-gradient(90deg, #4338ca 0%, #6366f1 52%, #818cf8 100%);
  --yj-wallet-eyebrow: #4338ca;
  --yj-wallet-num: #4338ca;
  --yj-wallet-unit: #6366f1;
  --yj-wallet-tier-bg: #e0e7ff;
  --yj-wallet-tier-border: #c7d2fe;
  --yj-wallet-tier-text: #4338ca;
  --yj-wallet-tool-bg: rgba(255, 255, 255, 0.82);
  --yj-wallet-tool-border: rgba(99, 102, 241, 0.28);
  --yj-wallet-tool-text: #4338ca;
  --yj-wallet-recharge-bg: linear-gradient(135deg, #4f46e5, #6366f1);
  --yj-wallet-recharge-border: transparent;
  --yj-wallet-recharge-text: #ffffff;
  --yj-wallet-account-bg: rgba(255, 255, 255, 0.72);
  --yj-wallet-account-border: rgba(99, 102, 241, 0.24);
  --yj-wallet-account-text: #4338ca;
}

body[data-wallet-skin="standard"] {
  --yj-wallet-bg: linear-gradient(155deg, #faf5ff 0%, #fff7ed 54%, #ffffff 100%);
  --yj-wallet-border: rgba(168, 85, 247, 0.34);
  --yj-wallet-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 22px rgba(124, 58, 237, 0.14);
  --yj-wallet-bar: linear-gradient(90deg, #7c3aed 0%, #a855f7 48%, #f59e0b 100%);
  --yj-wallet-eyebrow: #7e22ce;
  --yj-wallet-num: #7e22ce;
  --yj-wallet-unit: #9333ea;
  --yj-wallet-tier-bg: #f3e8ff;
  --yj-wallet-tier-border: #e9d5ff;
  --yj-wallet-tier-text: #7e22ce;
  --yj-wallet-tool-bg: rgba(255, 255, 255, 0.82);
  --yj-wallet-tool-border: rgba(168, 85, 247, 0.28);
  --yj-wallet-tool-text: #7e22ce;
  --yj-wallet-recharge-bg: linear-gradient(135deg, #7c3aed, #d97706);
  --yj-wallet-recharge-border: transparent;
  --yj-wallet-recharge-text: #ffffff;
  --yj-wallet-account-bg: rgba(255, 255, 255, 0.72);
  --yj-wallet-account-border: rgba(168, 85, 247, 0.24);
  --yj-wallet-account-text: #7e22ce;
}

body[data-wallet-skin="flagship"] {
  --yj-wallet-bg:
    radial-gradient(ellipse 120% 85% at 100% -5%, rgba(251, 191, 36, 0.28), transparent 50%),
    radial-gradient(ellipse 90% 75% at 0% 105%, rgba(251, 146, 60, 0.2), transparent 46%),
    linear-gradient(168deg, #08080c 0%, #121018 36%, #1c1408 68%, #0a0a0e 100%);
  --yj-wallet-border: rgba(252, 211, 77, 0.62);
  --yj-wallet-shadow:
    0 0 0 1px rgba(252, 211, 77, 0.16),
    0 16px 40px rgba(0, 0, 0, 0.5),
    0 0 56px rgba(251, 191, 36, 0.22);
  --yj-wallet-bar: linear-gradient(90deg, #78350f 0%, #f59e0b 22%, #fde68a 50%, #fbbf24 78%, #78350f 100%);
  --yj-wallet-eyebrow: #fde68a;
  --yj-wallet-num: #fef08a;
  --yj-wallet-unit: #fcd34d;
  --yj-wallet-tier-bg: linear-gradient(135deg, rgba(251, 191, 36, 0.32), rgba(12, 10, 8, 0.78));
  --yj-wallet-tier-border: rgba(253, 224, 71, 0.68);
  --yj-wallet-tier-text: #fffbeb;
  --yj-wallet-tool-bg: rgba(10, 8, 6, 0.62);
  --yj-wallet-tool-border: rgba(252, 211, 77, 0.42);
  --yj-wallet-tool-text: #fde68a;
  --yj-wallet-recharge-bg: linear-gradient(135deg, #fff7d6 0%, #fbbf24 42%, #ea580c 100%);
  --yj-wallet-recharge-border: rgba(255, 251, 235, 0.55);
  --yj-wallet-recharge-text: #1c1917;
  --yj-wallet-account-bg: rgba(0, 0, 0, 0.38);
  --yj-wallet-account-border: rgba(252, 211, 77, 0.38);
  --yj-wallet-account-text: #fde68a;
}

.sidebar-wallet__fx {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none !important;
  border-radius: inherit;
  overflow: hidden;
}

.sidebar-wallet__fx::before,
.sidebar-wallet__fx::after {
  pointer-events: none !important;
}

.sidebar-wallet--flagship .sidebar-wallet__fx,
body[data-wallet-skin="flagship"] .sidebar-wallet__fx {
  display: block !important;
}

@keyframes wallet-flagship-orb {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate(-6%, 4%) scale(1.08);
    opacity: 0.9;
  }
}

@keyframes wallet-flagship-shimmer {
  0% { transform: translateX(-160%) skewX(-12deg); opacity: 0; }
  12% { opacity: 0; }
  28% { opacity: 0.42; }
  100% { transform: translateX(260%) skewX(-12deg); opacity: 0; }
}

@keyframes wallet-flagship-glow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(252, 211, 77, 0.14),
      0 16px 40px rgba(0, 0, 0, 0.5),
      0 0 48px rgba(251, 191, 36, 0.18);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(253, 224, 71, 0.28),
      0 18px 44px rgba(0, 0, 0, 0.52),
      0 0 72px rgba(251, 191, 36, 0.34);
  }
}

@keyframes wallet-flagship-bar {
  0%, 100% { filter: brightness(1) saturate(1); }
  50% { filter: brightness(1.18) saturate(1.12); }
}

@keyframes wallet-flagship-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2), 0 0 8px rgba(251, 191, 36, 0.35); }
  50% { box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.32), 0 0 16px rgba(251, 191, 36, 0.62); }
}

body[data-wallet-skin="flagship"] .sidebar-wallet__fx {
  display: block !important;
}

.sidebar-wallet--flagship .sidebar-wallet__fx::before,
body[data-wallet-skin="flagship"] .sidebar-wallet__fx::before {
  content: "";
  position: absolute;
  top: -42%;
  right: -28%;
  width: 88%;
  height: 96%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.42) 0%, rgba(180, 83, 9, 0.16) 42%, transparent 72%);
  animation: wallet-flagship-orb 4.2s ease-in-out infinite;
  pointer-events: none !important;
  will-change: transform, opacity;
}

.sidebar-wallet--flagship .sidebar-wallet__fx::after,
body[data-wallet-skin="flagship"] .sidebar-wallet__fx::after {
  content: "";
  position: absolute;
  inset: -10% -20%;
  opacity: 0;
  background: linear-gradient(102deg, transparent 40%, rgba(251, 191, 36, 0.14) 50%, transparent 60%);
  animation: wallet-flagship-shimmer 4.8s ease-in-out infinite;
  animation-fill-mode: none;
  pointer-events: none !important;
  will-change: transform, opacity;
}

.sidebar-wallet--flagship,
body[data-wallet-skin="flagship"] .sidebar-wallet {
  border-width: 1px !important;
  backdrop-filter: blur(10px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.18) !important;
  animation: wallet-flagship-glow 3.2s ease-in-out infinite !important;
  isolation: isolate !important;
}

.sidebar-wallet--flagship::before,
body[data-wallet-skin="flagship"] .sidebar-wallet::before {
  height: 3px !important;
  opacity: 1 !important;
  pointer-events: none !important;
  box-shadow: 0 0 22px rgba(251, 191, 36, 0.75) !important;
  animation: wallet-flagship-bar 3.2s ease-in-out infinite !important;
  z-index: 2 !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet::after {
  content: none !important;
  display: none !important;
}

.sidebar-wallet--flagship .sidebar-wallet__head,
.sidebar-wallet--flagship .sidebar-wallet__identity,
.sidebar-wallet--flagship .sidebar-wallet__balance,
.sidebar-wallet--flagship .sidebar-wallet__actions,
body[data-wallet-skin="flagship"] .sidebar-wallet__head,
body[data-wallet-skin="flagship"] .sidebar-wallet__identity,
body[data-wallet-skin="flagship"] .sidebar-wallet__balance,
body[data-wallet-skin="flagship"] .sidebar-wallet__actions {
  position: relative;
  z-index: 4;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__eyebrow::before {
  background: #fcd34d !important;
  animation: wallet-flagship-dot 2.8s ease-in-out infinite !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__num {
  background: linear-gradient(135deg, #fffbeb 0%, #fef08a 30%, #fbbf24 55%, #f59e0b 78%, #fff7ed 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.22)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.22)) !important;
  font-size: 25px !important;
  letter-spacing: -0.025em !important;
  animation: wallet-flagship-num-shift 5s linear infinite !important;
}

@keyframes wallet-flagship-num-shift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

body[data-wallet-skin="flagship"] .sidebar-wallet__identity .sidebar-wallet__tier {
  background: var(--yj-wallet-tier-bg) !important;
  box-shadow:
    inset 0 1px 0 rgba(254, 243, 199, 0.35),
    0 0 18px rgba(251, 191, 36, 0.2),
    0 4px 14px rgba(0, 0, 0, 0.28) !important;
  letter-spacing: 0.05em !important;
  text-transform: none !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__skin-btn,
body[data-wallet-skin="flagship"] .sidebar-wallet__refresh,
body[data-wallet-skin="flagship"] .sidebar-wallet__tools .notice-btn--sidebar {
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow:
    inset 0 1px 0 rgba(254, 243, 199, 0.12),
    0 0 12px rgba(251, 191, 36, 0.12) !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__action--recharge,
body[data-wallet-skin="flagship"] .sidebar-wallet .vip-btn--sidebar-recharge {
  font-weight: 800 !important;
  box-shadow:
    0 8px 24px rgba(245, 158, 11, 0.48),
    0 0 20px rgba(251, 191, 36, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__action--recharge:hover,
body[data-wallet-skin="flagship"] .sidebar-wallet .vip-btn--sidebar-recharge:hover {
  filter: brightness(1.08) saturate(1.08) !important;
  box-shadow:
    0 10px 28px rgba(245, 158, 11, 0.55),
    0 0 28px rgba(251, 191, 36, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__action--account {
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow:
    inset 0 1px 0 rgba(254, 243, 199, 0.1),
    0 0 10px rgba(251, 191, 36, 0.08) !important;
}


@media (prefers-reduced-motion: reduce) {
  .sidebar-wallet--flagship,
  body[data-wallet-skin="flagship"] .sidebar-wallet,
  .sidebar-wallet--flagship::before,
  body[data-wallet-skin="flagship"] .sidebar-wallet::before,
  .sidebar-wallet--flagship .sidebar-wallet__fx::before,
  .sidebar-wallet--flagship .sidebar-wallet__fx::after,
  body[data-wallet-skin="flagship"] .sidebar-wallet__fx::before,
  body[data-wallet-skin="flagship"] .sidebar-wallet__fx::after,
  body[data-wallet-skin="flagship"] .sidebar-wallet__eyebrow::before,
  body[data-wallet-skin="flagship"] .sidebar-wallet__num {
    animation: none !important;
  }

  .sidebar-wallet--flagship .sidebar-wallet__fx::before,
  .sidebar-wallet--flagship .sidebar-wallet__fx::after,
  body[data-wallet-skin="flagship"] .sidebar-wallet__fx::before,
  body[data-wallet-skin="flagship"] .sidebar-wallet__fx::after {
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

body[data-wallet-skin] .sidebar-wallet {
  background: var(--yj-wallet-bg) !important;
  border-color: var(--yj-wallet-border) !important;
  transition:
    background 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease,
    color 280ms ease !important;
}

body[data-wallet-skin]:not([data-wallet-skin="flagship"]) .sidebar-wallet {
  box-shadow: var(--yj-wallet-shadow) !important;
}

body[data-wallet-skin] .sidebar-wallet::before {
  background: var(--yj-wallet-bar) !important;
}

body[data-wallet-skin] .sidebar-wallet__eyebrow {
  color: var(--yj-wallet-eyebrow) !important;
}

body[data-wallet-skin]:not([data-wallet-skin="flagship"]) .sidebar-wallet__num {
  color: var(--yj-wallet-num) !important;
}

body[data-wallet-skin] .sidebar-wallet__unit {
  color: var(--yj-wallet-unit) !important;
}

body[data-wallet-skin] .sidebar-wallet__identity .sidebar-wallet__tier {
  background: var(--yj-wallet-tier-bg) !important;
  border: 1px solid var(--yj-wallet-tier-border) !important;
  color: var(--yj-wallet-tier-text) !important;
}

body[data-wallet-skin] .sidebar-wallet__skin-btn,
body[data-wallet-skin] .sidebar-wallet__refresh,
body[data-wallet-skin] .sidebar-wallet__tools .notice-btn--sidebar {
  background: var(--yj-wallet-tool-bg) !important;
  border: 1px solid var(--yj-wallet-tool-border) !important;
  border-color: var(--yj-wallet-tool-border) !important;
  color: var(--yj-wallet-tool-text) !important;
  box-shadow: none !important;
  transform: none !important;
}

body[data-wallet-skin] .sidebar-wallet__tools .notice-btn--sidebar:hover {
  background: var(--yj-wallet-tool-bg) !important;
  border-color: var(--yj-wallet-tool-border) !important;
  color: var(--yj-wallet-tool-text) !important;
  filter: brightness(1.06);
  transform: none !important;
  box-shadow: none !important;
}

body[data-wallet-skin] .sidebar-wallet__tools .notice-btn__icon {
  filter: none !important;
  color: inherit !important;
}

body[data-wallet-skin] .sidebar-wallet__action--recharge,
body[data-wallet-skin] .sidebar-wallet .vip-btn--sidebar-recharge {
  background: var(--yj-wallet-recharge-bg) !important;
  border: 1px solid var(--yj-wallet-recharge-border) !important;
  color: var(--yj-wallet-recharge-text) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12) !important;
}

body[data-wallet-skin] .sidebar-wallet__action--recharge:hover,
body[data-wallet-skin] .sidebar-wallet .vip-btn--sidebar-recharge:hover {
  filter: brightness(1.05);
  color: var(--yj-wallet-recharge-text) !important;
}

body[data-wallet-skin] .sidebar-wallet__action--account {
  background: var(--yj-wallet-account-bg) !important;
  border-color: var(--yj-wallet-account-border) !important;
  color: var(--yj-wallet-account-text) !important;
}

body[data-wallet-skin] .sidebar-wallet__action--account:hover {
  filter: brightness(1.04);
  color: var(--yj-wallet-account-text) !important;
}

body[data-wallet-skin] .sidebar-wallet__identity[data-identity-state="guest"] .sidebar-wallet__tier {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
}

/* Re-assert flagship motion + bright text after generic skin rules */
@media (prefers-reduced-motion: no-preference) {
  .sidebar-wallet--flagship,
  body[data-wallet-skin="flagship"] .sidebar-wallet {
    animation: wallet-flagship-glow 3.2s ease-in-out infinite !important;
    transition: background 280ms ease, border-color 280ms ease, color 280ms ease !important;
  }

  .sidebar-wallet--flagship::before,
  body[data-wallet-skin="flagship"] .sidebar-wallet::before {
    pointer-events: none !important;
    animation: wallet-flagship-bar 3.2s ease-in-out infinite !important;
  }

  body[data-wallet-skin="flagship"] .sidebar-wallet__num {
    background: linear-gradient(135deg, #fffbeb 0%, #fef08a 30%, #fbbf24 55%, #f59e0b 78%, #fff7ed 100%) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.22)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.22)) !important;
    animation: wallet-flagship-num-shift 5s linear infinite !important;
  }

  body[data-wallet-skin="flagship"] .sidebar-wallet__eyebrow::before {
    animation: wallet-flagship-dot 2.8s ease-in-out infinite !important;
  }
}

body[data-wallet-skin="flagship"] .sidebar-wallet__num {
  background: linear-gradient(135deg, #fffbeb 0%, #fef08a 30%, #fbbf24 55%, #f59e0b 78%, #fff7ed 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.22)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.22)) !important;
  font-size: 25px !important;
  letter-spacing: -0.025em !important;
}

/* Light sidebar pass: keep the rail functional, but let the workspace own focus. */
body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar.sidebar--stack {
  background: #fbfcff !important;
  border-right: 1px solid rgba(226, 232, 240, 0.72) !important;
}

body #sidebarMenuRoot.sidebar-nav.sidebar-card {
  padding: 4px !important;
}

body #sidebarMenuRoot .nav-group {
  margin-bottom: 6px !important;
}

body #sidebarMenuRoot .nav-group .nav-btn,
body #sidebarMenuRoot .nav-btn {
  min-height: 42px !important;
  height: 42px !important;
  max-height: 44px !important;
  margin-bottom: 6px !important;
  padding: 0 10px !important;
  border: 1px solid transparent !important;
  border-left-width: 1px !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #64748b !important;
  box-shadow: none !important;
  gap: 9px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

body #sidebarMenuRoot .nav-group .nav-btn:hover,
body #sidebarMenuRoot .nav-btn:hover {
  background: rgba(241, 245, 249, 0.82) !important;
  border-color: rgba(203, 213, 225, 0.72) !important;
  color: #334155 !important;
}

body #sidebarMenuRoot .nav-group .nav-btn__icon,
body #sidebarMenuRoot .nav-btn__icon {
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  opacity: 0.78 !important;
}

body #sidebarMenuRoot .nav-group .nav-btn__icon .lucide-nav-svg,
body #sidebarMenuRoot .nav-btn__icon .lucide-nav-svg {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2 !important;
}

body #sidebarMenuRoot .nav-group .nav-btn__label,
body #sidebarMenuRoot .nav-btn__label {
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.15 !important;
}

body #sidebarMenuRoot .nav-btn.active,
body #sidebarMenuRoot .nav-group .nav-btn.active {
  background: rgba(124, 58, 237, 0.075) !important;
  border-color: rgba(124, 58, 237, 0.20) !important;
  color: #5b21b6 !important;
  box-shadow: none !important;
}

body #sidebarMenuRoot .nav-btn.active .nav-btn__label,
body #sidebarMenuRoot .nav-group .nav-btn.active .nav-btn__label {
  color: #5b21b6 !important;
  font-size: 13px !important;
  font-weight: 720 !important;
}

body #sidebarMenuRoot .nav-btn.active .nav-btn__icon,
body #sidebarMenuRoot .nav-group .nav-btn.active .nav-btn__icon {
  opacity: 0.9 !important;
  transform: none !important;
}

/* Default wallet is an account footer, not a second visual hero. Preserve the
   optional flagship skin as an intentional user choice. */
body:not([data-wallet-skin]) .sidebar-wallet:not(.sidebar-wallet--flagship) {
  gap: 6px !important;
  padding: 10px !important;
  background: linear-gradient(145deg, #fcfaff 0%, #f4efff 100%) !important;
  border: 1px solid #ddd1fe !important;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.07) !important;
}

body:not([data-wallet-skin]) .sidebar-wallet:not(.sidebar-wallet--flagship)::before {
  display: none !important;
}

body:not([data-wallet-skin]) .sidebar-wallet:not(.sidebar-wallet--flagship) .sidebar-wallet__num {
  color: #5b21b6 !important;
  font-size: 22px !important;
}

body:not([data-wallet-skin]) .sidebar-wallet:not(.sidebar-wallet--flagship) .sidebar-wallet__unit,
body:not([data-wallet-skin]) .sidebar-wallet:not(.sidebar-wallet--flagship) .sidebar-wallet__tier {
  color: #7c3aed !important;
}

body:not([data-wallet-skin]) .sidebar-wallet:not(.sidebar-wallet--flagship) .sidebar-wallet__tools > button {
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body:not([data-wallet-skin]) .sidebar-wallet:not(.sidebar-wallet--flagship) .sidebar-wallet__action--recharge {
  background: #7c3aed !important;
  border-color: #7c3aed !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body:not([data-wallet-skin]) .sidebar-wallet:not(.sidebar-wallet--flagship) .sidebar-wallet__action--account {
  background: transparent !important;
  border-color: transparent !important;
  color: #667085 !important;
}

/* A selected skin always wins over the neutral fallback above and over legacy
   wallet cleanup rules, so every unlocked appearance remains visually distinct. */
body[data-wallet-skin]:not([data-wallet-skin="flagship"]) #sidebarWallet.sidebar-wallet {
  background: var(--yj-wallet-bg) !important;
  border-color: var(--yj-wallet-border) !important;
  box-shadow: var(--yj-wallet-shadow) !important;
}

body[data-wallet-skin]:not([data-wallet-skin="flagship"]) #sidebarWallet.sidebar-wallet::before {
  display: block !important;
  background: var(--yj-wallet-bar) !important;
}

body[data-wallet-skin]:not([data-wallet-skin="flagship"]) #sidebarWallet .sidebar-wallet__num {
  color: var(--yj-wallet-num) !important;
}

body[data-wallet-skin]:not([data-wallet-skin="flagship"]) #sidebarWallet .sidebar-wallet__unit {
  color: var(--yj-wallet-unit) !important;
}

body[data-wallet-skin]:not([data-wallet-skin="flagship"]) #sidebarWallet .sidebar-wallet__action--recharge {
  background: var(--yj-wallet-recharge-bg) !important;
  border-color: var(--yj-wallet-recharge-border) !important;
  color: var(--yj-wallet-recharge-text) !important;
}

/* Account center belongs to the workbench, not beside a stale result pane. */
body[data-app-feature="account-center"] #resultPanel.result-panel {
  display: none !important;
}

body[data-app-feature="account-center"] .page-container.app-container > .main-area {
  flex: 1 1 auto !important;
  max-width: none !important;
  min-width: 0 !important;
  background: #f7f8fc !important;
}

body[data-app-feature="account-center"] #panelAccountCenter.dynamic-panel--visible {
  flex: 1 1 auto !important;
  width: 100% !important;
  max-width: none !important;
  padding: 20px 24px !important;
  overflow: auto !important;
}

body[data-app-feature="account-center"] .account-center-shell {
  width: min(1180px, 100%) !important;
  height: auto !important;
  min-height: 100% !important;
  margin: 0 auto !important;
  padding: 22px !important;
  background: #ffffff !important;
  border: 1px solid #ebeaf2 !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04) !important;
}

body[data-app-feature="account-center"] .account-card {
  background: #ffffff !important;
  border-color: #e8eaf0 !important;
  box-shadow: none !important;
}

/* Keep the account wallet anchored to the bottom without using the navigation
   container itself as a stretched white card. */
body .page-container.app-container > .sidebar.sidebar--stack #sidebarWallet {
  margin-top: auto !important;
  padding-top: 10px !important;
  border-top: 1px solid #eef1f5 !important;
}

/* Navigation hierarchy: separation comes from rhythm, not nested cards. */
body #sidebarMenuRoot .nav-group {
  gap: 2px !important;
  margin: 0 !important;
}

body #sidebarMenuRoot .nav-group-header {
  min-height: 16px !important;
  margin: 0 9px 5px !important;
  color: #98a2b3 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
}

body #sidebarMenuRoot .nav-divider {
  height: 12px !important;
  margin: 0 !important;
  background: transparent !important;
}

body #sidebarMenuRoot .nav-group--secondary .nav-group-header,
body #sidebarMenuRoot .nav-group--secondary .nav-btn {
  color: #98a2b3 !important;
}

body #sidebarMenuRoot .nav-group .nav-btn {
  margin: 0 !important;
}

body #sidebarMenuRoot .nav-btn.active,
body #sidebarMenuRoot .nav-group .nav-btn.active {
  border-color: transparent !important;
  border-left-color: #c4b5fd !important;
  background: rgba(124, 58, 237, 0.055) !important;
  color: #5b21b6 !important;
}

body .sidebar-use-cases-dock__btn {
  border-color: rgba(124, 58, 237, 0.18) !important;
  background: rgba(255, 255, 255, 0.58) !important;
  color: #6d28d9 !important;
  box-shadow: none !important;
}

body .sidebar-use-cases-dock__btn:hover {
  background: rgba(124, 58, 237, 0.06) !important;
  border-color: rgba(124, 58, 237, 0.24) !important;
  color: #5b21b6 !important;
}

body .sidebar-bottom-dock {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
}

body .sidebar-bottom-dock__asset-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 7px !important;
  width: 100% !important;
  min-width: 0 !important;
}

body .sidebar-bottom-dock__asset-grid:empty {
  display: none !important;
}

body .sidebar-bottom-dock .sidebar-bottom-dock__btn.sidebar-bottom-dock__btn--asset {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 58px !important;
  height: 58px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 7px 4px !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.62) !important;
  border-color: rgba(124, 58, 237, 0.16) !important;
  color: #6d28d9 !important;
}

body .sidebar-bottom-dock .sidebar-bottom-dock__btn.sidebar-bottom-dock__btn--asset .nav-btn__icon {
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  opacity: 0.86 !important;
}

body .sidebar-bottom-dock .sidebar-bottom-dock__btn.sidebar-bottom-dock__btn--asset .nav-btn__label {
  flex: 0 1 auto !important;
  width: 100% !important;
  text-align: center !important;
  font-size: 11px !important;
  font-weight: 720 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

body .sidebar-bottom-dock .sidebar-bottom-dock__btn.sidebar-bottom-dock__btn--wide {
  min-height: 38px !important;
  height: 38px !important;
  max-height: 40px !important;
  margin: 0 !important;
  border-radius: 9px !important;
  background: rgba(255, 255, 255, 0.48) !important;
  border-color: rgba(124, 58, 237, 0.14) !important;
  color: #6d28d9 !important;
}

body .sidebar-bottom-dock .sidebar-bottom-dock__btn.sidebar-bottom-dock__btn--wide .nav-btn__label {
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.15 !important;
}

body .sidebar-bottom-dock .sidebar-bottom-dock__btn.sidebar-bottom-dock__btn--wide.active .nav-btn__label {
  font-weight: 720 !important;
}

body .sidebar-bottom-dock .sidebar-bottom-dock__btn:hover {
  background: rgba(124, 58, 237, 0.07) !important;
  border-color: rgba(124, 58, 237, 0.24) !important;
}

body .sidebar-ui-version {
  margin: 8px 10px 0;
  position: relative;
  z-index: 12;
}

body .sidebar-ui-version__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(59, 130, 246, 0.05));
  color: #312e81;
  cursor: pointer;
  text-align: left;
  pointer-events: auto !important;
  position: relative;
  z-index: 1;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

body .sidebar-ui-version__btn:hover {
  border-color: rgba(124, 58, 237, 0.34);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(59, 130, 246, 0.08));
  transform: translateY(-1px);
}

body .sidebar-ui-version__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: rgba(124, 58, 237, 0.14);
  color: #5b21b6;
}

body .sidebar-ui-version__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

body .sidebar-ui-version__label {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
}

body .sidebar-ui-version__hint {
  font-size: 11px;
  line-height: 1.25;
  color: rgba(49, 46, 129, 0.72);
}

body.sidebar--collapsed .sidebar-ui-version {
  display: none;
}

body:not([data-wallet-skin="flagship"]) .sidebar-wallet {
  margin-top: 6px !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  box-shadow: none !important;
}

body:not([data-wallet-skin="flagship"]) .sidebar-wallet::before {
  height: 2px !important;
  opacity: 0.42 !important;
  box-shadow: none !important;
}

body:not([data-wallet-skin="flagship"]) .sidebar-wallet__eyebrow {
  color: #475569 !important;
  font-weight: 650 !important;
}

body:not([data-wallet-skin="flagship"]) .sidebar-wallet__eyebrow::before {
  width: 5px !important;
  height: 5px !important;
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.10) !important;
}

body:not([data-wallet-skin="flagship"]) .sidebar-wallet__tier {
  padding: 4px 9px !important;
  background: rgba(241, 245, 249, 0.72) !important;
  border-color: rgba(226, 232, 240, 0.86) !important;
  color: #475569 !important;
  font-size: 11px !important;
  font-weight: 650 !important;
}

body:not([data-wallet-skin="flagship"]) .sidebar-wallet__num {
  color: var(--yj-wallet-num, #0f766e) !important;
  font-size: 22px !important;
  font-weight: 720 !important;
  letter-spacing: -0.01em !important;
}

body:not([data-wallet-skin="flagship"]) .sidebar-wallet__unit {
  color: var(--yj-wallet-unit, #0f766e) !important;
  font-size: 11px !important;
  font-weight: 650 !important;
}

body:not([data-wallet-skin="flagship"]) .sidebar-wallet__skin-btn,
body:not([data-wallet-skin="flagship"]) .sidebar-wallet__refresh,
body:not([data-wallet-skin="flagship"]) .sidebar-wallet__tools .notice-btn--sidebar {
  border-color: rgba(148, 163, 184, 0.26) !important;
  background: rgba(255, 255, 255, 0.68) !important;
  color: var(--yj-wallet-tool-text, #475569) !important;
  box-shadow: none !important;
  transform: none !important;
}

body:not([data-wallet-skin="flagship"]) .sidebar-wallet__skin-btn:hover,
body:not([data-wallet-skin="flagship"]) .sidebar-wallet__refresh:hover,
body:not([data-wallet-skin="flagship"]) .sidebar-wallet__tools .notice-btn--sidebar:hover {
  background: #ffffff !important;
  border-color: rgba(100, 116, 139, 0.28) !important;
  transform: none !important;
  box-shadow: none !important;
}

body:not([data-wallet-skin="flagship"]) .sidebar-wallet .vip-btn--sidebar-recharge,
body:not([data-wallet-skin="flagship"]) .sidebar-wallet__action--recharge {
  background: rgba(15, 118, 110, 0.08) !important;
  border-color: rgba(15, 118, 110, 0.18) !important;
  color: var(--yj-wallet-num, #0f766e) !important;
  box-shadow: none !important;
}

body:not([data-wallet-skin="flagship"]) .sidebar-wallet .vip-btn--sidebar-recharge:hover,
body:not([data-wallet-skin="flagship"]) .sidebar-wallet__action--recharge:hover {
  background: rgba(15, 118, 110, 0.13) !important;
  border-color: rgba(15, 118, 110, 0.26) !important;
  color: var(--yj-wallet-num, #0f766e) !important;
  box-shadow: none !important;
}

body:not([data-wallet-skin="flagship"]) .sidebar-wallet__action--account {
  background: rgba(255, 255, 255, 0.52) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #475569 !important;
  box-shadow: none !important;
}

body:not([data-wallet-skin="flagship"]) .sidebar-wallet__action--account:hover {
  background: #ffffff !important;
  border-color: rgba(100, 116, 139, 0.28) !important;
  color: #334155 !important;
}

body .sidebar-wallet__tools {
  gap: 6px !important;
}

body .sidebar-wallet__skin-btn {
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  border-radius: 10px !important;
  border-color: rgba(124, 58, 237, 0.16) !important;
  background: rgba(255, 255, 255, 0.58) !important;
}

body .sidebar-wallet__skin-icon .lucide-nav-svg {
  width: 16px !important;
  height: 16px !important;
  stroke-width: 2 !important;
}

body .sidebar-wallet__tools .notice-btn--sidebar {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  border-radius: 10px !important;
  border: 1px solid var(--yj-wallet-tool-border, rgba(148, 163, 184, 0.26)) !important;
  background: var(--yj-wallet-tool-bg, rgba(255, 255, 255, 0.68)) !important;
  color: var(--yj-wallet-tool-text, #475569) !important;
  box-shadow: none !important;
  isolation: auto !important;
  transform: none !important;
}

body .sidebar-wallet__tools .notice-btn--sidebar:hover {
  background: var(--yj-wallet-tool-bg, #ffffff) !important;
  border-color: var(--yj-wallet-tool-border, rgba(100, 116, 139, 0.28)) !important;
  color: var(--yj-wallet-tool-text, #334155) !important;
  box-shadow: none !important;
  transform: none !important;
}

body .sidebar-wallet__tools .notice-btn__icon {
  width: 16px !important;
  height: 16px !important;
  filter: none !important;
}

body .sidebar-wallet__refresh {
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  border-radius: 10px !important;
}

body:not([data-wallet-skin="flagship"]) .sidebar-wallet__skin-btn {
  border-color: rgba(148, 163, 184, 0.22) !important;
  background: rgba(255, 255, 255, 0.52) !important;
}

body:not([data-wallet-skin="flagship"]) .sidebar-wallet__skin-btn:hover {
  border-color: rgba(124, 58, 237, 0.22) !important;
  background: #ffffff !important;
}

@media (min-width: 1024px) {
  body .page-container.app-container > .sidebar.sidebar--stack {
    flex: 0 0 192px !important;
    width: 192px !important;
    min-width: 192px !important;
    max-width: 192px !important;
    padding: 12px 10px !important;
    gap: 8px !important;
  }

  body .sidebar-top-chrome {
    padding: 0 1px !important;
  }

  body .sidebar-top-chrome .brand-wordmark-img {
    width: 88px !important;
  }

  body #sidebarMenuRoot.sidebar-nav.sidebar-card {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 4px 0 !important;
  }

  body .sidebar-use-cases-dock {
    padding-top: 6px !important;
  }

  body .sidebar-wallet__actions {
    gap: 6px !important;
  }

  body .sidebar-wallet__action {
    min-height: 32px !important;
    border-radius: 7px !important;
    font-size: 11px !important;
  }

  body .page-container.app-container > .sidebar.sidebar--stack.is-collapsed {
    flex: 0 0 72px !important;
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    padding: 12px 8px !important;
    gap: 8px !important;
  }

  body .page-container.app-container > .sidebar.sidebar--stack.is-collapsed .sidebar-wallet {
    display: flex !important;
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    margin: 0 auto !important;
    padding: 6px 4px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  body .page-container.app-container > .sidebar.sidebar--stack.is-collapsed .sidebar-wallet::before {
    display: none !important;
  }

  body .page-container.app-container > .sidebar.sidebar--stack.is-collapsed .sidebar-wallet__head,
  body .page-container.app-container > .sidebar.sidebar--stack.is-collapsed .sidebar-wallet__identity,
  body .page-container.app-container > .sidebar.sidebar--stack.is-collapsed .sidebar-wallet__actions,
  body .page-container.app-container > .sidebar.sidebar--stack.is-collapsed .sidebar-wallet__unit {
    display: none !important;
  }

  body .page-container.app-container > .sidebar.sidebar--stack.is-collapsed .sidebar-wallet__balance {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 0 !important;
  }

  body .page-container.app-container > .sidebar.sidebar--stack.is-collapsed .sidebar-wallet__num {
    display: block !important;
    max-width: 42px !important;
    overflow: hidden !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 12px !important;
    font-weight: 760 !important;
    letter-spacing: 0 !important;
  }
}

.wallet-skin-popover {
  position: fixed;
  z-index: 13000;
  width: min(332px, calc(100vw - 24px));
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}

.wallet-skin-popover[hidden] {
  display: none !important;
}

.wallet-skin-popover__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.wallet-skin-popover__head strong {
  display: block;
  color: #111827;
  font-size: 14px;
}

.wallet-skin-popover__head span {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
}

.wallet-skin-popover__close {
  width: 32px;
  height: 32px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
}

.wallet-skin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.wallet-skin-card {
  min-height: 116px;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.wallet-skin-card strong,
.wallet-skin-card small,
.wallet-skin-card span {
  display: block;
}

.wallet-skin-card__tag,
.wallet-skin-card__status {
  width: fit-content;
  max-width: 100%;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

/* Home focus pass: keep wallet useful without competing with the creation box. */
body[data-app-feature="operation-center"] .sidebar-wallet__num {
  font-size: 22px !important;
  font-weight: 720 !important;
  letter-spacing: -0.01em !important;
}

body[data-app-feature="operation-center"][data-wallet-skin="flagship"] .sidebar-wallet__num {
  filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.22)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.22)) !important;
  font-size: 25px !important;
  letter-spacing: -0.025em !important;
}

body[data-app-feature="operation-center"] .sidebar-wallet__unit {
  font-size: 10px !important;
  font-weight: 650 !important;
  opacity: 0.86 !important;
}

.wallet-skin-card strong {
  margin-top: 8px;
  color: #111827;
  font-size: 13px;
}

.wallet-skin-card small {
  min-height: 34px;
  margin-top: 5px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.45;
}

.wallet-skin-card__status {
  margin-top: 8px;
  background: #f8fafc;
  color: #475569;
}

.wallet-skin-card--mini {
  background: linear-gradient(145deg, #ecfdf5, #ffffff);
}

.wallet-skin-card--mini .wallet-skin-card__tag {
  background: #ccfbf1;
  color: #0f766e;
}

.wallet-skin-card--trial {
  background: linear-gradient(145deg, #eef2ff, #ffffff);
}

.wallet-skin-card--trial .wallet-skin-card__tag {
  background: #e0e7ff;
  color: #4338ca;
}

.wallet-skin-card--standard {
  background: linear-gradient(145deg, #faf5ff, #fffbeb);
}

.wallet-skin-card--standard .wallet-skin-card__tag {
  background: #f3e8ff;
  color: #7e22ce;
}

.wallet-skin-card--flagship {
  background:
    radial-gradient(circle at 88% 8%, rgba(251, 191, 36, 0.2), transparent 42%),
    linear-gradient(145deg, #0a0a0d, #1a1510 55%, #2d2418);
  border-color: rgba(251, 191, 36, 0.34);
  box-shadow: inset 0 1px 0 rgba(254, 243, 199, 0.1);
}

.wallet-skin-card--flagship.is-current {
  border-color: #fbbf24 !important;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.18) !important;
}

.wallet-skin-card--flagship strong,
.wallet-skin-card--flagship small {
  color: #fef3c7;
}

.wallet-skin-card--flagship .wallet-skin-card__tag {
  background: rgba(253, 230, 138, 0.16);
  color: #fde68a;
}

.wallet-skin-card.is-current {
  border-color: #7c3aed;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.12);
}

.wallet-skin-card.is-locked {
  opacity: 0.64;
}

.wallet-skin-card.is-locked .wallet-skin-card__status {
  background: #fff7ed;
  color: #c2410c;
}

.wallet-skin-lock {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 12px;
}

.wallet-skin-lock__actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.wallet-skin-lock__primary,
.wallet-skin-lock__secondary {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}

.wallet-skin-lock__primary {
  border: 1px solid #7c3aed;
  background: #7c3aed;
  color: #ffffff;
}

.wallet-skin-lock__secondary {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #475569;
}

.plan-item--mini {
  --plan-card-accent: #14b8a6;
  background: linear-gradient(145deg, #ecfdf5, #ffffff) !important;
}

.plan-item--trial {
  --plan-card-accent: #6366f1;
  background: linear-gradient(145deg, #eef2ff, #ffffff) !important;
}

.plan-item--standard {
  --plan-card-accent: #a855f7;
  background: linear-gradient(145deg, #faf5ff, #fffbeb) !important;
}

.plan-item--flagship {
  --plan-card-accent: #d97706;
  background: linear-gradient(145deg, #111827, #2a2418) !important;
  color: #fef3c7 !important;
}

.plan-item--flagship .plan-item__name,
.plan-item--flagship .plan-item__identity,
.plan-item--flagship .plan-item__price,
.plan-item--flagship .plan-item__pts,
.plan-item--flagship .plan-item__gen {
  color: #fef3c7 !important;
}

.plan-item--flagship .plan-item__unit {
  color: rgba(254, 243, 199, 0.72) !important;
}

.plan-item--mini .plan-item__bonus,
.plan-item--trial .plan-item__bonus,
.plan-item--standard .plan-item__bonus,
.plan-item--flagship .plan-item__bonus {
  background: color-mix(in srgb, var(--plan-card-accent) 14%, white) !important;
  color: var(--plan-card-accent) !important;
  border-color: color-mix(in srgb, var(--plan-card-accent) 26%, white) !important;
}

.plan-item--flagship .plan-item__bonus {
  background: rgba(253, 230, 138, 0.14) !important;
  color: #fde68a !important;
  border-color: rgba(253, 230, 138, 0.28) !important;
}

.plan-item.active {
  border-color: var(--plan-card-accent, #7c3aed) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--plan-card-accent, #7c3aed) 16%, transparent) !important;
}

@media (max-width: 760px) {
  .wallet-skin-popover {
    left: 12px !important;
    right: 12px !important;
    top: 84px !important;
    width: auto;
  }

  .wallet-skin-card,
  .wallet-skin-lock__primary,
  .wallet-skin-lock__secondary,
  body .sidebar-wallet__skin-btn,
  body .sidebar-wallet__refresh {
    min-height: 40px !important;
  }
}

/* Visual rollback: keep creation-card logic, remove loud recharge plan-item skins */

.plan-item--mini,
.plan-item--trial,
.plan-item--standard,
.plan-item--flagship {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
  color: #0f172a !important;
}

.plan-item--mini *,
.plan-item--trial *,
.plan-item--standard *,
.plan-item--flagship * {
  color: inherit !important;
}

.plan-item--mini .plan-item__bonus,
.plan-item--trial .plan-item__bonus,
.plan-item--standard .plan-item__bonus,
.plan-item--flagship .plan-item__bonus {
  background: #f5f3ff !important;
  border-color: #ddd6fe !important;
  color: #6d28d9 !important;
}

.plan-item--mini .plan-item__price,
.plan-item--trial .plan-item__price,
.plan-item--standard .plan-item__price,
.plan-item--flagship .plan-item__price,
.plan-item--mini .plan-item__identity,
.plan-item--trial .plan-item__identity,
.plan-item--standard .plan-item__identity,
.plan-item--flagship .plan-item__identity,
.plan-item--mini .plan-item__name,
.plan-item--trial .plan-item__name,
.plan-item--standard .plan-item__name,
.plan-item--flagship .plan-item__name {
  color: #111827 !important;
}

.plan-item--mini .plan-item__pts,
.plan-item--trial .plan-item__pts,
.plan-item--standard .plan-item__pts,
.plan-item--flagship .plan-item__pts {
  background: #f8fafc !important;
  color: #1f2937 !important;
}

.plan-item--mini .plan-item__unit,
.plan-item--trial .plan-item__unit,
.plan-item--standard .plan-item__unit,
.plan-item--flagship .plan-item__unit,
.plan-item--mini .plan-item__gen,
.plan-item--trial .plan-item__gen,
.plan-item--standard .plan-item__gen,
.plan-item--flagship .plan-item__gen {
  color: #64748b !important;
}

.plan-item--standard .plan-item__bonus {
  background: #fff7ed !important;
  border-color: #fed7aa !important;
  color: #c2410c !important;
}

.plan-item--flagship .plan-item__bonus {
  background: #fffbeb !important;
  border-color: #fde68a !important;
  color: #92400e !important;
}

.plan-item.active {
  background: #ffffff !important;
  border-color: #7c3aed !important;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.12) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item.active,
body[data-app-feature="recharge"] .api-key-plans--stack .plan-item.active {
  background: #ffffff !important;
  color: #0f172a !important;
}

/* Balanced creation-card look: distinct tiers without loud membership styling */
.plan-item--mini {
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 72%) !important;
  border-color: #99f6e4 !important;
}

.plan-item--trial {
  background: linear-gradient(180deg, #eef2ff 0%, #ffffff 72%) !important;
  border-color: #c7d2fe !important;
}

.plan-item--standard {
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 72%) !important;
  border-color: #fed7aa !important;
}

.plan-item--flagship {
  background: linear-gradient(180deg, #15111f 0%, #0f172a 100%) !important;
  border-color: rgba(245, 158, 11, 0.54) !important;
  color: #fef3c7 !important;
}

.plan-item--mini::after,
.plan-item--trial::after,
.plan-item--standard::after,
.plan-item--flagship::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: inherit;
  pointer-events: none;
}

.plan-item--mini::after {
  background: #14b8a6;
}

.plan-item--trial::after {
  background: #6366f1;
}

.plan-item--standard::after {
  background: linear-gradient(180deg, #a855f7, #f59e0b);
}

.plan-item--flagship::after {
  background: #f59e0b;
}

.plan-item--mini .plan-item__bonus {
  background: #ccfbf1 !important;
  border-color: #99f6e4 !important;
  color: #0f766e !important;
}

.plan-item--trial .plan-item__bonus {
  background: #e0e7ff !important;
  border-color: #c7d2fe !important;
  color: #4338ca !important;
}

.plan-item--standard .plan-item__bonus {
  background: #ffedd5 !important;
  border-color: #fed7aa !important;
  color: #c2410c !important;
}

.plan-item--flagship .plan-item__bonus {
  background: rgba(245, 158, 11, 0.16) !important;
  border-color: rgba(245, 158, 11, 0.42) !important;
  color: #fcd34d !important;
}

.plan-item--mini .plan-item__price {
  color: #0f766e !important;
}

.plan-item--trial .plan-item__price {
  color: #4338ca !important;
}

.plan-item--standard .plan-item__price {
  color: #9a3412 !important;
}

.plan-item--flagship .plan-item__price,
.plan-item--flagship .plan-item__name,
.plan-item--flagship .plan-item__identity,
.plan-item--flagship .plan-item__gen,
.plan-item--flagship .plan-item__pts,
.plan-item--flagship .plan-item__unit {
  color: #fef3c7 !important;
}

.plan-item--flagship .plan-item__pts {
  background: rgba(245, 158, 11, 0.13) !important;
}

.plan-item--flagship .plan-item__unit,
.plan-item--flagship .plan-item__gen {
  color: rgba(254, 243, 199, 0.78) !important;
}

.plan-item--flagship .api-key-btn,
.plan-item--flagship button {
  color: #ffffff !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--mini.active,
body[data-app-feature="recharge"] .api-key-plans--stack .plan-item--mini.active {
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 72%) !important;
  border-color: #14b8a6 !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--trial.active,
body[data-app-feature="recharge"] .api-key-plans--stack .plan-item--trial.active {
  background: linear-gradient(180deg, #eef2ff 0%, #ffffff 72%) !important;
  border-color: #6366f1 !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--standard.active,
body[data-app-feature="recharge"] .api-key-plans--stack .plan-item--standard.active {
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 72%) !important;
  border-color: #f59e0b !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship.active,
body[data-app-feature="recharge"] .api-key-plans--stack .plan-item--flagship.active {
  background: linear-gradient(180deg, #15111f 0%, #0f172a 100%) !important;
  border-color: #f59e0b !important;
  color: #fef3c7 !important;
}

/* Premium recharge-card pass v2 — identity-tier skins */
@keyframes recharge-card-shimmer {
  0% { transform: translateX(-120%) skewX(-18deg); opacity: 0; }
  28% { opacity: 0.55; }
  100% { transform: translateX(220%) skewX(-18deg); opacity: 0; }
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item {
  --plan-accent: #7c3aed;
  --plan-accent-soft: rgba(124, 58, 237, 0.12);
  --plan-accent-border: rgba(124, 58, 237, 0.34);
  --plan-cta-bg: linear-gradient(135deg, #6d28d9, #9333ea);
  overflow: hidden !important;
  border-radius: 18px !important;
  backdrop-filter: blur(16px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.08) !important;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, var(--plan-accent), color-mix(in srgb, var(--plan-accent) 18%, transparent) 72%, transparent 100%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  opacity: 0.92 !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--mini {
  --plan-accent: #14b8a6;
  --plan-accent-soft: rgba(20, 184, 166, 0.16);
  --plan-accent-border: rgba(20, 184, 166, 0.38);
  --plan-cta-bg: linear-gradient(135deg, #0d9488, #14b8a6);
  background:
    radial-gradient(circle at 88% 4%, rgba(20, 184, 166, 0.12), transparent 40%),
    linear-gradient(168deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 254, 251, 0.95) 48%, rgba(255, 255, 255, 0.97) 100%) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--trial {
  --plan-accent: #6366f1;
  --plan-accent-soft: rgba(99, 102, 241, 0.16);
  --plan-accent-border: rgba(99, 102, 241, 0.36);
  --plan-cta-bg: linear-gradient(135deg, #4f46e5, #6366f1);
  background:
    radial-gradient(circle at 88% 4%, rgba(99, 102, 241, 0.12), transparent 40%),
    linear-gradient(168deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 247, 255, 0.95) 48%, rgba(255, 255, 255, 0.97) 100%) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--standard {
  --plan-accent: #d97706;
  --plan-accent-soft: rgba(217, 119, 6, 0.16);
  --plan-accent-border: rgba(217, 119, 6, 0.4);
  --plan-cta-bg: linear-gradient(135deg, #7c3aed, #d97706);
  background:
    radial-gradient(circle at 88% 4%, rgba(124, 58, 237, 0.08), transparent 36%),
    radial-gradient(circle at 10% 0%, rgba(217, 119, 6, 0.11), transparent 38%),
    linear-gradient(168deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 251, 246, 0.95) 48%, rgba(255, 255, 255, 0.97) 100%) !important;
  border-color: rgba(255, 255, 255, 0.44) !important;
  transform: none;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(217, 119, 6, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.54) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship {
  --plan-accent: #f59e0b;
  --plan-accent-soft: rgba(245, 158, 11, 0.14);
  --plan-accent-border: rgba(251, 191, 36, 0.4);
  --plan-cta-bg: linear-gradient(135deg, #b45309 0%, #f59e0b 52%, #d97706 100%);
  background:
    radial-gradient(ellipse 88% 52% at 100% 0%, rgba(245, 158, 11, 0.11), transparent 58%),
    radial-gradient(ellipse 72% 44% at 0% 100%, rgba(180, 83, 9, 0.07), transparent 54%),
    linear-gradient(165deg, #0c0a10 0%, #12101a 46%, #090c13 100%) !important;
  border-color: rgba(251, 191, 36, 0.3) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(251, 191, 36, 0.12),
    inset 0 1px 0 rgba(251, 191, 36, 0.1) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship .plan-item__shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship .plan-item__shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -45%;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.05), transparent);
  animation: recharge-card-shimmer 7.4s ease-in-out infinite;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item .plan-item__cta {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: end;
  width: 100%;
  margin-top: 0;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--plan-accent-border) 80%, transparent);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: color-mix(in srgb, var(--plan-accent) 78%, #111827);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship.active .plan-item__cta,
body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship.selected .plan-item__cta,
body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship.is-selected .plan-item__cta {
  color: #111827;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship .plan-item__cta {
  border-color: rgba(251, 191, 36, 0.34);
  background: rgba(0, 0, 0, 0.34);
  color: #fde68a;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--mini::after,
body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--trial::after,
body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--standard::after,
body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship::after {
  content: none !important;
  display: none !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item .plan-item__cta::before {
  content: "选择此卡";
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item.active .plan-item__cta::before,
body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item.selected .plan-item__cta::before,
body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item.is-selected .plan-item__cta::before {
  content: "立即支付";
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item.active .plan-item__cta,
body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item.selected .plan-item__cta,
body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item.is-selected .plan-item__cta {
  border-color: transparent;
  background: var(--plan-cta-bg);
  color: #ffffff;
  box-shadow: 0 12px 26px color-mix(in srgb, var(--plan-accent) 30%, transparent);
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item:hover {
  transform: translateY(-3px) !important;
  border-color: color-mix(in srgb, var(--plan-accent) 36%, rgba(255, 255, 255, 0.45)) !important;
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.36),
    0 0 0 1px color-mix(in srgb, var(--plan-accent) 20%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.56) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--standard:hover {
  transform: translateY(-3px) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(251, 191, 36, 0.42) !important;
  box-shadow:
    0 26px 58px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(251, 191, 36, 0.16),
    inset 0 1px 0 rgba(251, 191, 36, 0.12) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item.active,
body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item.selected,
body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item.is-selected {
  border-color: color-mix(in srgb, var(--plan-accent) 54%, white) !important;
  transform: translateY(-2px) !important;
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--plan-accent) 24%, transparent),
    0 26px 56px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.58) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--mini.active {
  background:
    radial-gradient(circle at 88% 4%, rgba(20, 184, 166, 0.22), transparent 38%),
    linear-gradient(168deg, rgba(236, 253, 245, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--trial.active {
  background:
    radial-gradient(circle at 88% 4%, rgba(99, 102, 241, 0.22), transparent 38%),
    linear-gradient(168deg, rgba(238, 242, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--standard.active {
  background:
    radial-gradient(circle at 88% 4%, rgba(124, 58, 237, 0.14), transparent 34%),
    radial-gradient(circle at 10% 0%, rgba(217, 119, 6, 0.18), transparent 36%),
    linear-gradient(168deg, rgba(255, 247, 237, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship.active {
  background:
    radial-gradient(ellipse 88% 52% at 100% 0%, rgba(245, 158, 11, 0.14), transparent 58%),
    radial-gradient(ellipse 72% 44% at 0% 100%, rgba(180, 83, 9, 0.09), transparent 54%),
    linear-gradient(165deg, #0e0b12 0%, #14111c 46%, #0b0e16 100%) !important;
  border-color: rgba(251, 191, 36, 0.48) !important;
  box-shadow:
    0 0 0 2px rgba(245, 158, 11, 0.2),
    0 28px 60px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(251, 191, 36, 0.14) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship.selected,
body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship.is-selected {
  background:
    radial-gradient(ellipse 88% 52% at 100% 0%, rgba(245, 158, 11, 0.14), transparent 58%),
    radial-gradient(ellipse 72% 44% at 0% 100%, rgba(180, 83, 9, 0.09), transparent 54%),
    linear-gradient(165deg, #0e0b12 0%, #14111c 46%, #0b0e16 100%) !important;
  border-color: rgba(251, 191, 36, 0.48) !important;
  box-shadow:
    0 0 0 2px rgba(245, 158, 11, 0.2),
    0 28px 60px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(251, 191, 36, 0.14) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item__bonus {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  justify-self: center !important;
  align-self: center !important;
  border-color: color-mix(in srgb, var(--plan-accent) 32%, white) !important;
  background: color-mix(in srgb, var(--plan-accent) 14%, rgba(255, 255, 255, 0.94)) !important;
  color: color-mix(in srgb, var(--plan-accent) 82%, #111827) !important;
  justify-content: center !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship .plan-item__bonus {
  background: rgba(245, 158, 11, 0.18) !important;
  border-color: rgba(251, 191, 36, 0.38) !important;
  color: #fde68a !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item__titles {
  align-items: center !important;
  justify-content: center !important;
  margin-top: 0 !important;
  text-align: center !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item__formal {
  align-self: center !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  background: rgba(255, 255, 255, 0.82) !important;
  color: var(--text-tertiary, #64748b) !important;
  font-size: 10px !important;
  opacity: 0.92 !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item__identity {
  width: 100% !important;
  text-align: center !important;
  color: #0f172a !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item__price {
  width: 100% !important;
  text-align: center !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item__gen {
  display: block !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--mini .plan-item__identity {
  color: #0f766e !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--trial .plan-item__identity {
  color: #4338ca !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--standard .plan-item__identity {
  background: linear-gradient(135deg, #6d28d9, #c2410c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship .plan-item__identity {
  color: #fde68a !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship .plan-item__formal {
  border-color: rgba(251, 191, 36, 0.24) !important;
  background: rgba(0, 0, 0, 0.28) !important;
  color: #fcd34d !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item__price {
  color: #0f172a !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--mini .plan-item__price {
  color: #0f766e !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--trial .plan-item__price {
  color: #4338ca !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--standard .plan-item__price {
  color: #9a3412 !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship .plan-item__price {
  color: #fde68a !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item__pts {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.36) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #111827 !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
  border-radius: 11px !important;
  padding: 9px 11px !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--mini .plan-item__pts {
  border-color: rgba(20, 184, 166, 0.28) !important;
  background: rgba(240, 253, 250, 0.94) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--trial .plan-item__pts {
  border-color: rgba(99, 102, 241, 0.28) !important;
  background: rgba(238, 242, 255, 0.94) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--standard .plan-item__pts {
  border-color: rgba(217, 119, 6, 0.28) !important;
  background: rgba(255, 247, 237, 0.94) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship .plan-item__pts {
  border-color: rgba(251, 191, 36, 0.24) !important;
  background: rgba(0, 0, 0, 0.36) !important;
  color: #fef3c7 !important;
  box-shadow: inset 0 1px 0 rgba(251, 191, 36, 0.07) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item__unit {
  border: 1px solid var(--plan-accent-border) !important;
  background: var(--plan-accent-soft) !important;
  color: color-mix(in srgb, var(--plan-accent) 72%, #111827) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship .plan-item__unit {
  border-color: rgba(251, 191, 36, 0.28) !important;
  background: rgba(245, 158, 11, 0.12) !important;
  color: #fde68a !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item__gen {
  color: #475569 !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item__gen::after {
  color: #64748b !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship .plan-item__gen,
body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--flagship .plan-item__gen::after {
  color: rgba(254, 243, 199, 0.86) !important;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item .plan-item__titles,
body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item .plan-item__price,
body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item .plan-item__pts,
body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item .plan-item__gen,
body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item .plan-item__bonus {
  position: relative;
  z-index: 1;
}

body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item .plan-item__shine {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  grid-area: 1 / 1 / -1 / -1;
}

@media (max-width: 1100px) {
  body[data-app-feature="recharge"] .recharge-workspace-mount .api-key-plans--stack {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 720px !important;
    gap: 16px !important;
  }

  body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item--standard {
    transform: none !important;
  }
}

@media (max-width: 640px) {
  body[data-app-feature="recharge"] .recharge-workspace-mount .api-key-plans--stack {
    grid-template-columns: 1fr !important;
    max-width: 420px !important;
    gap: 14px !important;
  }

  body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item {
    min-height: 0 !important;
    padding: 22px 16px 58px !important;
  }

  body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item__identity {
    font-size: 18px !important;
  }

  body[data-app-feature="recharge"] .recharge-workspace-mount .plan-item__price {
    font-size: 28px !important;
  }
}

/* Sidebar wallet actions: keep recharge and account buttons level on every page. */
body .sidebar-wallet__actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 8px !important;
}

body .sidebar-wallet__action,
body .sidebar-wallet .vip-btn--sidebar-recharge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-height: 36px !important;
  height: 36px !important;
  max-height: 36px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  font-size: 12px !important;
  vertical-align: middle !important;
  transform: none !important;
  position: relative !important;
  z-index: 3 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

body .sidebar-wallet {
  position: relative !important;
  z-index: 5 !important;
  flex-shrink: 0 !important;
  isolation: isolate;
}

body .sidebar-wallet__actions {
  position: relative !important;
  z-index: 4 !important;
  pointer-events: auto !important;
}

body .sidebar-bottom-dock,
body .sidebar-use-cases-dock {
  position: relative !important;
  z-index: 1 !important;
  flex-shrink: 0 !important;
}

/* Flagship wallet restraint: keep the premium identity without stealing focus. */
body[data-wallet-skin="flagship"] .sidebar-wallet,
body .sidebar-wallet.sidebar-wallet--flagship {
  background:
    radial-gradient(ellipse 90% 62% at 100% 0%, rgba(245, 158, 11, 0.14), transparent 54%),
    radial-gradient(ellipse 72% 60% at 0% 105%, rgba(217, 119, 6, 0.09), transparent 48%),
    linear-gradient(160deg, #15131a 0%, #1e1a17 54%, #12151c 100%) !important;
  border-color: rgba(217, 119, 6, 0.38) !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.08),
    0 10px 24px rgba(15, 23, 42, 0.22),
    inset 0 1px 0 rgba(253, 230, 138, 0.08) !important;
  animation: none !important;
  backdrop-filter: blur(8px) saturate(1.04) !important;
  -webkit-backdrop-filter: blur(8px) saturate(1.04) !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet::before,
body .sidebar-wallet.sidebar-wallet--flagship::before {
  height: 2px !important;
  opacity: 0.82 !important;
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.3), rgba(245, 158, 11, 0.82), rgba(253, 230, 138, 0.56)) !important;
  box-shadow: none !important;
  animation: none !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__fx::before,
body .sidebar-wallet.sidebar-wallet--flagship .sidebar-wallet__fx::before {
  top: -34% !important;
  right: -28% !important;
  width: 74% !important;
  height: 82% !important;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, rgba(180, 83, 9, 0.08) 44%, transparent 72%) !important;
  opacity: 0.55 !important;
  animation: none !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__fx::after,
body .sidebar-wallet.sidebar-wallet--flagship .sidebar-wallet__fx::after {
  opacity: 0 !important;
  animation: none !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__eyebrow {
  color: #f6d889 !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__eyebrow::before {
  background: #eab94f !important;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.16) !important;
  animation: none !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__identity .sidebar-wallet__tier,
body .sidebar-wallet.sidebar-wallet--flagship .sidebar-wallet__identity .sidebar-wallet__tier {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.34) !important;
  color: #fde68a !important;
  box-shadow: inset 0 1px 0 rgba(254, 243, 199, 0.12) !important;
  letter-spacing: 0.02em !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__num,
body .sidebar-wallet.sidebar-wallet--flagship .sidebar-wallet__num {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: #f8d784 !important;
  filter: none !important;
  font-size: 23px !important;
  letter-spacing: -0.012em !important;
  animation: none !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__unit {
  color: rgba(253, 230, 138, 0.78) !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__skin-btn,
body[data-wallet-skin="flagship"] .sidebar-wallet__refresh,
body[data-wallet-skin="flagship"] .sidebar-wallet__tools .notice-btn--sidebar,
body .sidebar-wallet.sidebar-wallet--flagship .sidebar-wallet__skin-btn,
body .sidebar-wallet.sidebar-wallet--flagship .sidebar-wallet__refresh,
body .sidebar-wallet.sidebar-wallet--flagship .sidebar-wallet__tools .notice-btn--sidebar {
  background: rgba(255, 251, 235, 0.07) !important;
  border-color: rgba(245, 158, 11, 0.24) !important;
  color: #f8d784 !important;
  box-shadow: none !important;
  transform: none !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__tools .notice-btn--sidebar:hover,
body .sidebar-wallet.sidebar-wallet--flagship .sidebar-wallet__tools .notice-btn--sidebar:hover {
  background: rgba(255, 251, 235, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.34) !important;
  color: #fde68a !important;
  filter: none !important;
  transform: none !important;
  box-shadow: none !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__action--recharge,
body[data-wallet-skin="flagship"] .sidebar-wallet .vip-btn--sidebar-recharge,
body .sidebar-wallet.sidebar-wallet--flagship .sidebar-wallet__action--recharge,
body .sidebar-wallet.sidebar-wallet--flagship .vip-btn--sidebar-recharge {
  background: linear-gradient(135deg, #e0aa3e 0%, #f2cf75 100%) !important;
  border-color: rgba(253, 230, 138, 0.42) !important;
  color: #1b160b !important;
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__action--recharge:hover,
body[data-wallet-skin="flagship"] .sidebar-wallet .vip-btn--sidebar-recharge:hover,
body .sidebar-wallet.sidebar-wallet--flagship .sidebar-wallet__action--recharge:hover,
body .sidebar-wallet.sidebar-wallet--flagship .vip-btn--sidebar-recharge:hover {
  filter: brightness(1.03) !important;
  box-shadow: 0 5px 14px rgba(180, 83, 9, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.26) !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__action--account,
body .sidebar-wallet.sidebar-wallet--flagship .sidebar-wallet__action--account {
  background: rgba(255, 251, 235, 0.08) !important;
  border-color: rgba(245, 158, 11, 0.28) !important;
  color: #f8d784 !important;
  box-shadow: none !important;
}

/* Final sidebar convergence: this file loads after the historical sidebar
   skins, so keep the desktop rail compact and the selected state quiet. */
@media (min-width: 1024px) {
  body:not([data-app-feature="use-cases"]) #sidebarMenuRoot.sidebar-nav.sidebar-card {
    flex: 0 0 auto !important;
    min-height: auto !important;
  }
}

body #sidebarMenuRoot .nav-btn.active,
body #sidebarMenuRoot .nav-group .nav-btn.active {
  outline: none !important;
  border-color: transparent !important;
  border-left-color: #c4b5fd !important;
  background: rgba(124, 58, 237, 0.055) !important;
  box-shadow: none !important;
}

body #sidebarMenuRoot .nav-btn.active .nav-btn__icon,
body #sidebarMenuRoot .nav-group .nav-btn.active .nav-btn__icon {
  background: transparent !important;
  border-color: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Sidebar groups: precise hierarchy through inset hairlines, never heavy grey bars. */
body #sidebarMenuRoot .nav-group[data-nav-group="创作"],
body #sidebarMenuRoot .nav-group[data-nav-group="我的资产"],
body #sidebarMenuRoot .nav-group[data-nav-group="发现"] {
  position: relative;
  margin-top: 11px !important;
  padding-top: 10px !important;
}

body #sidebarMenuRoot .nav-group[data-nav-group="创作"]::before,
body #sidebarMenuRoot .nav-group[data-nav-group="我的资产"]::before,
body #sidebarMenuRoot .nav-group[data-nav-group="发现"]::before {
  content: "";
  position: absolute;
  top: 0;
  right: 9px;
  left: 9px;
  height: 1px;
  background: rgba(148, 163, 184, 0.22);
  pointer-events: none;
}

body #sidebarMenuRoot .nav-group-header {
  min-height: 17px !important;
  margin: 0 9px 5px !important;
  color: #7b8798 !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  letter-spacing: 0.045em !important;
  line-height: 17px !important;
}

/* Sidebar boot shell: no legacy static nav buttons before appNavPanels renders. */
body #sidebarMenuRoot.sidebar-nav--booting {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

body #sidebarMenuRoot.sidebar-nav--boot-failed {
  pointer-events: none;
}

body #sidebarMenuRoot .sidebar-nav__boot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 16px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

body #sidebarMenuRoot .sidebar-nav__boot--error {
  color: #b45309;
}

body #sidebarMenuRoot .sidebar-nav__boot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #8b5cf6;
  animation: sidebarNavBootPulse 1.1s ease-in-out infinite;
}

@keyframes sidebarNavBootPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1); }
}

/* ¥399 enterprise wallet: a distinct violet-platinum identity, not a recolored standard wallet. */
body[data-wallet-skin="chief"] {
  --yj-wallet-bg:
    radial-gradient(ellipse 88% 72% at 100% -10%, rgba(221, 214, 254, 0.34), transparent 54%),
    radial-gradient(ellipse 72% 62% at -6% 110%, rgba(167, 139, 250, 0.24), transparent 58%),
    linear-gradient(155deg, #33205c 0%, #241641 52%, #12172d 100%);
  --yj-wallet-border: rgba(221, 214, 254, 0.58);
  --yj-wallet-shadow: 0 14px 32px rgba(49, 24, 88, 0.26), 0 0 26px rgba(167, 139, 250, 0.14);
  --yj-wallet-bar: linear-gradient(90deg, #7c3aed 0%, #ede9fe 48%, #a78bfa 72%, #6d28d9 100%);
  --yj-wallet-eyebrow: #ddd6fe;
  --yj-wallet-num: #f5f3ff;
  --yj-wallet-unit: #c4b5fd;
  --yj-wallet-tier-bg: rgba(237, 233, 254, 0.12);
  --yj-wallet-tier-border: rgba(221, 214, 254, 0.42);
  --yj-wallet-tier-text: #f5f3ff;
  --yj-wallet-tool-bg: rgba(255, 255, 255, 0.08);
  --yj-wallet-tool-border: rgba(221, 214, 254, 0.24);
  --yj-wallet-tool-text: #ede9fe;
  --yj-wallet-recharge-bg: linear-gradient(135deg, #7c3aed 0%, #a855f7 52%, #c4b5fd 100%);
  --yj-wallet-recharge-border: rgba(237, 233, 254, 0.42);
  --yj-wallet-recharge-text: #ffffff;
  --yj-wallet-account-bg: rgba(255, 255, 255, 0.07);
  --yj-wallet-account-border: rgba(221, 214, 254, 0.26);
  --yj-wallet-account-text: #ede9fe;
}

body[data-wallet-skin="chief"] .sidebar-wallet,
body .sidebar-wallet.sidebar-wallet--chief {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: rgba(221, 214, 254, 0.58) !important;
  background: var(--yj-wallet-bg) !important;
  box-shadow: var(--yj-wallet-shadow) !important;
}

body[data-wallet-skin="chief"] .sidebar-wallet__fx,
body .sidebar-wallet.sidebar-wallet--chief .sidebar-wallet__fx { display: block !important; }

@keyframes wallet-chief-orb {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.45; }
  50% { transform: translate3d(-7%, 5%, 0) scale(1.1); opacity: 0.78; }
}

@keyframes wallet-chief-sweep {
  0%, 68%, 100% { transform: translateX(-155%) skewX(-16deg); opacity: 0; }
  76% { opacity: 0.52; }
  92% { transform: translateX(265%) skewX(-16deg); opacity: 0; }
}

body[data-wallet-skin="chief"] .sidebar-wallet__fx::before,
body .sidebar-wallet.sidebar-wallet--chief .sidebar-wallet__fx::before {
  content: "";
  position: absolute;
  top: -46%;
  right: -30%;
  width: 94%;
  height: 102%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 233, 254, 0.54) 0%, rgba(139, 92, 246, 0.22) 42%, transparent 72%);
  animation: wallet-chief-orb 4.8s ease-in-out infinite;
}

body[data-wallet-skin="chief"] .sidebar-wallet__fx::after,
body .sidebar-wallet.sidebar-wallet--chief .sidebar-wallet__fx::after {
  content: "";
  position: absolute;
  inset: -10% -24%;
  background: linear-gradient(102deg, transparent 40%, rgba(255, 255, 255, 0.38) 50%, transparent 60%);
  animation: wallet-chief-sweep 6.2s ease-in-out infinite;
}

body[data-wallet-skin="chief"] .sidebar-wallet__head,
body[data-wallet-skin="chief"] .sidebar-wallet__identity,
body[data-wallet-skin="chief"] .sidebar-wallet__balance,
body[data-wallet-skin="chief"] .sidebar-wallet__actions,
body .sidebar-wallet.sidebar-wallet--chief .sidebar-wallet__head,
body .sidebar-wallet.sidebar-wallet--chief .sidebar-wallet__identity,
body .sidebar-wallet.sidebar-wallet--chief .sidebar-wallet__balance,
body .sidebar-wallet.sidebar-wallet--chief .sidebar-wallet__actions { position: relative; z-index: 2; }

body[data-wallet-skin="chief"] .sidebar-wallet__identity .sidebar-wallet__tier,
body .sidebar-wallet.sidebar-wallet--chief .sidebar-wallet__identity .sidebar-wallet__tier {
  background: rgba(237, 233, 254, 0.12) !important;
  border-color: rgba(221, 214, 254, 0.42) !important;
  color: #f5f3ff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

body[data-wallet-skin="chief"] .sidebar-wallet__num,
body .sidebar-wallet.sidebar-wallet--chief .sidebar-wallet__num { color: #f5f3ff !important; font-size: 23px !important; }
body[data-wallet-skin="chief"] .sidebar-wallet__unit,
body .sidebar-wallet.sidebar-wallet--chief .sidebar-wallet__unit { color: #c4b5fd !important; }

body[data-wallet-skin="chief"] .sidebar-wallet__skin-btn,
body[data-wallet-skin="chief"] .sidebar-wallet__refresh,
body[data-wallet-skin="chief"] .sidebar-wallet__tools .notice-btn--sidebar,
body .sidebar-wallet.sidebar-wallet--chief .sidebar-wallet__skin-btn,
body .sidebar-wallet.sidebar-wallet--chief .sidebar-wallet__refresh,
body .sidebar-wallet.sidebar-wallet--chief .sidebar-wallet__tools .notice-btn--sidebar {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(221, 214, 254, 0.24) !important;
  color: #ede9fe !important;
  box-shadow: none !important;
}

body[data-wallet-skin="chief"] .sidebar-wallet__action--recharge,
body .sidebar-wallet.sidebar-wallet--chief .sidebar-wallet__action--recharge {
  background: linear-gradient(135deg, #7c3aed, #a855f7 58%, #c4b5fd) !important;
  border-color: rgba(237, 233, 254, 0.42) !important;
  color: #ffffff !important;
}

body[data-wallet-skin="chief"] .sidebar-wallet__action--account,
body .sidebar-wallet.sidebar-wallet--chief .sidebar-wallet__action--account {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(221, 214, 254, 0.26) !important;
  color: #ede9fe !important;
}

/* ¥99.9 flagship: black-gold base, with restrained amber accents rather than a brown full surface. */
body[data-wallet-skin="flagship"] .sidebar-wallet,
body .sidebar-wallet.sidebar-wallet--flagship {
  background:
    radial-gradient(circle at 92% 8%, rgba(250, 204, 21, 0.28), transparent 28%),
    radial-gradient(circle at 7% 94%, rgba(217, 119, 6, 0.2), transparent 30%),
    linear-gradient(145deg, #08090d 0%, #141015 54%, #100e0a 100%) !important;
  border-color: rgba(252, 211, 77, 0.58) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42), 0 0 22px rgba(245, 158, 11, 0.14) !important;
}

body[data-wallet-skin="flagship"] .sidebar-wallet__fx::before,
body .sidebar-wallet.sidebar-wallet--flagship .sidebar-wallet__fx::before {
  background: radial-gradient(circle, rgba(253, 230, 138, 0.46) 0%, rgba(245, 158, 11, 0.2) 42%, transparent 72%) !important;
}

/* Desktop navigation shell: slightly lighter slate rail; flat active item.
   This stays desktop-only because small screens use the dedicated mobile navigation. */
@media (min-width: 761px) {
  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar.sidebar--stack {
    color: #d6dee8;
    background:
      radial-gradient(ellipse 92% 28% at 16% -6%, rgba(124, 58, 237, 0.12), transparent 72%),
      linear-gradient(180deg, #243247 0%, #1b2536 100%) !important;
    border-right: 1px solid rgba(148, 163, 184, 0.22) !important;
    box-shadow: none;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar .sidebar-top-chrome {
    border-bottom-color: rgba(148, 163, 184, 0.16) !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar .sidebar-brand-jump,
  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar .sidebar-collapse-toggle--inline {
    color: #f8fafc !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar .brand-mark-img--topbar {
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 14px rgba(76, 29, 149, 0.30) !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar .brand-wordmark-img {
    display: none !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar .sidebar-brand-wordmark {
    display: inline-block;
    color: #f8fafc;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar .sidebar-collapse-toggle--inline {
    border-color: rgba(203, 213, 225, 0.20) !important;
    background: rgba(255, 255, 255, 0.06) !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar .sidebar-collapse-toggle--inline:hover,
  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar .sidebar-collapse-toggle--inline:focus-visible {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(221, 214, 254, 0.58) !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarMenuRoot.sidebar-nav,
  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar .sidebar-card {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarMenuRoot .nav-group-header,
  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarMenuRoot .nav-group-title,
  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarMenuRoot .nav-group-icon {
    color: #94a3b8 !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarMenuRoot .nav-divider {
    display: none !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarMenuRoot .nav-btn,
  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarMenuRoot .nav-group .nav-btn {
    color: #cbd5e1 !important;
    border-color: transparent !important;
    background: transparent !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarMenuRoot .nav-btn__icon,
  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarMenuRoot .nav-btn__label {
    color: inherit !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarMenuRoot .nav-btn:not(.active) .nav-btn__icon {
    color: #cbd5e1 !important;
    background: transparent !important;
    border-color: transparent !important;
    opacity: 1 !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarMenuRoot .nav-btn:not(.active) .nav-btn__icon .lucide-nav-svg {
    stroke: currentColor !important;
    opacity: 1 !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarMenuRoot .nav-btn:hover,
  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarMenuRoot .nav-group .nav-btn:hover {
    color: #f8fafc !important;
    background: rgba(255, 255, 255, 0.07) !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarMenuRoot .nav-btn.active,
  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarMenuRoot .nav-group .nav-btn.active {
    color: #f8fafc !important;
    border-color: transparent !important;
    background: rgba(124, 58, 237, 0.28) !important;
    box-shadow: inset 3px 0 0 #a78bfa !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarMenuRoot .nav-btn.active .nav-btn__icon,
  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarMenuRoot .nav-btn.active .nav-btn__label {
    color: #ffffff !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarWallet {
    background: var(--yj-wallet-bg) !important;
    border-color: var(--yj-wallet-border) !important;
    box-shadow: var(--yj-wallet-shadow) !important;
    backdrop-filter: blur(10px);
  }

  body.sidebar-is-collapsed:not([data-app-feature="recharge"]):not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar .sidebar-brand-wordmark {
    display: none;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarMenuRoot .nav-btn:focus-visible,
  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar .sidebar-collapse-toggle--inline:focus-visible {
    outline: 2px solid #c4b5fd !important;
    outline-offset: 2px;
  }
}

/* Dark sidebar wallet convergence: every identity stays dark while retaining its own accent. */
@media (min-width: 761px) {
  body:not([data-app-feature="use-cases"]):not([data-wallet-skin]),
  body:not([data-app-feature="use-cases"])[data-wallet-skin="mini"] {
    --yj-wallet-bg: linear-gradient(155deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.94));
    --yj-wallet-border: rgba(148, 163, 184, 0.28);
    --yj-wallet-shadow: 0 10px 24px rgba(2, 6, 23, 0.26);
    --yj-wallet-bar: linear-gradient(90deg, #0f766e, #5eead4);
    --yj-wallet-eyebrow: #cbd5e1;
    --yj-wallet-num: #99f6e4;
    --yj-wallet-unit: #5eead4;
    --yj-wallet-tier-bg: rgba(15, 118, 110, 0.18);
    --yj-wallet-tier-border: rgba(94, 234, 212, 0.24);
    --yj-wallet-tier-text: #ccfbf1;
    --yj-wallet-tool-bg: rgba(255, 255, 255, 0.07);
    --yj-wallet-tool-border: rgba(203, 213, 225, 0.18);
    --yj-wallet-tool-text: #e2e8f0;
    --yj-wallet-recharge-bg: linear-gradient(135deg, #2b857d, #23736d);
    --yj-wallet-recharge-border: rgba(94, 234, 212, 0.24);
    --yj-wallet-recharge-text: #ffffff;
    --yj-wallet-account-bg: rgba(20, 184, 166, 0.07);
    --yj-wallet-account-border: rgba(94, 234, 212, 0.18);
    --yj-wallet-account-text: #ccfbf1;
  }

  body:not([data-app-feature="use-cases"])[data-wallet-skin="trial"] {
    --yj-wallet-bg: linear-gradient(150deg, #202b4f 0%, #17203a 54%, #111827 100%);
    --yj-wallet-border: rgba(129, 140, 248, 0.40);
    --yj-wallet-shadow: 0 10px 24px rgba(15, 23, 42, 0.34), 0 0 20px rgba(99, 102, 241, 0.10);
    --yj-wallet-eyebrow: #c7d2fe;
    --yj-wallet-num: #c7d2fe;
    --yj-wallet-unit: #a5b4fc;
    --yj-wallet-tier-bg: rgba(99, 102, 241, 0.18);
    --yj-wallet-tier-border: rgba(165, 180, 252, 0.28);
    --yj-wallet-tier-text: #e0e7ff;
    --yj-wallet-tool-bg: rgba(129, 140, 248, 0.09);
    --yj-wallet-tool-border: rgba(165, 180, 252, 0.22);
    --yj-wallet-tool-text: #e0e7ff;
    --yj-wallet-recharge-bg: linear-gradient(135deg, #5968ad, #56529d);
    --yj-wallet-recharge-border: rgba(199, 210, 254, 0.24);
    --yj-wallet-account-bg: rgba(129, 140, 248, 0.08);
    --yj-wallet-account-border: rgba(165, 180, 252, 0.20);
    --yj-wallet-account-text: #e0e7ff;
  }

  body:not([data-app-feature="use-cases"])[data-wallet-skin="standard"] {
    --yj-wallet-bg: linear-gradient(150deg, #3b2551 0%, #2b1d40 55%, #171827 100%);
    --yj-wallet-border: rgba(216, 180, 254, 0.38);
    --yj-wallet-shadow: 0 10px 24px rgba(24, 12, 40, 0.34), 0 0 20px rgba(168, 85, 247, 0.10);
    --yj-wallet-eyebrow: #f3e8ff;
    --yj-wallet-num: #f5d0fe;
    --yj-wallet-unit: #d8b4fe;
    --yj-wallet-tier-bg: rgba(168, 85, 247, 0.16);
    --yj-wallet-tier-border: rgba(216, 180, 254, 0.26);
    --yj-wallet-tier-text: #fae8ff;
    --yj-wallet-tool-bg: rgba(216, 180, 254, 0.08);
    --yj-wallet-tool-border: rgba(216, 180, 254, 0.20);
    --yj-wallet-tool-text: #fae8ff;
    --yj-wallet-recharge-bg: linear-gradient(135deg, #76558f, #68517e);
    --yj-wallet-recharge-border: rgba(233, 213, 255, 0.24);
    --yj-wallet-account-bg: rgba(216, 180, 254, 0.07);
    --yj-wallet-account-border: rgba(216, 180, 254, 0.18);
    --yj-wallet-account-text: #fae8ff;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarWallet {
    background: var(--yj-wallet-bg) !important;
    border-color: var(--yj-wallet-border) !important;
    box-shadow: var(--yj-wallet-shadow) !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarWallet::before {
    background: var(--yj-wallet-bar) !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarWallet .sidebar-wallet__eyebrow,
  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarWallet .sidebar-wallet__num {
    color: var(--yj-wallet-num) !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarWallet .sidebar-wallet__unit {
    color: var(--yj-wallet-unit) !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarWallet .sidebar-wallet__tier {
    background: var(--yj-wallet-tier-bg) !important;
    border-color: var(--yj-wallet-tier-border) !important;
    color: var(--yj-wallet-tier-text) !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarWallet .sidebar-wallet__skin-btn,
  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarWallet .sidebar-wallet__refresh,
  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarWallet .notice-btn--sidebar {
    background: var(--yj-wallet-tool-bg) !important;
    border-color: var(--yj-wallet-tool-border) !important;
    color: var(--yj-wallet-tool-text) !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarWallet .sidebar-wallet__action--recharge {
    background: var(--yj-wallet-recharge-bg) !important;
    border-color: var(--yj-wallet-recharge-border) !important;
    color: var(--yj-wallet-recharge-text) !important;
    box-shadow: 0 4px 12px rgba(2, 6, 23, 0.18) !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarWallet .sidebar-wallet__action--account {
    background: var(--yj-wallet-account-bg) !important;
    border-color: var(--yj-wallet-account-border) !important;
    color: var(--yj-wallet-account-text) !important;
    box-shadow: none !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarWallet .sidebar-wallet__action {
    min-height: 33px !important;
    border-width: 1px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    letter-spacing: 0.01em !important;
    filter: none !important;
    transform: none !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarWallet .sidebar-wallet__action--recharge:hover {
    background: var(--yj-wallet-recharge-bg) !important;
    border-color: var(--yj-wallet-recharge-border) !important;
    box-shadow: 0 5px 14px rgba(2, 6, 23, 0.22) !important;
  }

  body:not([data-app-feature="use-cases"]) .page-container.app-container > .sidebar #sidebarWallet .sidebar-wallet__action--account:hover {
    background: var(--yj-wallet-account-bg) !important;
    border-color: var(--yj-wallet-account-border) !important;
    color: var(--yj-wallet-account-text) !important;
    box-shadow: none !important;
  }
}

/* The picker remains a light comparison surface; each preview now matches its dark wallet identity. */
.wallet-skin-card--mini {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-color: rgba(94, 234, 212, 0.24);
}

.wallet-skin-card--trial {
  background: linear-gradient(145deg, #202b4f, #111827);
  border-color: rgba(129, 140, 248, 0.34);
}

.wallet-skin-card--standard {
  background: linear-gradient(145deg, #3b2551, #191827);
  border-color: rgba(216, 180, 254, 0.32);
}

.wallet-skin-card--chief {
  background: linear-gradient(145deg, #33205c, #15182d);
  border-color: rgba(221, 214, 254, 0.38);
}

.wallet-skin-card--mini strong,
.wallet-skin-card--mini small,
.wallet-skin-card--trial strong,
.wallet-skin-card--trial small,
.wallet-skin-card--standard strong,
.wallet-skin-card--standard small,
.wallet-skin-card--chief strong,
.wallet-skin-card--chief small {
  color: #f8fafc;
}

.wallet-skin-card--mini .wallet-skin-card__status,
.wallet-skin-card--trial .wallet-skin-card__status,
.wallet-skin-card--standard .wallet-skin-card__status,
.wallet-skin-card--chief .wallet-skin-card__status,
.wallet-skin-card--flagship .wallet-skin-card__status {
  background: rgba(255, 255, 255, 0.10);
  color: #e2e8f0;
}

.wallet-skin-card.is-locked {
  opacity: 0.82;
}

@media (prefers-reduced-motion: reduce) {
  body[data-wallet-skin="chief"] .sidebar-wallet__fx::before,
  body .sidebar-wallet.sidebar-wallet--chief .sidebar-wallet__fx::before { animation: none !important; }

  body[data-wallet-skin="chief"] .sidebar-wallet__fx::after,
  body .sidebar-wallet.sidebar-wallet--chief .sidebar-wallet__fx::after {
    animation: none !important;
    opacity: 0 !important;
  }
}
