/* Shared application shell. Keep page-specific layout out of this file. */
.app-shell {
  display: grid !important;
  grid-template-columns: var(--shell-sidebar-width) minmax(0, 1fr) !important;
  min-height: 100vh !important;
}

site-sidebar,
site-topbar,
site-footer {
  display: block !important;
}

.main {
  min-width: 0 !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 16px var(--shell-main-x) 0 !important;
  background: var(--bg) !important;
}

.main > site-footer {
  margin-top: auto !important;
}

site-sidebar {
  position: relative !important;
  z-index: 30 !important;
  min-height: 100vh !important;
  background: rgba(255, 255, 255, 0.94) !important;
}

.sidebar {
  position: sticky !important;
  top: 0 !important;
  z-index: 30 !important;
  height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 22px 18px 18px !important;
  overflow: visible !important;
  border-right: 1px solid rgba(31, 55, 94, 0.04) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(16px);
}

site-topbar {
  position: sticky !important;
  top: var(--shell-main-top, 16px) !important;
  z-index: 900 !important;
  margin-top: 0 !important;
  padding: 0 0 var(--shell-topbar-gap) !important;
  isolation: isolate !important;
}

site-topbar::before {
  content: "" !important;
  position: absolute !important;
  inset: calc(-1 * var(--shell-main-top, 16px)) calc(-1 * var(--shell-main-x)) 0 !important;
  z-index: -1 !important;
  background: transparent !important;
  opacity: 0 !important;
  box-shadow: none !important;
  transition: opacity 0.18s ease, background 0.18s ease, box-shadow 0.18s ease !important;
}

site-topbar.is-scrolled::before {
  background: rgba(250, 251, 254, 0.96) !important;
  opacity: 1 !important;
  box-shadow: 0 8px 22px rgba(31, 55, 94, 0.06) !important;
  backdrop-filter: blur(14px);
}

.topbar {
  height: 44px !important;
  display: grid !important;
  grid-template-columns: auto minmax(240px, 360px) minmax(360px, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.topbar-breadcrumb {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #7685a0 !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}

.topbar-breadcrumb a {
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #586981 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.topbar-breadcrumb > a:first-child,
.topbar-breadcrumb-section {
  flex: 0 0 auto !important;
}

.topbar-breadcrumb-section {
  max-width: 112px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.topbar-breadcrumb a:hover,
.topbar-breadcrumb strong {
  color: #172641 !important;
}

.topbar-breadcrumb img {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
  object-fit: contain !important;
  filter: brightness(0) saturate(100%) invert(27%) sepia(13%) saturate(1126%) hue-rotate(178deg) brightness(94%) contrast(89%) !important;
}

.topbar-breadcrumb-separator {
  color: #c1cada !important;
}

.topbar-breadcrumb strong {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
  font-weight: 500 !important;
  text-overflow: ellipsis !important;
}

.topbar-breadcrumb-current {
  display: block !important;
  white-space: nowrap !important;
}

.product-matrix-wrap {
  position: relative !important;
  flex: 0 0 auto !important;
}

.product-matrix-trigger {
  min-width: 40px !important;
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #34445d !important;
  background: transparent !important;
  font: inherit !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease, box-shadow .18s ease !important;
}

.product-matrix-trigger:hover,
.product-matrix-wrap.is-open .product-matrix-trigger {
  color: #1769e8 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.product-matrix-trigger:focus,
.product-matrix-trigger:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.product-matrix-trigger:focus-visible .product-matrix-bot {
  filter: drop-shadow(0 0 5px rgba(23, 105, 232, .42)) !important;
}

.product-matrix-item:focus-visible {
  outline: 3px solid rgba(23, 105, 232, .22) !important;
  outline-offset: 2px !important;
}

.product-matrix-bot {
  width: 36px !important;
  height: 36px !important;
  display: block !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}

.product-matrix-popover {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  z-index: 1000 !important;
  width: 316px !important;
  padding: 15px 15px 12px !important;
  border: 1px solid #e4eaf3 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 18px 46px rgba(29, 56, 96, .16) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate(0, -7px) scale(.98) !important;
  transform-origin: top left !important;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
}

.product-matrix-popover::before {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  bottom: 100% !important;
  left: 0 !important;
  height: 10px !important;
}

.product-matrix-wrap.is-open .product-matrix-popover,
.product-matrix-wrap:hover .product-matrix-popover,
.product-matrix-wrap:focus-within .product-matrix-popover {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate(0, 0) scale(1) !important;
}

.product-matrix-popover > header {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 0 2px 11px !important;
  border-bottom: 1px solid #edf1f6 !important;
}

.product-matrix-popover > header strong {
  color: #172641 !important;
  font-size: 14px !important;
}

.product-matrix-popover > header small {
  color: #9aa6b8 !important;
  font-size: 10px !important;
  font-weight: 400 !important;
}

.product-matrix-popover nav {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
  padding: 12px 0 !important;
}

.product-matrix-item {
  min-width: 0 !important;
  min-height: 80px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 6px !important;
  border-radius: 9px !important;
  color: #5e7089 !important;
  text-decoration: none !important;
  transition: color .18s ease, background-color .18s ease !important;
}

.product-matrix-item.is-placeholder {
  cursor: default !important;
}

.product-matrix-item.is-placeholder:hover {
  color: #5e7089 !important;
  background: transparent !important;
}

.product-matrix-item.is-placeholder:hover > span {
  border-color: #e5ebf3 !important;
  box-shadow: none !important;
}

.product-matrix-item.is-placeholder:hover > span img {
  filter: brightness(0) saturate(100%) invert(28%) sepia(13%) saturate(1108%) hue-rotate(176deg) brightness(92%) contrast(90%) !important;
}

.product-matrix-item:hover {
  color: #1769e8 !important;
  background: #f3f7fd !important;
}

.product-matrix-item > span {
  width: 38px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #e5ebf3 !important;
  border-radius: 9px !important;
  background: #fff !important;
}

.product-matrix-item > span img {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
  filter: brightness(0) saturate(100%) invert(28%) sepia(13%) saturate(1108%) hue-rotate(176deg) brightness(92%) contrast(90%) !important;
}

.product-matrix-item:hover > span {
  border-color: #c7dbf7 !important;
  box-shadow: 0 6px 14px rgba(30, 86, 160, .08) !important;
}

.product-matrix-item:hover > span img {
  filter: brightness(0) saturate(100%) invert(38%) sepia(94%) saturate(2725%) hue-rotate(204deg) brightness(97%) contrast(90%) !important;
}

.product-matrix-item strong {
  max-width: 100% !important;
  overflow: hidden !important;
  font-size: 11px !important;
  font-weight: 560 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

.product-matrix-item > .product-matrix-icon {
  position: relative !important;
  width: 40px !important;
  height: 40px !important;
  overflow: hidden !important;
  border-color: #dfe5ec !important;
  color: #69788c !important;
  background: #fff !important;
  box-shadow: none !important;
}

.product-matrix-item > .product-matrix-icon::after {
  display: none !important;
  content: none !important;
}

.product-matrix-icon svg {
  width: 23px !important;
  height: 23px !important;
  position: relative !important;
  z-index: 1 !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.75 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.product-matrix-icon svg .is-fill {
  fill: currentColor !important;
  stroke: none !important;
}

.product-matrix-icon svg .is-soft {
  opacity: .52 !important;
}

.product-matrix-icon.is-blue { --matrix-icon-color: #2877ee; --matrix-icon-soft: #e9f2ff; }
.product-matrix-icon.is-cyan { --matrix-icon-color: #08a7c7; --matrix-icon-soft: #e6f9fc; }
.product-matrix-icon.is-violet { --matrix-icon-color: #7a61e8; --matrix-icon-soft: #f0edff; }
.product-matrix-icon.is-indigo { --matrix-icon-color: #4b62db; --matrix-icon-soft: #ebefff; }
.product-matrix-icon.is-teal { --matrix-icon-color: #129987; --matrix-icon-soft: #e7f8f4; }
.product-matrix-icon.is-amber { --matrix-icon-color: #e58a13; --matrix-icon-soft: #fff5df; }

.product-matrix-item.is-placeholder:hover > .product-matrix-icon {
  border-color: #dfe5ec !important;
  color: #69788c !important;
  background: #fff !important;
  box-shadow: none !important;
}

.product-matrix-popover > footer {
  min-height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  border-radius: 6px !important;
  color: #8b98aa !important;
  background: #f6f8fb !important;
  font-size: 10px !important;
}

.product-matrix-popover > footer img {
  width: 14px !important;
  height: 14px !important;
  filter: brightness(0) saturate(100%) invert(43%) sepia(95%) saturate(1619%) hue-rotate(203deg) brightness(98%) contrast(94%) !important;
}

.topbar-search-group {
  min-width: 0 !important;
  max-width: 720px !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.search {
  min-width: 260px !important;
  width: 100% !important;
  height: 40px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 0 16px 0 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #f5f7fb !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transition: background-color .18s ease !important;
}

.search:hover {
  background: #f2f5fa !important;
}

.search:focus-within {
  background: #eef3f9 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.topbar-search-trigger {
  width: 40px !important;
  height: 40px !important;
  flex: 0 0 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color .18s ease !important;
}

.topbar-search-trigger:hover {
  background: rgba(23, 105, 232, .06) !important;
}

.topbar-search-trigger:active,
.topbar-search-trigger:focus-visible {
  outline: 0 !important;
  background: rgba(23, 105, 232, .1) !important;
  box-shadow: none !important;
}

.topbar-search-icon {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
  margin-left: 0 !important;
  object-fit: contain !important;
  opacity: .78 !important;
  filter: brightness(0) saturate(100%) invert(42%) sepia(17%) saturate(689%) hue-rotate(179deg) brightness(93%) contrast(88%) !important;
}

.search input {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--ink) !important;
  font-size: 13px !important;
}

.search input::placeholder {
  color: #8f9db2 !important;
}

.topbar-upload {
  min-width: 96px !important;
  height: 40px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 0 13px !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #1789ff 0%, #1265ff 100%) !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

.topbar-upload:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #117cf0 0%, #0d58e7 100%) !important;
  box-shadow: none !important;
  transform: translateY(-1px) !important;
}

.topbar-upload:focus-visible {
  outline: 3px solid rgba(18, 101, 255, 0.22) !important;
  outline-offset: 2px !important;
}

.topbar-upload-icon {
  width: 15px !important;
  height: 15px !important;
  display: block !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

.global-publish-frame {
  position: fixed;
  inset: 0;
  z-index: 10050;
  overflow: hidden;
  background: transparent;
}

.global-publish-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: transparent;
}

.top-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
}

.topbar-action-icon {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  object-fit: contain !important;
  filter: brightness(0) saturate(100%) invert(18%) sepia(24%) saturate(1112%) hue-rotate(184deg) brightness(94%) contrast(91%) !important;
}

.icon-btn,
.profile {
  border: 0 !important;
  background: transparent !important;
  cursor: pointer !important;
}

.icon-btn {
  position: relative !important;
  width: 34px !important;
  height: 34px !important;
  display: grid !important;
  place-items: center !important;
  color: #0e1a39 !important;
  text-decoration: none !important;
}

.icon-btn:focus-visible {
  outline: 3px solid rgba(18, 101, 255, .22) !important;
  outline-offset: 2px !important;
  border-radius: 8px !important;
}

.icon-btn em {
  position: absolute !important;
  right: -1px !important;
  top: -1px !important;
  min-width: 16px !important;
  height: 16px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 3px !important;
  border-radius: 999px !important;
  background: #ff3c3c !important;
  color: #fff !important;
  font-size: 9px !important;
  font-style: normal !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center !important;
}

.icon-btn em[hidden] {
  display: none !important;
}

.profile-wrap {
  position: relative !important;
  z-index: 30 !important;
}

.profile {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  color: #14203c !important;
  font-size: 14px !important;
  font-weight: 580 !important;
  border-radius: 24px !important;
  outline: 0 !important;
}

.profile:focus-visible {
  box-shadow: 0 0 0 3px rgba(18, 101, 255, 0.14) !important;
}

.guest-login-trigger {
  min-height: 36px !important;
  padding: 0 3px !important;
  transition: color .18s ease !important;
}

.guest-login-trigger:hover {
  color: #1265ff !important;
}

.guest-login-icon {
  width: 17px !important;
  height: 17px !important;
  flex: 0 0 17px !important;
  background: url("../assets/icons/line-icons/person-outline.png") center / contain no-repeat !important;
  filter: brightness(0) saturate(100%) invert(18%) sepia(24%) saturate(1112%) hue-rotate(184deg) brightness(94%) contrast(91%);
  transition: filter .18s ease !important;
}

.guest-login-trigger:hover .guest-login-icon {
  filter: brightness(0) saturate(100%) invert(38%) sepia(96%) saturate(3704%) hue-rotate(210deg) brightness(101%) contrast(104%);
}

.profile .topbar-avatar {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center 28% !important;
}

.profile .topbar-user-name {
  max-width: 110px !important;
  overflow: hidden !important;
  color: #172641 !important;
  font-weight: 650 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.profile .topbar-member-badge {
  width: auto !important;
  height: 18px !important;
  max-width: 64px !important;
  flex: 0 1 auto !important;
  border-radius: 0 !important;
  object-fit: contain !important;
}

.profile .topbar-profile-chevron {
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 14px !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  filter: brightness(0) saturate(100%) invert(42%) sepia(17%) saturate(689%) hue-rotate(179deg) brightness(93%) contrast(88%) !important;
  transform: rotate(180deg) !important;
  transition: transform 0.2s ease-out !important;
}

.profile-wrap.is-open .topbar-profile-chevron {
  transform: rotate(0deg) !important;
}

@media (prefers-reduced-motion: reduce) {
  .profile .topbar-profile-chevron {
    transition: none !important;
  }
}

site-topbar:not(.is-scrolled) .topbar,
.topbar.is-scrolled {
  background: transparent !important;
  box-shadow: none !important;
}

.site-footer {
  margin-top: 28px !important;
  margin-right: calc(-1 * var(--shell-main-x)) !important;
  margin-left: calc(-1 * var(--shell-main-x)) !important;
}

@media (max-width: 1180px) {
  :root {
    --shell-sidebar-width: 204px;
    --shell-main-x: 30px;
  }

  .footer-main {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .footer-brand,
  .footer-follow {
    grid-column: span 4 !important;
  }
}

@media (max-width: 1300px) {
  .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 20px !important;
  }

  .topbar-breadcrumb {
    display: none !important;
  }

  .topbar-search-group {
    max-width: none !important;
  }
}

@media (max-width: 980px) {
  :root {
    --shell-main-x: 18px;
  }

  .app-shell {
    display: block !important;
  }

  site-sidebar {
    min-height: auto !important;
  }

  .sidebar {
    position: relative !important;
    height: auto !important;
    padding: 18px !important;
  }

  .main {
    padding: 18px var(--shell-main-x) 0 !important;
  }

  site-topbar {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .topbar {
    height: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
  }

  .topbar-search-group {
    order: 2;
    width: 100% !important;
    max-width: none !important;
  }

  .business-popover {
    display: none !important;
  }

  .nav-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .join-card,
  .sidebar-footer {
    display: none !important;
  }

  .site-footer {
    padding: 28px 22px 18px !important;
  }
}

@media (max-width: 720px) {
  .brand {
    margin-bottom: 18px !important;
  }

  .nav-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .nav-item {
    height: 44px !important;
    font-size: 12px !important;
  }

  .top-actions {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  .topbar-search-group {
    gap: 8px !important;
  }

  .product-matrix-trigger {
    min-width: 44px !important;
    width: 44px !important;
    padding: 0 !important;
  }

  .product-matrix-bot {
    width: 38px !important;
    height: 38px !important;
  }

  .product-matrix-popover {
    left: 0 !important;
    width: min(316px, calc(100vw - 32px)) !important;
    transform: translate(0, -7px) scale(.98) !important;
    transform-origin: top left !important;
  }

  .product-matrix-wrap.is-open .product-matrix-popover,
  .product-matrix-wrap:hover .product-matrix-popover,
  .product-matrix-wrap:focus-within .product-matrix-popover {
    transform: translate(0, 0) scale(1) !important;
  }

  .topbar-upload {
    min-width: 96px !important;
    padding: 0 10px !important;
  }

  .search {
    min-width: 0 !important;
  }

  .search input {
    min-width: 0 !important;
    padding: 0 2px !important;
  }

  .topbar-search-icon {
    margin-left: 0 !important;
  }

  .footer-main,
  .footer-brand,
  .footer-follow {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-column: span 2 !important;
  }

  .footer-bottom {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .search,
  .topbar-search-trigger,
  .search-submit,
  .product-matrix-trigger,
  .product-matrix-popover,
  .product-matrix-item {
    transition: none !important;
  }
}

/* Shared sidebar styles migrated from legacy styles.css. */
.app-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
}

site-sidebar,
site-topbar,
site-footer {
  display: block;
}

site-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  margin-top: -16px;
  padding: 16px 0 14px;
  isolation: isolate;
}

site-topbar::before {
  content: "";
  position: absolute;
  inset: 0 -44px;
  z-index: -1;
  background: #FAFBFE;
}

site-sidebar {
  min-height: 100vh;
  background: rgba(255, 255, 255, 0.94);
  position: relative;
  z-index: 30;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 22px 18px 18px;
  background: rgba(255, 255, 255, 0.94);
  border-right: 1px solid rgba(31, 55, 94, 0.04);
  backdrop-filter: blur(16px);
  overflow: visible;
  z-index: 30;
}

.brand {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  animation: brandEnter 0.55s ease both;
}

.brand strong {
  display: block;
  font-size: 16px;
  line-height: 1;
  color: #0d1839;
}

.brand small {
  display: block;
  margin-top: 6px;
  color: #7282a1;
  font-size: 11px;
}

.brand-logo {
  width: min(100%, 164px);
  height: auto;
  display: block;
  flex: 0 1 auto;
  object-fit: contain;
  transform: scale(1);
  transform-origin: left center;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.brand::after {
  content: "";
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -42%;
  width: 28%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: skewX(-18deg);
  animation: brandShineLoop 4.5s ease-in-out infinite;
}

.brand:hover .brand-logo {
  filter: drop-shadow(0 5px 9px rgba(18, 101, 255, 0.14));
  transform: scale(1.025);
}

@keyframes brandEnter {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes brandShineLoop {
  0%,
  68% {
    left: -42%;
    opacity: 0;
  }

  74% {
    opacity: 0;
  }

  78% {
    opacity: 1;
  }

  94% {
    left: 112%;
    opacity: 0;
  }

  100% {
    left: 112%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand {
    animation: none;
  }

  .brand-logo {
    transition: none;
  }

  .brand::after {
    animation: none;
  }
}

.nav-list {
  display: grid;
  gap: 8px;
}

.nav-item {
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 12px;
  border-radius: 8px;
  color: #505050;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 580;
  transition: 0.18s ease;
}

.nav-item:hover,
.nav-item.active {
  color: #065cf2;
  background: linear-gradient(90deg, rgba(18, 101, 255, 0.13), rgba(31, 183, 255, 0.05));
}

.nav-item:hover .ico,
.nav-item.active .ico {
  filter: brightness(0) saturate(100%) invert(34%) sepia(96%) saturate(3419%) hue-rotate(212deg) brightness(97%) contrast(99%);
}

.nav-item.active {
  box-shadow: none;
}

.nav-item.active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 18px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #38a4ff 0%, #1265ff 100%);
  box-shadow: 1px 0 5px rgba(18, 101, 255, 0.18);
  transform: translateY(-50%);
}

.ico,
.search-icon,
.bell,
.line-icon,
.solution-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
}

.ico::before,
.ico::after,
.search-icon::before,
.search-icon::after,
.bell::before,
.bell::after,
.line-icon::before,
.line-icon::after {
  content: "";
  position: absolute;
}

.ico.home::before {
  inset: 4px 3px 3px;
  background: currentColor;
  clip-path: polygon(50% 0, 95% 40%, 82% 40%, 82% 100%, 18% 100%, 18% 40%, 5% 40%);
}

.ico.image::before,
.ico.doc::before,
.ico.book::before,
.ico.case::before {
  inset: 2px 3px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.ico.image::after {
  left: 7px;
  right: 7px;
  bottom: 6px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: skewX(-22deg);
}

.ico.grid::before {
  inset: 3px;
  background: currentColor;
  clip-path: polygon(0 0, 36% 0, 36% 36%, 0 36%, 0 0, 64% 0, 100% 0, 100% 36%, 64% 36%, 64% 0, 0 64%, 36% 64%, 36% 100%, 0 100%, 0 64%, 64% 64%, 100% 64%, 100% 100%, 64% 100%);
}

.ico.hex::before {
  inset: 2px;
  border: 2px solid currentColor;
  clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
}

.ico.stack::before {
  inset: 4px 2px 6px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.ico.stack::after {
  left: 6px;
  right: 6px;
  bottom: 2px;
  border-bottom: 2px solid currentColor;
}

.ico.team::before {
  width: 8px;
  height: 8px;
  left: 7px;
  top: 2px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.ico.team::after {
  left: 2px;
  right: 2px;
  bottom: 3px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 8px 8px 3px 3px;
}

.ico.upload::before,
.ico.upload-blue::before {
  inset: 3px 2px 2px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.ico.upload::after,
.ico.upload-blue::after {
  width: 10px;
  height: 10px;
  left: 6px;
  top: 2px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.ico.upload-blue {
  color: var(--blue);
}

.ico.crown::before {
  inset: 4px 2px 5px;
  background: #ffb229;
  clip-path: polygon(0 25%, 28% 45%, 50% 0, 72% 45%, 100% 25%, 84% 100%, 16% 100%);
}

.ico.help::before,
.ico.about::before {
  inset: 2px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.ico.help::after,
.ico.about::after {
  left: 10px;
  top: 6px;
  width: 3px;
  height: 9px;
  border-radius: 2px;
  background: currentColor;
}

.sidebar-split {
  height: 1px;
  margin: 20px 4px 14px;
  background: var(--line);
}

.compact .nav-item {
  height: 38px;
}

.business-popover-wrap {
  position: relative;
}

.business-popover-wrap::after {
  content: "";
  position: absolute;
  left: 100%;
  top: -16px;
  width: 24px;
  height: calc(100% + 32px);
}

.business-popover {
  width: 418px;
  min-height: 164px;
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e7effb;
  border-radius: 8px;
  color: #17233f;
  background:
    linear-gradient(135deg, rgba(242, 248, 255, 0.96), rgba(255, 255, 255, 0.98) 42%),
    #ffffff;
  box-shadow: 0 18px 42px rgba(42, 78, 128, 0.16);
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.business-popover-wrap:hover .business-popover,
.business-popover-wrap:focus-within .business-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.business-arrow {
  width: 18px;
  height: 18px;
  position: absolute;
  left: -9px;
  top: 50%;
  border-left: 1px solid #e7effb;
  border-bottom: 1px solid #e7effb;
  background: rgba(255, 255, 255, 0.98);
  transform: translateY(-50%) rotate(45deg);
}

.business-watermark {
  position: absolute;
  right: 130px;
  top: -8px;
  color: rgba(18, 101, 255, 0.055);
  font-size: 62px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.business-info {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.business-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  margin-bottom: 14px;
}

.business-head img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #eef5ff;
  box-shadow: 0 8px 14px rgba(18, 101, 255, 0.12);
  object-fit: cover;
  object-position: center 28%;
}

.business-head strong {
  display: block;
  color: #14213d;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}

.business-head p,
.business-note {
  margin: 3px 0 0;
  color: #70809a;
  font-size: 12px;
  line-height: 1.45;
}

.wechat-row {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  padding: 7px 8px 7px 12px;
  border-radius: 6px;
  border: 1px solid #edf3fb;
  background: #ffffff;
  color: #53647f;
  font-size: 13px;
  box-shadow: 0 5px 12px rgba(42, 78, 128, 0.04);
}

.wechat-row span {
  display: grid;
  gap: 2px;
}

.wechat-row small {
  color: #8a98ad;
  font-size: 10px;
  font-weight: 700;
}

.wechat-row b,
.business-note b {
  color: #2f6fca;
  font-weight: 750;
}

.copy-wechat {
  height: 27px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid rgba(47, 111, 202, 0.18);
  border-radius: 999px;
  color: #315f9f;
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.copy-wechat::before {
  content: "";
  width: 12px;
  height: 12px;
  display: inline-block;
  background: url("../assets/icons/line-icons/copy-outline.png") center / contain no-repeat;
  filter: brightness(0) saturate(100%) invert(38%) sepia(38%) saturate(1271%) hue-rotate(183deg) brightness(91%) contrast(88%);
  opacity: 0.86;
}

.copy-wechat:hover {
  border-color: rgba(18, 101, 255, 0.34);
  color: #1265ff;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(42, 78, 128, 0.08);
}

.business-qr-card {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 10px 9px;
  border: 1px solid #eef3fb;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.business-qr-card small {
  color: #53647f;
  font-size: 11px;
  font-weight: 700;
}

.qr-code {
  width: 80px;
  height: 80px;
  display: block;
  border-radius: 6px;
  object-fit: contain;
  background: #ffffff;
}

.join-card {
  min-height: 142px;
  margin-top: 26px;
  padding: 18px 16px;
  border: 1px solid #f2f6fc;
  border-radius: 8px;
  background: linear-gradient(145deg, #f7fbff, #eaf4ff);
  box-shadow: 0 8px 22px rgba(48, 112, 198, 0.06);
  position: relative;
  overflow: hidden;
}

.join-card strong {
  font-size: 16px;
}

.join-card p {
  width: 122px;
  margin: 9px 0 12px;
  color: #5c6e8c;
  font-size: 13px;
  line-height: 1.7;
}

.join-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: 5px;
  background: var(--blue);
  color: white;
  font-size: 13px;
  font-weight: 700;
}

.join-visual {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 62px;
  height: 62px;
  transform: rotateX(58deg) rotateZ(-35deg);
}

.join-visual span {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: linear-gradient(145deg, #70bdff, #1265ff);
  box-shadow: 12px 12px 0 #d9eafe;
}

.join-visual span:nth-child(2) {
  left: 28px;
  top: 10px;
  background: linear-gradient(145deg, #9bd7ff, #2c7bff);
}

.join-visual span:nth-child(3) {
  left: 14px;
  top: 34px;
  background: linear-gradient(145deg, #e0f4ff, #5da8ff);
}

.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 4px;
}

.sidebar-footer a {
  min-height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 12px;
  border-radius: 8px;
  color: #505050;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  transition: 0.18s ease;
}

.sidebar-footer a:hover,
.sidebar-footer a.active {
  color: #065cf2;
  background: linear-gradient(90deg, rgba(18, 101, 255, 0.13), rgba(31, 183, 255, 0.05));
}

.sidebar-footer a:hover .ico,
.sidebar-footer a.active .ico {
  filter: brightness(0) saturate(100%) invert(34%) sepia(96%) saturate(3419%) hue-rotate(212deg) brightness(97%) contrast(99%);
}

.sidebar-footer a.active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 18px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #38a4ff 0%, #1265ff 100%);
  box-shadow: 1px 0 5px rgba(18, 101, 255, 0.18);
  transform: translateY(-50%);
}

/*
 * Keep the brand visible when browser zoom reduces the effective viewport
 * height. Only vertical density changes; the sidebar width and logo identity
 * stay stable.
 */
.sidebar > .brand {
  position: sticky;
  top: 0;
  z-index: 4;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.98);
}

@media (min-width: 981px) and (max-height: 880px) {
  .sidebar {
    padding: 14px 18px 12px !important;
  }

  .sidebar > .brand {
    min-height: 42px;
    margin-bottom: 12px;
    padding-bottom: 4px;
  }

  .sidebar .brand-logo {
    width: min(100%, 164px);
    max-height: 40px;
  }

  .sidebar .nav-list {
    gap: 3px;
  }

  .sidebar .nav-item,
  .sidebar .compact .nav-item {
    height: 34px;
  }

  .sidebar-split {
    margin: 10px 4px 8px;
  }

  .sidebar .join-card {
    min-height: 116px;
    margin-top: 12px;
    padding: 13px 14px;
  }

  .sidebar .join-card p {
    margin: 5px 0 7px;
    font-size: 12px;
    line-height: 1.45;
  }

  .sidebar .join-card a {
    height: 30px;
    font-size: 12px;
  }

  .sidebar-footer a {
    min-height: 34px;
  }
}

@media (min-width: 981px) and (max-height: 720px) {
  .sidebar {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .sidebar > .brand {
    min-height: 38px;
    margin-bottom: 7px;
    padding-bottom: 2px;
  }

  .sidebar .brand-logo {
    max-height: 36px;
  }

  .sidebar .nav-list {
    gap: 1px;
  }

  .sidebar .nav-item,
  .sidebar .compact .nav-item {
    height: 31px;
    gap: 14px;
  }

  .sidebar-split {
    margin: 6px 4px 5px;
  }

  .sidebar .join-card {
    min-height: 94px;
    margin-top: 7px;
    padding: 9px 12px;
  }

  .sidebar .join-card strong {
    font-size: 14px;
  }

  .sidebar .join-card p {
    width: 116px;
    margin: 3px 0 5px;
    font-size: 11px;
    line-height: 1.3;
  }

  .sidebar .join-card a {
    height: 27px;
    padding: 0 11px;
    font-size: 11px;
  }

  .sidebar .join-visual {
    right: 8px;
    bottom: 7px;
    transform: scale(0.76) rotateX(58deg) rotateZ(-35deg);
    transform-origin: right bottom;
  }

  .sidebar-footer a {
    min-height: 31px;
  }
}

.main {
  min-width: 0;
  padding: 16px 44px 0;
  background: #FAFBFE;
}

/* Shared footer styles migrated from legacy styles.css. */
.site-footer {
  margin-top: 28px;
  margin-right: calc(-1 * var(--shell-main-x));
  margin-left: calc(-1 * var(--shell-main-x));
  padding: 28px 34px 0;
  border-top: 1px solid rgba(31, 55, 94, 0.04);
  background: #ffffff;
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
}

.footer-main {
  padding-right: var(--shell-main-x);
  padding-left: var(--shell-main-x);
  display: grid;
  grid-template-columns: minmax(225px, 1.35fr) repeat(4, minmax(92px, 0.7fr)) minmax(150px, 0.88fr);
  gap: 26px;
}

.footer-brand .brand {
  margin-bottom: 20px;
}

.footer-brand .brand-logo {
  width: min(100%, 158px);
}

.footer-brand p {
  max-width: 300px;
  margin: 0;
  color: #62728a;
  font-size: 12px;
  line-height: 1.85;
  font-weight: 500;
}

.footer-links,
.footer-contact,
.footer-follow {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links h3,
.footer-contact h3,
.footer-follow h3 {
  margin: 0 0 6px;
  color: #1e2b46;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}

.footer-links a,
.footer-contact p,
.footer-follow p {
  margin: 0;
  color: #697891;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 500;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 20px;
}

.footer-brand .socials {
  margin-top: 20px;
}

.footer-follow {
  position: relative;
}

.footer-follow p {
  max-width: 150px;
  line-height: 1.65;
}

.footer-follow-qr {
  width: 90px;
  height: 90px;
  display: block;
  margin-top: 2px;
  padding: 3px;
  border: 1px solid #edf1f6;
  border-radius: 4px;
  background: #ffffff;
  object-fit: contain;
}

@media (max-width: 720px) {
  .footer-brand,
  .footer-follow {
    grid-column: span 2 !important;
  }

  .footer-follow {
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .footer-main {
    grid-template-columns: 1fr !important;
  }

  .footer-brand,
  .footer-follow {
    grid-column: auto !important;
  }
}

.footer-ico {
  width: 16px;
  height: 16px;
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  color: #6a7b99;
}

.footer-ico::before,
.footer-ico::after,
.socials a::before,
.socials a::after {
  content: "";
  position: absolute;
}

.footer-ico.user::before {
  left: 5px;
  top: 2px;
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.footer-ico.user::after {
  left: 3px;
  right: 3px;
  bottom: 2px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-radius: 8px 8px 3px 3px;
}

.footer-ico.mail::before {
  inset: 3px 2px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.footer-ico.mail::after {
  left: 3px;
  right: 3px;
  top: 5px;
  height: 7px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

.footer-ico.phone::before {
  inset: 2px 4px;
  border: 1.5px solid currentColor;
  border-radius: 7px;
  transform: rotate(-24deg);
}

.footer-ico.globe::before {
  inset: 2px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.footer-ico.globe::after {
  left: 2px;
  right: 2px;
  top: 7px;
  border-top: 1.5px solid currentColor;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.socials a {
  width: 34px;
  height: 34px;
  position: relative;
  border-radius: 50%;
}

.socials .qq { background: #e8f6ff; color: #1798ff; }
.socials .wechat { background: #e9faee; color: #20bf55; }
.socials .weibo { background: #fff0f2; color: #f24b61; }

.socials a::before {
  left: 10px;
  top: 9px;
  width: 14px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.socials .wechat::after {
  left: 18px;
  top: 13px;
  width: 10px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: inherit;
}

.socials .weibo::before {
  transform: rotate(-18deg);
}

.footer-bottom {
  margin-top: 20px;
  margin-right: var(--shell-main-x);
  margin-left: var(--shell-main-x);
  padding: 10px 0 10px;
  border-top: 1px solid var(--line);
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.footer-legal strong {
  color: #66758d;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 600;
}

.footer-legal > i {
  width: 1px;
  height: 12px;
  background: #dce4ef;
}

.footer-legal p {
  margin: 0;
  color: #8794a9;
  font-size: 11px;
  line-height: 1.65;
  font-weight: 400;
}

.footer-bottom a {
  color: #7c8aa0;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 500;
  transition: color 0.18s ease;
}

.icp-record {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.icp-record img {
  width: 14px;
  height: 14px;
  display: block;
  object-fit: contain;
}

.footer-bottom a:hover {
  color: var(--blue);
}

.footer-legal b {
  width: 3px;
  height: 3px;
  flex: 0 0 3px;
  border-radius: 50%;
  background: #bac5d5;
}

/* Shared icon overrides migrated from legacy styles.css. */
/* Icon library overrides */
.ico,
.search-icon,
.bell,
.mini-shield,
.mini-clock,
.metric-icon,
.solution-icon,
.footer-ico,
.socials a {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.ico::before,
.ico::after,
.search-icon::before,
.search-icon::after,
.bell::before,
.bell::after,
.mini-clock::before,
.mini-clock::after,
.metric-icon::before,
.metric-icon::after,
.metric-icon span,
.metric-icon span::before,
.solution-icon::before,
.solution-icon::after,
.footer-ico::before,
.footer-ico::after,
.socials a::before,
.socials a::after {
  display: none !important;
}

.ico.home { background-image: url("../assets/icons/glass-icons/Home.png"); }
.ico.image { background-image: url("../assets/icons/glass-icons/Gallery.png"); }
.ico.grid { background-image: url("../assets/icons/glass-icons/Bag.png"); }
.ico.tool { background-image: url("../assets/icons/glass-icons/Setting.png"); }
.ico.hex { background-image: url("../assets/icons/glass-icons/Buy.png"); }
.ico.stack { background-image: url("../assets/icons/glass-icons/Folder.png"); }
.ico.doc { background-image: url("../assets/icons/glass-icons/Document.png"); }
.ico.team { background-image: url("../assets/icons/glass-icons/Profile.png"); }
.ico.book { background-image: url("../assets/icons/glass-icons/Paper.png"); }
.ico.upload,
.ico.upload-blue { background-image: url("../assets/icons/glass-icons/Paper Plus.png"); }
.ico.crown { background-image: url("../assets/icons/glass-icons/Star.png"); }
.ico.case { background-image: url("../assets/icons/glass-icons/Wallet.png"); }
.ico.help { background-image: url("../assets/icons/glass-icons/Info.png"); }
.ico.about { background-image: url("../assets/icons/glass-icons/asset-067.png"); }
.search-icon { background-image: url("../assets/icons/glass-icons/Search.png"); }
.bell { background-image: url("../assets/icons/glass-icons/Notification.png"); }

.mini-shield {
  border: 0;
  box-shadow: none;
  clip-path: none;
  background-image: url("../assets/icons/glass-icons/Shield.png");
}

.mini-clock {
  border: 0;
  box-shadow: none;
  background-image: url("../assets/icons/glass-icons/Clock.png");
}

.metric-icon,
.solution-icon {
  transform: none !important;
  clip-path: none !important;
  border-radius: 0;
  background-color: transparent !important;
  background-size: contain;
  filter: none;
  box-shadow: none;
}

.industry-card:nth-child(1) .solution-icon,
.solution-icon.robot { background-image: url("../assets/icons/glass-icons/Setting.png"); }
.industry-card:nth-child(2) .solution-icon,
.solution-icon.wind { background-image: url("../assets/icons/glass-icons/Activity.png"); }
.industry-card:nth-child(3) .solution-icon,
.solution-icon.drop { background-image: url("../assets/icons/glass-icons/Discovery.png"); }
.industry-card:nth-child(4) .solution-icon,
.solution-icon.flask { background-image: url("../assets/icons/glass-icons/Graph.png"); }
.industry-card:nth-child(5) .solution-icon,
.solution-icon.truck { background-image: url("../assets/icons/glass-icons/Bag.png"); }
.solution-icon.pill { background-image: url("../assets/icons/glass-icons/Heart.png"); }

.spec-card:nth-child(1) .metric-icon { background-image: url("../assets/icons/glass-icons/Document.png"); }
.spec-card:nth-child(2) .metric-icon { background-image: url("../assets/icons/glass-icons/Gallery.png"); }
.spec-card:nth-child(3) .metric-icon { background-image: url("../assets/icons/glass-icons/Setting.png"); }
.spec-card:nth-child(4) .metric-icon { background-image: url("../assets/icons/glass-icons/Chart.png"); }
.spec-card:nth-child(5) .solution-icon { background-image: url("../assets/icons/glass-icons/Paper.png"); }

.footer-ico.user { background-image: url("../assets/icons/glass-icons/Profile.png"); }
.footer-ico.mail { background-image: url("../assets/icons/glass-icons/Message.png"); }
.footer-ico.phone { background-image: url("../assets/icons/glass-icons/Volume.png"); }
.footer-ico.globe { background-image: url("../assets/icons/glass-icons/Discovery.png"); }
.socials .qq { background-image: url("../assets/icons/glass-icons/Chat.png"); }
.socials .wechat { background-image: url("../assets/icons/glass-icons/Message.png"); }
.socials .weibo { background-image: url("../assets/icons/glass-icons/Send.png"); }

/* Linear icon corrections: keep only the five quick cards as glass icons. */
.ico,
.search-icon,
.bell,
.mini-shield,
.mini-clock,
.solution-icon,
.footer-ico,
.socials a {
  filter: brightness(0) saturate(100%) invert(18%) sepia(24%) saturate(1112%) hue-rotate(184deg) brightness(94%) contrast(91%);
}

.ico.home { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYA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URbrb7V4RMQMAIKKbqqoaAADhgrfbbXsfjDEv+y7WqaiqqkHEdjf9nCIecj0YY5qY/duFfIVBSIhBSIhBSIhBSIioEL/vuDRcnflk9yd5nm/go2reM/MKoG145tZeMvNkXzJbWV21bnmEEGMhxLO1N3Vd37QxgdqZMcY1x3OiaAM39irxMYjyIOLMn3eOJkmS39DtH64CY8zK5voQFnO0vw13X53nGTj5B2zAgDchA6tg9rYf8QAAAABJRU5ErkJggg=="); }
.ico.book { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAHPSURBVFiF7ZZBjtowFIb/55h9NqBZsrSCUd0TkN6AI9Aj9ATtDaY9wfQIc4MmN7AEitgNyxFsskbGrwuSFgzJEDSbkfKtEif2+15iyT/Q0/NBiK4NTqfT+Wg0ethut5v3LJYkiRkOhw+73e41fEbhgNb6O4Af1W0JwBKRBZBHUZRZa8tbihpjYuecATADkAIwAGIAIKKfy+Xy21sif6qJV2HmDYCMmXPvfbZerzfAsVsAhohmRGSqwk1kq9Xqy+mAfKOxsu7inznRGMCCiBZCCGit6y8Uo52LtW4Wcc59FkLERJQC+AQgrUROaVrcMrNl5hyA9d6XUsqXu0QAoCgKC8DW98aY+HA4pABmzJzi/y+wRJShYS8ppcIGuomEVAWeATwnSbIQQjwBgPf+V1EUv7uuVyPunfje9CIhvUhILxLSi4T0IiGtZ42U8nEymeREZKWU9tZQdIrWOmVmQ0SzriKnxeZENAcA51yptT5La/v9/myiUmo8GAwMjiezQRWwiC7y10VDF28kSWKEEI9oSWnBgvGV6zas9/5rFS+aRWraMmcHShyzTAYgb/u9jSLXUEqNoyiaozmtnaWysOs2OomE1GmNmct7N3NPz4fjL7qHtJqB5iAzAAAAAElFTkSuQmCC"); }
.ico.upload,
.ico.upload-blue { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAKiSURBVFiF7VaxbtswEH0n2YBHdbHHOpsgKaiydUz/oPkD+w+SsZOVL4gzdrL7Bx2bKf6DCghleEu6GUoGjQFC8zpEUilFSugUQYHCDzB8dzoen46PpIAddnge9NqBnueNbNv+wMwhgIyIbpRSv7rd7jyO4+zNiXieNyKiCRENW1IyAFMhxOmbEfF9f0ZEI5NcZp4nSTI2rW39BYkFER0ppQ6klHtKqTGARfGQiEb7+/tnpvWNOhIEwSGAy8Jn5pMkSaZNuZ7njSzLmhW+Umq8XC7nL81h2pGJZkdtJABguVzOmfmk8Ilo0paro7UjrusOO53OGYBDAE4ezoQQ70wK+75/rQk6w+OynQshFk35jR0JgmDS6XSuAXzWSABAayfqYGZ91zh5rcs23dhNJABEWigDsGLmH91u93S9Xt+bELm9vY0Hg4EDoKf9AODjYDBw0jS90PMrS1MXJYBISvlttVrdmEzehjAMnc1mM2Hm43JioqOrq6vvhV/pSL/fnwEY5olTIcSXu7u7rU/JOtbr9X2aphf9fh941BwAuGmafi1y6hoJ8//Mtm2jkzEIgkPP88KXM4H8tC1eLAzDsNRfScR13SH+CHNhcl/kerq0LOtnbptgURhSyvIF2s4RpyVeJxFpociQTFlbSnnzhEguyLJtW5LYhkxZu9frlV2vdISZCxU7bQWfIfEimTzeuPwVIpvNRhdolOvmORJxix35vn+s+ciFqccqm6FCJF+eYqJMb11RT59MKXVeOLldkrQs670+MI7jjJmLelH9qH8i1nyLfZJSHtR3jpTyhIimRHTU9OEjhDhVSo2Zef7w8HBef54kyZ6Ucq9p7Ks/FYHqlW963bfB+MPorbEjUsf/QcS27azJ/ifwfX+2xYW3ww6vxm+t7h0rl9+aYAAAAABJRU5ErkJggg=="); }
.ico.crown { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAMaSURBVFiF7VddUtswEN6V5RneGk5Q+81ji2lyApITUE5AOEHhBMAJ4AjmBKUnwJwAd6J4/EZ6AnwAWdsH5KCEJFLS9KndmczY8v582l192gD8lz1LkiRRkiTRn/rBXYzSNB0zxs4AYLj0qdBa31dVlf9VIEmSREEQPCJitEmPiGZt247qup7tHUiSJBHn/BkAetZyAwClee4vf9Naj6qqKsFDvICsyESDiOeTyeTB1kvTdIyIV50eEc3CMByUZdm4YjAfIGEYfrOdc87jZRAAAFVV5W3bjsBkCREjpdQ3nxheGRFCvIJJu1IqdtU+TdM+Y+zZvDac89iVFWdGhBBDeK/9g08Dmr4ozGtPKdV32TiBEJHtxKvxjN2PNT52A4KIn7pnrfWvLYDMS2H72BmIHZwx9tkXCCLOj7LPBnxOjV2O4RZAztb42A1IVVUlEc06IGmajl02WZZdwBvBARHNfEjNi0eI6GZuwNitOUkrRQgxRMSrVbabxJvihRCPYJWGiHJEvJdSFob+IyI6Q8SxZVZKKQc+/rkvEFi8R8AEHAsh7LUFAyJasNkkXqUx80bHBa57o+l0ENF7VvG9a+aEhIi5UirWWp8DwAO8MWhJRDkRXXLOYyKa30OMsaFPDK/SaK1PrLQ/GZrPze+DpGn61PUKIh6v07PFKyNgNWkQBIVLWWs910HErz4BnECSJImsOaTwmS3qup5Z3NPz6RMnELvGiLhATP1+v5dl2cXR0dGHXTPG5n0SBIEzKz6X3nH3bN+oWZZdKKVeEPGWiL4LIR7tnbdt+9Ny88UZx6WQZdlLVxrO+aGZLW7h/TgvCBHlbdveHBwcNEqpV7PcSCkPdwZiT1pENDOlWU5zQUTRisn+mojG3brWerDpznGVxuaPaAlECQAjKeUoDMMBAFwvA7HBIeJwU6CNQBhjJyuWGyK6lFIOpJQFAEBZlo2U8kYpFRNRvsqX3WtbA1ke8RDxjnMeT6fTu1X6dV3PptPpuVIqhjfWXetrKyDWcS0AYDSZTC59eURKeYqIpxafFC67jbKPP9j78PHvyW8Hx2fmak6LIgAAAABJRU5ErkJggg=="); }
.ico.person { background-image: url("data:image/png;base64,i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v2QfraMADMoeQCsUwtuVPTnoncjjz5omkNCOAAQP2A08JUko9CSEeACANlhqt9d/FYjG7upA8z+cAMD7gVtZ1fd+HN+njrJR6QsRfR7hmo9Ho/3q9ro7lpj5CEPHOjbXWE6116a8nSfKIiFM7/tmHu5cQH1rrcrlcrnyblPKFiKZ2Pbw/pwuRUmb+HBFbciLKpJRdMqLM9w3jQ+Ed7lhyInoGgAI+vxXnogGAipknoaiOEKVUIYR4vXDyqCBmvvXFdI5GCDF1Y2PMChGdYwrvOwRgn+pAIn83y4g9JaI/AHDrFtodKYoiZeZNTLE9rn+O+NA3wv/WMPMPx1MURbrb7V4RMQMAIKKbqqoaAADhgrfbbXsfjDEv+y7WqaiqqkHEdjf9nCIecj0YY5qY/duFfIVBSIhBSIhBSIhBSIioEL/vuDRcnflk9yd5nm/go2reM/MKoG145tZeMvNkXzJbWV21bnmEEGMhxLO1N3Vd37QxgdqZMcY1x3OiaAM39irxMYjyIOLMn3eOJkmS39DtH64CY8zK5voQFnO0vw13X53nGTj5B2zAgDchA6tg9rYf8QAAAABJRU5ErkJggg=="); }
.ico.help { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAPESURBVFiF7VexbuNGEH2zXAnqohS2W7kJBFEC+Aeh8wO2u3QnfUGsLp3tLzj5C+wrU53vC6zrch0BiYquCVQadsPSkJY7KbRklitSkp1DqnsAQS45u/NmdnZmCHxHEfRfJgdB0Hx5eWkCwHw+X/xvRIIgaK5Wqz4R/QwgBNB0RBIAY631J631+DXk9iISBEFTKfUbgIsS5VVIAIyUUh/2IbSTSLfbDQF8LCGQMHNCRIlR2gQQuPOZeSGEGE4mk/s3E+l2u5cArpzXY631h3q9fh9FUWJ/CIKgmaZpqLU+JaK+M+9qOp1ev5qIS4KZF2manuy7751OJyCij0TUstYYxnE82ptIp9PpCyFucyGiked5164HjLLQyETT6XS8yyAAJ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fXS5NO3YkIsNKx50TUMSxUhAhATwhxVUZ07/TkdF23YVlWoEVNYCAVAQiZ+WOlUunvovr39givVqvRU54bP1CE/wGSDojAzK610QAAAABJRU5ErkJggg=="); }
.ico.email { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAIfSURBVFiF7ZdBjtowFIbf74YRy1SCfWaH4iC5uy7prsseAW4AJxjNCZgbQFftsjcYbjCphBG7pussSneIRHldTDwyjJmEAdRW4pOQ4uf4+Zd/O88QXbjwn4B9HVEU9YqiCE48X3x1dZXEcbyqFBKGYR/ADYBTizCsmPlWa31nB9/YjW63+wnAFwD+mUQQETUBfGy1Wj/TNI1N0LPfKIpiDDxbpG9EFO8GD4GZAwB9OwbghoimT23zoJTy8zz/5cjjXMq6SCmHAMauPs/z3pr9IkxwvV7bdsyYOSmffQBjKeVEKVXbMqWUL6Wc2CLKnDPXnIIcMHPSaDTeMfPUxAD0syx7CMNQVYnodDpBlmUPth3MPC1zJq4xTiFERHEcr7TWA2YeEdGqFBMIIe6llMN946SUQ8/zftinjplHWuuB69hWCjFore+KovhQZdU+K/I8v66zvyqFEBEtFov4JatesmK5XCaOlM/wql95pFzWgZTye3n0fAABgHshxNYmLq046JTVWhEbl1WWgNpWHC2EyG3VoVbsUtuaXYxVURR9JiLSWs9em+soIYb5fH6UAMOrrDkHFyG7/HtCms2mXQd655oQwFPRtOfcugVJKe1iNSOrZJ+IXvkjZk601temY+v4MvMtgMnuoHMghBjZ7a07a5qmcbvd/g3gPRE1zyGAmZOyFn21486/E0opf7PZBERUeQk6BCFEcqoP4IULf40/mooNos6ds6EAAAAASUVORK5CYII="); }
.search-icon { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAK4SURBVFiF7ZexbtswEIb/k2m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bu4PkGSE8TZsjU9QZ0TxD1BVVg2vFXdiiCDOofi6xAyYWTB+uM26OBvIinyvZ8o6r1H4KDXon0NCCEiAOh2u1kcx9mbgUgpQ6XUBMAAgAQQOo8XWuvP6/X65p+CnJycDJn5U8H5lpg5ZeaLJkB+3Yn9fv8MwDWArusQwBxADCAkohAAiCgkomGv18P9/f3XOvZr7YiBOHeG5gCukiRZFOYNAEwADB3Y6Wq1mu0NIoSIgiD44QydJ0ly0QA8U0p92Gw26a41XhWI7/tntk1EsyoIADBz5qYbdjqdSdWanSBSypCIxsDTeXh8fLyqMmillJoCyMzasZRy5wHfCZLn+cDpLqq219Vms0mZ+XlXlFKyNYjWOnK63+tCWBFRatvM3B6EiN45hhpHTa31zzJbjUHeUgeQog4gRf3/IEKIiJnHzxM9L21hP7YNZh7bIqpMpUlPCBH5vn9HRJExkq5Wq/ctQNDv97/hqYACM6d5np+WReitHSmDyPP8tA0EACilRqZuARFFvu/fleWdoDjQ6XQmzBzZPhHdeJ43OD4+bssCIrqBKQuIKDKl5qssvgWitQ6JXn2xc8/7u2fafVGrLQ/MXDvV7wGy5WPXYR2WJKohzMEjolkxERJRyMwfTTfGS3FkAX4z82K9XscoqGkVf2kdEdFouVzOC8+HzPzFgi6Xy2ld240+PjPf2rbW+tKNC0KISGt9WTa3jhpfsNy4YLTAU0k4gLnvtIk7W39NlZRSIzfOGABXWZu4U/uCZfXw8JAdHR3dmktUhJcLV0ZE10EQjJIk+dXU7t6SUoZVFfpBbfQHFzgcpAQnauwAAAAASUVORK5CYII="); }

.upload-btn .ico,
.search-submit .search-icon {
  filter: brightness(0) invert(1);
}

.hero-badges .mini-shield {
  background-image: url("../assets/icons/line-icons/shield-outline.png");
  filter: brightness(0) invert(1);
}

.hero-badges .mini-clock {
  background-image: url("../assets/icons/line-icons/clock-outline.png");
  filter: brightness(0) invert(1);
}

.industry-card .solution-icon,
.spec-card .metric-icon,
.spec-card .solution-icon {
  filter: brightness(0) invert(1);
}

.industry-card:nth-child(1) .solution-icon { background-image: url("../assets/icons/line-icons/settings-outline.png"); }
.industry-card:nth-child(2) .solution-icon { background-image: url("../assets/icons/line-icons/flash-outline.png"); }
.industry-card:nth-child(3) .solution-icon { background-image: url("../assets/icons/line-icons/droplet-outline.png"); }
.industry-card:nth-child(4) .solution-icon { background-image: url("../assets/icons/line-icons/activity-outline.png"); }
.industry-card:nth-child(5) .solution-icon { background-image: url("../assets/icons/line-icons/archive-outline.png"); }

.spec-card .metric-icon,
.spec-card .solution-icon {
  filter: brightness(0) saturate(100%) invert(18%) sepia(24%) saturate(1112%) hue-rotate(184deg) brightness(94%) contrast(91%);
}

.spec-card:nth-child(1) .metric-icon { background-image: url("../assets/icons/line-icons/file-text-outline.png"); }
.spec-card:nth-child(2) .metric-icon { background-image: url("../assets/icons/line-icons/image-outline.png"); }
.spec-card:nth-child(3) .metric-icon { background-image: url("../assets/icons/line-icons/grid-outline.png"); }
.spec-card:nth-child(4) .metric-icon { background-image: url("../assets/icons/line-icons/color-palette-outline.png"); }
.spec-card:nth-child(5) .solution-icon { background-image: url("../assets/icons/line-icons/layout-outline.png"); }

.footer-ico.user { background-image: url("../assets/icons/line-icons/person-outline.png"); }
.footer-ico.mail { background-image: url("../assets/icons/line-icons/email-outline.png"); }
.footer-ico.phone { background-image: url("../assets/icons/line-icons/phone-outline.png"); }
.footer-ico.globe { background-image: url("../assets/icons/line-icons/globe-outline.png"); }
.socials .qq { background-image: url("../assets/icons/line-icons/message-circle-outline.png"); }
.socials .wechat { background-image: url("../assets/icons/line-icons/message-square-outline.png"); }
.socials .weibo { background-image: url("../assets/icons/line-icons/paper-plane-outline.png"); }

.socials a {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background-color: transparent;
  background-position: center;
  background-size: 30px 30px;
  filter: none;
  opacity: 0.9;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.socials a:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.socials .wechat {
  background-image: url("../assets/site/wechat.png");
  background-color: transparent;
  background-position: center calc(50% - 1px);
  background-size: 29px auto;
}

.social-wechat {
  position: relative;
  display: flex;
}

.wechat-qr {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  z-index: 20;
  width: 132px;
  padding: 10px 10px 9px;
  border: 1px solid rgba(31, 55, 94, 0.1);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(27, 54, 96, 0.14);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.wechat-qr::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-right: 1px solid rgba(31, 55, 94, 0.1);
  border-bottom: 1px solid rgba(31, 55, 94, 0.1);
  transform: translate(-50%, -4px) rotate(45deg);
}

.wechat-qr img {
  display: block;
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.wechat-qr small {
  display: block;
  margin-top: 6px;
  color: #63728b;
  font-size: 11px;
  line-height: 1.4;
}

.social-wechat:hover .wechat-qr,
.social-wechat:focus-within .wechat-qr {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.socials .xiaohongshu {
  background-image: url("../assets/site/xiaohongshu.png");
}

.socials .bilibili {
  background-image: url("../assets/site/bilibili.png");
}

.quick-card .metric-icon {
  filter: none;
}
/* Shared shell color ownership. */
.brand strong,
.nav-item,
.sidebar-footer a,
.footer-links h3,
.footer-contact h3,
.footer-follow h3 {
  color: #1e2b46;
}

.nav-item:hover,
.nav-item.active,
.sidebar-footer a:hover,
.sidebar-footer a.active {
  color: var(--blue);
}

.sidebar .nav-item .ico,
.sidebar .sidebar-footer a .ico {
  filter: none;
}

.sidebar .nav-item:hover .ico,
.sidebar .nav-item.active .ico,
.sidebar .sidebar-footer a:hover .ico,
.sidebar .sidebar-footer a.active .ico {
  filter: brightness(0) saturate(100%) invert(34%) sepia(96%) saturate(3419%) hue-rotate(212deg) brightness(97%) contrast(99%);
}

/* Shared user popup styles migrated from legacy styles.css. */
.user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  width: 326px;
  padding: 16px;
  border: 1px solid #edf2fa;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(20, 48, 92, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.user-menu::before {
  content: "";
  position: absolute;
  right: 28px;
  top: -8px;
  width: 16px;
  height: 16px;
  border-left: 1px solid #edf2fa;
  border-top: 1px solid #edf2fa;
  background: rgba(255, 255, 255, 0.98);
  transform: rotate(45deg);
}

.profile-wrap.is-open .user-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.user-menu-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  margin-bottom: 12px;
}

.user-menu-head img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
}

.user-menu-head h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 5px;
  color: #12203e;
  font-size: 14px;
  line-height: 1.2;
}

.user-menu-head h3 b {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 11px;
  color: #8a5c10;
  background: #fff2d8;
  font-size: 11px;
  font-weight: 700;
}

.user-menu-head p {
  margin: 0;
  overflow: hidden;
  color: #6f7f9b;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.user-menu-head > a {
  justify-self: end;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #60708f;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.user-menu-head > a i,
.user-menu-item i,
.wallet-card em::after {
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.user-wallet {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.wallet-card {
  min-height: 58px;
  position: relative;
  padding: 11px 12px;
  overflow: hidden;
  border: 1px solid #edf3fb;
  border-radius: 7px;
  background: #f6f9ff;
}

.wallet-card::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  opacity: 0.12;
  border-radius: 10px;
  background: #1265ff;
}

.wallet-card.points {
  background: #fff8ed;
}

.wallet-card.points::after {
  background: #f6a21a;
  clip-path: polygon(50% 0, 62% 32%, 96% 35%, 70% 56%, 79% 90%, 50% 70%, 21% 90%, 30% 56%, 4% 35%, 38% 32%);
}

.wallet-card span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #253554;
  font-size: 11px;
  font-weight: 700;
}

.wallet-card span i {
  width: 13px;
  height: 13px;
  display: inline-grid;
  place-items: center;
  border: 1.5px solid #7f8da7;
  border-radius: 50%;
}

.wallet-card span i::before {
  content: "?";
  font-size: 9px;
  line-height: 1;
}

.wallet-card strong {
  display: block;
  margin-top: 7px;
  color: #172542;
  font-size: 17px;
  line-height: 1;
}

.wallet-card em {
  position: absolute;
  right: 12px;
  bottom: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1265ff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.wallet-card.points em {
  color: #ed8a00;
}

.wallet-card em::after {
  content: "";
}

.checkin-card {
  min-height: 54px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  padding: 9px 10px;
  border: 1px solid #dce9ff;
  border-radius: 7px;
  background: #f4f8ff;
}

.checkin-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #e3eeff url("../assets/icons/line-icons/calendar-outline.png") center / 16px no-repeat;
  filter: none;
}

.checkin-card strong {
  display: block;
  color: #21304e;
  font-size: 12px;
  line-height: 1.2;
}

.checkin-card small {
  display: block;
  margin-top: 4px;
  color: #7a89a3;
  font-size: 10px;
  white-space: nowrap;
}

.checkin-card small b {
  color: #1265ff;
}

.checkin-card button {
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  color: #ffffff;
  background: #1265ff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.checkin-card button:hover {
  background: #0758e8;
}

.checkin-card.is-checked {
  border-color: #dce8df;
  background: #f5faf6;
}

.checkin-card.is-checked .checkin-icon {
  background-color: #e4f4e8;
  background-image: url("../assets/icons/line-icons/checkmark-circle-outline.png");
}

.checkin-card button:disabled {
  color: #66806d;
  background: #e3eee6;
  cursor: default;
}

.user-menu-list {
  display: grid;
  gap: 0;
  padding: 6px 0;
  border-top: 1px solid #edf2fa;
}

.user-menu-list:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.user-menu-item {
  min-height: 32px;
  width: 100%;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 10px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #21304e;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.user-menu-list.single .user-menu-item {
  grid-template-columns: 22px minmax(0, 1fr);
}

.user-menu-item i {
  justify-self: end;
  color: #7b8aa5;
}

.user-menu-item:hover {
  color: #1265ff;
}

.user-menu-ico {
  width: 16px;
  height: 16px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: brightness(0) saturate(100%) invert(18%) sepia(24%) saturate(1112%) hue-rotate(184deg) brightness(94%) contrast(91%);
}

.user-menu-ico.heart { background-image: url("../assets/icons/line-icons/heart-outline.png"); }
.user-menu-ico.star { background-image: url("../assets/icons/line-icons/star-outline.png"); }
.user-menu-ico.download { background-image: url("../assets/icons/line-icons/download-outline.png"); }
.user-menu-ico.file { background-image: url("../assets/icons/line-icons/file-text-outline.png"); }
.user-menu-ico.invoice { background-image: url("../assets/icons/line-icons/file-outline.png"); }
.user-menu-ico.settings { background-image: url("../assets/icons/line-icons/settings-outline.png"); }
.user-menu-ico.logout { background-image: url("../assets/icons/line-icons/log-out-outline.png"); }

.profile-wrap.is-open > .user-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* User center panel, redesigned from the latest mockup. */
.profile-wrap .user-menu {
  right: -10px;
  top: calc(100% + 10px);
  width: min(480px, calc(100vw - 48px));
  max-height: calc(100vh - 84px);
  padding: 14px;
  overflow: visible;
  border: 1px solid rgba(224, 232, 246, 0.86);
  border-radius: 14px;
  background:
    radial-gradient(circle at 10% 8%, rgba(132, 166, 255, 0.18), transparent 26%),
    radial-gradient(circle at 92% 8%, rgba(217, 244, 255, 0.34), transparent 24%),
    linear-gradient(145deg, #ffffff, #fbfdff 76%, #f7faff);
  box-shadow: 0 14px 36px rgba(31, 52, 88, 0.13);
  overflow-y: auto;
}

.profile-wrap .user-menu::before {
  right: 36px;
  top: -7px;
  width: 14px;
  height: 14px;
  border-color: rgba(219, 229, 248, 0.9);
  background: rgba(255, 255, 255, 0.98);
}

.user-hero {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 152px;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.user-avatar-orbit {
  width: 62px;
  height: 62px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(from 15deg, rgba(72, 124, 255, 0.9), transparent 30%, rgba(255, 255, 255, 0.9) 62%, rgba(72, 124, 255, 0.26));
}

.user-avatar-orbit::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 0 24px rgba(81, 132, 255, 0.12);
}

.user-avatar-orbit img {
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
}

.user-avatar-orbit i {
  width: 20px;
  height: 20px;
  position: absolute;
  right: 5px;
  bottom: 5px;
  z-index: 2;
  border-radius: 7px;
  background: linear-gradient(145deg, #91c8ff, #4a75ff);
  box-shadow: 0 8px 18px rgba(64, 112, 238, 0.28);
}

.user-avatar-orbit i::before {
  content: "";
  position: absolute;
  inset: 5px;
  background: #ffffff;
  clip-path: polygon(50% 0, 62% 33%, 98% 35%, 70% 56%, 80% 92%, 50% 72%, 20% 92%, 30% 56%, 2% 35%, 38% 33%);
}

.orbit-star {
  width: 14px;
  height: 14px;
  position: absolute;
  left: 3px;
  top: 4px;
  z-index: 2;
  background: radial-gradient(circle, #fff 0 18%, rgba(255, 255, 255, 0) 22%);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
}

.orbit-star::before,
.orbit-star::after {
  content: "";
  position: absolute;
  inset: 2px 6px;
  border-radius: 999px;
  background: #ffffff;
}

.orbit-star::after {
  transform: rotate(90deg);
}

.user-identity h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 6px;
  color: #14203c;
  font-size: 18px;
  line-height: 1;
}

.user-identity h3 b {
  height: 20px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 10px;
  color: #9d6611;
  background: linear-gradient(180deg, #fff3d5, #ffe4aa);
  font-size: 11px;
  font-weight: 800;
}

.user-identity p {
  margin: 0 0 6px;
  color: #63738f;
  font-size: 12px;
}

.user-identity blockquote {
  position: relative;
  margin: 0;
  padding: 0 16px;
  color: #73819c;
  font-size: 12px;
  line-height: 1.45;
}

.user-identity blockquote::before,
.user-identity blockquote::after {
  position: absolute;
  top: -4px;
  color: rgba(73, 116, 255, 0.24);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.user-identity blockquote::before {
  content: "\201c";
  left: 0;
}

.user-identity blockquote::after {
  content: "\201d";
  right: 0;
}

.user-exp-card {
  min-height: 96px;
  position: relative;
  padding: 13px 14px;
  overflow: hidden;
  border: 1px solid rgba(229, 234, 250, 0.88);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(84, 95, 130, 0.07);
}

.user-exp-card::after {
  content: "";
  width: 42px;
  height: 42px;
  position: absolute;
  right: 12px;
  top: 14px;
  background: linear-gradient(145deg, #c79aff, #774bff);
  clip-path: polygon(50% 0, 92% 25%, 92% 75%, 50% 100%, 8% 75%, 8% 25%);
  filter: drop-shadow(0 12px 18px rgba(112, 76, 230, 0.28));
}

.user-exp-card::before {
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  right: 24px;
  top: 26px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.96);
  clip-path: polygon(50% 0, 62% 33%, 98% 35%, 70% 56%, 80% 92%, 50% 72%, 20% 92%, 30% 56%, 2% 35%, 38% 33%);
}

.user-exp-card span {
  color: #586982;
  font-size: 12px;
  font-weight: 800;
}

.user-exp-card strong {
  display: block;
  margin: 6px 0 6px;
  color: #754cff;
  font-size: 20px;
  line-height: 1;
}

.user-exp-card strong em {
  margin-left: 5px;
  color: #baa5ff;
  font-size: 12px;
  font-style: normal;
}

.user-exp-card p {
  margin: 0 0 10px;
  color: #687894;
  font-size: 12px;
  font-weight: 700;
}

.user-exp-card p b {
  margin-right: 12px;
  color: #273858;
}

.exp-progress {
  height: 6px;
  position: relative;
  border-radius: 3px;
  background: #ecebfd;
}

.exp-progress i {
  width: 72%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #764cff, #b18cff);
}

.exp-progress small {
  position: absolute;
  right: 0;
  top: -18px;
  color: #677893;
  font-size: 12px;
  font-weight: 800;
}

.profile-wrap .user-wallet {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid rgba(226, 233, 248, 0.95);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(61, 80, 120, 0.06);
}

.profile-wrap .wallet-card {
  min-height: 66px;
  padding: 13px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.profile-wrap .wallet-card + .wallet-card {
  border-left: 1px solid #e2e9f5;
}

.profile-wrap .wallet-card span {
  color: #41516f;
  font-size: 12px;
  font-weight: 800;
}

.profile-wrap .wallet-card strong {
  margin-top: 7px;
  font-size: 20px;
}

.profile-wrap .wallet-card.balance strong {
  color: #2e67ff;
}

.profile-wrap .wallet-card.points strong {
  color: #ff850f;
}

.profile-wrap .wallet-card::after {
  width: 54px;
  height: 54px;
  right: 38px;
  top: 22px;
  opacity: 0.12;
}

.wallet-visual,
.gift-visual {
  width: 42px;
  height: 42px;
  position: absolute;
  right: 24px;
  bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(145deg, #edf8ff, #b7dcff);
  box-shadow: 0 10px 18px rgba(66, 141, 255, 0.12);
}

.wallet-visual::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 13px;
  width: 25px;
  height: 17px;
  border: 2px solid #1782ff;
  border-radius: 6px;
  background: transparent;
  -webkit-mask: none;
  mask: none;
}

.wallet-visual::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 18px;
  width: 19px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: #1782ff;
}

.gift-visual {
  background: linear-gradient(145deg, #fff4cf, #ffbf54);
}

.gift-visual::before,
.gift-visual::after {
  content: "";
  position: absolute;
  background: #f28a00;
}

.gift-visual::before {
  left: 10px;
  top: 17px;
  width: 22px;
  height: 16px;
  border: 2px solid #f28a00;
  border-radius: 5px;
  background: transparent;
  -webkit-mask: none;
  mask: none;
}

.gift-visual::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 10px;
  width: 16px;
  height: 9px;
  display: block;
  border: 2px solid #f28a00;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(90deg, transparent 0 7px, #f28a00 7px 9px, transparent 9px),
    transparent;
}

.profile-wrap .wallet-card em {
  right: 60px;
  top: 14px;
  z-index: 2;
  bottom: auto;
  color: #ba7a15;
  font-size: 12px;
}

.profile-wrap .checkin-card {
  min-height: 76px;
  grid-template-columns: 48px minmax(0, 1fr) 112px;
  gap: 16px;
  margin-bottom: 16px;
  padding: 14px 22px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(100deg, #4f78ff, #c8bfff);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(104, 123, 238, 0.2);
}

.profile-wrap .checkin-icon {
  width: 46px;
  height: 46px;
  position: relative;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92) url("../assets/icons/line-icons/checkmark-circle-outline.png") center / 32px no-repeat;
  box-shadow: 0 10px 18px rgba(73, 91, 188, 0.2);
}

.profile-wrap .checkin-card strong {
  color: #ffffff;
  font-size: 15px;
}

.profile-wrap .checkin-card small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
}

.profile-wrap .checkin-card small b {
  color: #ffffff;
}

.profile-wrap .checkin-card small i {
  width: 1px;
  height: 14px;
  display: inline-block;
  margin: 0 14px;
  vertical-align: -2px;
  background: rgba(255, 255, 255, 0.45);
}

.profile-wrap .checkin-card button {
  height: 38px;
  border-radius: 19px;
  color: #2d66ff;
  background: #ffffff;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(76, 82, 190, 0.18);
}

.profile-wrap .checkin-card button:disabled {
  color: #6a7a9a;
  background: rgba(255, 255, 255, 0.72);
}

.user-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 34px;
}

.user-action-card {
  min-height: 160px;
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  overflow: hidden;
  border: 1px solid #edf2fa;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(46, 68, 110, 0.06);
}

.user-action-card strong {
  color: #172542;
  font-size: 18px;
}

.user-action-card small {
  color: #6d7b94;
  font-size: 14px;
}

.user-action-icon {
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: linear-gradient(145deg, #cfe6ff, #4b7cff);
  box-shadow: 0 10px 18px rgba(75, 124, 255, 0.18);
}

.user-action-icon.resource { background-image: url("../assets/icons/line-icons/cloud-upload-outline.png"); }
.user-action-icon.favorite { background-image: url("../assets/icons/line-icons/heart-outline.png"); }
.user-action-icon.order { background-image: url("../assets/icons/line-icons/clipboard-outline.png"); }
.user-action-icon.achievement { background-image: url("../assets/icons/line-icons/award-outline.png"); }

.user-action-icon {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px;
  filter: none;
}

.user-action-icon::before {
  display: none;
}

.new-badge {
  position: absolute;
  right: 0;
  top: 0;
  padding: 6px 9px;
  border-radius: 0 14px 0 10px;
  color: #ffffff;
  background: #ff4141;
  font-size: 12px;
  font-weight: 800;
}

.user-menu-foot {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 26px;
  border-radius: 15px;
  background: rgba(246, 249, 255, 0.9);
}

.user-tip {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-tip span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff4cf url("../assets/icons/line-icons/bulb-outline.png") center / 24px no-repeat;
}

.user-tip p {
  margin: 0;
  color: #73819c;
  font-size: 14px;
}

.user-tip strong {
  display: block;
  margin-bottom: 4px;
  color: #273858;
  font-size: 15px;
}

.logout-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: #5d6f8b;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.logout-action i {
  width: 18px;
  height: 18px;
  background: url("../assets/icons/line-icons/log-out-outline.png") center / contain no-repeat;
}

.profile-wrap .checkin-icon {
  background: rgba(255, 255, 255, 0.92) !important;
}

.profile-wrap .checkin-icon::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 11px;
  width: 20px;
  height: 20px;
  display: block;
  border: 2px solid #236dff;
  border-radius: 50%;
  background: transparent;
  -webkit-mask: none;
  mask: none;
}

.profile-wrap .checkin-icon::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 10px;
  height: 6px;
  border-left: 2px solid #236dff;
  border-bottom: 2px solid #236dff;
  transform: rotate(-45deg);
}

.user-action-grid {
  gap: 14px;
  margin-bottom: 18px;
}

.user-action-card {
  min-height: 112px;
  gap: 9px;
  border-color: rgba(226, 234, 248, 0.88);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(46, 68, 110, 0.05);
}

.user-action-card strong {
  font-size: 15px;
}

.user-action-card small {
  font-size: 12px;
}

.user-action-icon {
  width: 42px;
  height: 42px;
  position: relative;
  border-radius: 14px;
  background: linear-gradient(145deg, #f0f8ff, #cde6ff) !important;
  background-image: linear-gradient(145deg, #f0f8ff, #cde6ff) !important;
  background-color: #cde6ff;
  box-shadow: 0 8px 14px rgba(75, 124, 255, 0.14);
}

.user-action-icon::before {
  content: "";
  position: absolute;
  inset: 8px;
  display: block;
  background: #116dff;
  -webkit-mask: none;
  mask: none;
}

.user-action-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.user-action-icon.resource::before {
  left: 11px;
  top: 17px;
  width: 20px;
  height: 12px;
  inset: auto;
  border: 2px solid #116dff;
  border-radius: 9px;
  background: transparent;
}

.user-action-icon.resource::after {
  left: 19px;
  top: 12px;
  width: 7px;
  height: 13px;
  border-left: 2px solid #116dff;
  border-top: 2px solid #116dff;
  transform: rotate(45deg);
}

.user-action-icon.favorite::before {
  left: 14px;
  top: 14px;
  width: 14px;
  height: 14px;
  inset: auto;
  border-radius: 4px 4px 2px 4px;
  background: #116dff;
  transform: rotate(-45deg);
}

.user-action-icon.favorite::after {
  left: 13px;
  top: 11px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #116dff;
  box-shadow: 8px 0 0 #116dff;
}

.user-action-icon.order::before {
  left: 13px;
  top: 13px;
  width: 16px;
  height: 20px;
  inset: auto;
  border: 2px solid #116dff;
  border-radius: 5px;
  background: transparent;
}

.user-action-icon.order::after {
  left: 17px;
  top: 10px;
  width: 8px;
  height: 5px;
  border: 2px solid #116dff;
  border-radius: 4px;
  background: #e4f2ff;
}

.user-action-icon.achievement::before {
  left: 13px;
  top: 10px;
  width: 16px;
  height: 16px;
  inset: auto;
  border: 2px solid #116dff;
  border-radius: 50%;
  background: transparent;
}

.user-action-icon.achievement::after {
  left: 16px;
  top: 25px;
  width: 9px;
  height: 12px;
  background: linear-gradient(135deg, #116dff 0 50%, transparent 50%),
    linear-gradient(225deg, #116dff 0 50%, transparent 50%);
  background-size: 50% 100%;
  background-position: left top, right top;
  background-repeat: no-repeat;
}

.profile-wrap .checkin-icon,
.wallet-visual,
.gift-visual,
.user-action-icon,
.user-tip span,
.logout-action i {
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

.profile-wrap .checkin-icon::before,
.profile-wrap .checkin-icon::after,
.wallet-visual::before,
.wallet-visual::after,
.gift-visual::before,
.gift-visual::after,
.user-action-icon::before,
.user-action-icon::after,
.user-tip span::before {
  content: none !important;
  display: none !important;
}

.profile-wrap .checkin-icon {
  background-image: url("../assets/icons/glass-icons/Tick.png") !important;
  background-color: transparent !important;
  box-shadow: none;
}

.wallet-visual {
  width: 52px;
  height: 52px;
  right: 18px;
  bottom: 14px;
  border-radius: 0;
  background-image: url("../assets/icons/glass-icons/Wallet.png") !important;
  background-color: transparent;
  box-shadow: none;
}

.gift-visual {
  width: 52px;
  height: 52px;
  right: 18px;
  bottom: 14px;
  border-radius: 0;
  background-image: url("../assets/icons/glass-icons/Discount.png") !important;
  background-color: transparent;
  box-shadow: none;
}

.user-action-icon {
  width: 46px;
  height: 46px;
  border-radius: 0;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none;
}

.user-action-icon.resource {
  background-image: url("../assets/icons/glass-icons/Paper Plus.png") !important;
}

.user-action-icon.favorite {
  background-image: url("../assets/icons/glass-icons/Heart.png") !important;
}

.user-action-icon.order {
  background-image: url("../assets/icons/glass-icons/Document.png") !important;
}

.user-action-icon.achievement {
  background-image: url("../assets/icons/glass-icons/Star.png") !important;
}

.user-tip span {
  background-image: url("../assets/icons/glass-icons/Info.png") !important;
  background-color: transparent !important;
}

.logout-action i {
  background-image: url("../assets/icons/line-icons/log-out-outline.png") !important;
  background-color: transparent;
  -webkit-mask: none;
  mask: none;
}

.profile-wrap .wallet-card::after {
  display: none;
}

.profile-wrap .user-menu {
  top: calc(100% + 10px);
  width: min(540px, calc(100vw - 56px));
  padding: 20px 22px;
  border-radius: 16px;
}

.profile-wrap .user-menu::before {
  right: 36px;
  top: -7px;
  width: 14px;
  height: 14px;
}

.user-hero {
  grid-template-columns: 86px minmax(0, 1fr) 180px;
  gap: 14px;
  margin-bottom: 16px;
}

.user-avatar-orbit {
  width: 78px;
  height: 78px;
}

.user-avatar-orbit::before {
  inset: 7px;
}

.user-avatar-orbit img {
  width: 56px;
  height: 56px;
  border-width: 4px;
}

.user-avatar-orbit i {
  width: 24px;
  height: 24px;
  right: 7px;
  bottom: 7px;
  border-radius: 9px;
}

.user-identity h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.user-identity p {
  margin-bottom: 8px;
  font-size: 13px;
}

.user-identity blockquote {
  font-size: 13px;
}

.user-exp-card {
  min-height: 114px;
  padding: 18px 18px;
}

.user-exp-card strong {
  font-size: 24px;
}

.profile-wrap .wallet-card {
  min-height: 86px;
  padding: 18px 22px;
}

.profile-wrap .wallet-card strong {
  margin-top: 10px;
  font-size: 24px;
}

.profile-wrap .wallet-card em {
  right: 76px;
  top: 18px;
}

.wallet-visual,
.gift-visual {
  width: 52px;
  height: 52px;
  right: 20px;
  bottom: 14px;
}

.profile-wrap .checkin-card {
  min-height: 68px;
  grid-template-columns: 46px minmax(0, 1fr) 112px;
  gap: 14px;
  margin-bottom: 14px;
  padding: 13px 20px;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(104, 123, 238, 0.16);
}

.profile-wrap .checkin-icon {
  width: 42px;
  height: 42px;
}

.profile-wrap .checkin-card strong {
  font-size: 15px;
}

.profile-wrap .checkin-card small {
  margin-top: 6px;
  font-size: 12px;
}

.profile-wrap .checkin-card small i {
  height: 12px;
  margin: 0 10px;
}

.profile-wrap .checkin-card button {
  height: 38px;
  border-radius: 19px;
  font-size: 14px;
}

.user-action-grid {
  gap: 14px;
  margin-bottom: 18px;
}

.user-action-card {
  min-height: 112px;
  gap: 9px;
  border-radius: 12px;
}

.user-action-icon {
  width: 44px;
  height: 44px;
}

.user-action-card strong {
  font-size: 15px;
}

.user-action-card small {
  font-size: 12px;
}

.user-menu-foot {
  min-height: 56px;
  padding: 12px 18px;
  border-radius: 13px;
}

.user-tip {
  gap: 8px;
}

.user-tip span {
  width: 34px;
  height: 34px;
}

.user-tip p {
  font-size: 12px;
}

.user-tip strong {
  font-size: 12px;
}

.logout-action {
  font-size: 12px;
}

.new-badge {
  padding: 4px 7px;
  border-radius: 0 12px 0 9px;
  font-size: 10px;
}

.user-menu-foot {
  min-height: 54px;
  padding: 12px 18px;
  border-radius: 13px;
  background: #f8fbff;
}

.user-tip {
  gap: 10px;
}

.user-tip span {
  width: 32px;
  height: 32px;
  position: relative;
  background: #fff4cf !important;
}

.user-tip span::before {
  content: "";
  position: absolute;
  inset: 7px;
  background: #e2a12b;
  -webkit-mask: url("../assets/icons/line-icons/bulb-outline.png") center / contain no-repeat;
  mask: url("../assets/icons/line-icons/bulb-outline.png") center / contain no-repeat;
}

.user-tip p {
  font-size: 12px;
}

.user-tip strong {
  margin-bottom: 2px;
  font-size: 13px;
}

.logout-action {
  gap: 7px;
  font-size: 13px;
}

.logout-action i {
  width: 16px;
  height: 16px;
  background: #65758f;
  -webkit-mask: url("../assets/icons/line-icons/log-out-outline.png") center / contain no-repeat;
  mask: url("../assets/icons/line-icons/log-out-outline.png") center / contain no-repeat;
}

@media (max-width: 900px) {
  .profile-wrap .user-menu {
    right: 0;
    width: min(620px, calc(100vw - 32px));
    padding: 18px;
  }

  .user-hero {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .user-exp-card {
    grid-column: 1 / -1;
  }

  .profile-wrap .checkin-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .profile-wrap .checkin-card button {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .user-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.profile-wrap .user-menu {
  width: min(540px, calc(100vw - 56px));
}

.profile-wrap .user-menu {
  width: min(375px, calc(100vw - 48px));
  padding: 16px 18px;
}

.profile-wrap .user-menu .user-hero {
  grid-template-columns: 118px minmax(0, 1fr);
  min-height: 112px;
  margin-bottom: 10px;
}

.user-avatar-orbit {
  width: 112px;
  height: 118px;
  margin-left: 2px;
}

.user-avatar-orbit::before {
  inset: 12px;
}

.user-avatar-orbit img {
  width: 70px;
  height: 70px;
  border-width: 5px;
}

.user-avatar-orbit i {
  width: 30px;
  height: 30px;
  right: 8px;
  bottom: 12px;
}

.orbit-star {
  left: -1px;
  top: 2px;
}

.profile-wrap .wallet-card {
  min-height: 76px;
  padding: 14px 18px;
}

.profile-wrap .user-wallet {
  margin-top: -4px;
  margin-bottom: 10px;
}

.profile-wrap .checkin-card {
  min-height: 62px;
  margin-bottom: 10px;
  padding: 10px 16px;
}

.user-action-card {
  min-height: 98px;
}

.user-action-grid {
  margin-bottom: 12px;
}

.user-menu-foot {
  min-height: 46px;
  padding: 8px 14px;
}

.user-avatar-orbit {
  background: url("../assets/user-popup/avatar-badge.png") center / contain no-repeat !important;
}

.user-avatar-orbit::before,
.user-avatar-orbit img,
.user-avatar-orbit i,
.orbit-star {
  display: none !important;
}

.user-exp-card::after {
  width: 62px;
  height: 72px;
  right: 14px;
  top: 12px;
  background: url("../assets/user-popup/exp-badge.png") center / contain no-repeat !important;
  clip-path: none;
  filter: none;
}

.user-exp-card::before {
  display: none;
}

.profile-wrap .wallet-card::after,
.profile-wrap .checkin-icon::before,
.profile-wrap .checkin-icon::after,
.wallet-visual::before,
.wallet-visual::after,
.gift-visual::before,
.gift-visual::after,
.user-action-icon::before,
.user-action-icon::after,
.user-tip span::before {
  content: none !important;
  display: none !important;
}

.profile-wrap .checkin-icon,
.wallet-visual,
.gift-visual,
.user-action-icon,
.user-tip span {
  background-color: transparent !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  box-shadow: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}

.wallet-visual {
  width: 68px;
  height: 54px;
  right: 28px;
  bottom: 15px;
  background-image: url("../assets/user-popup/wallet.png") !important;
}

.gift-visual {
  width: 82px;
  height: 64px;
  right: 4px;
  bottom: 6px;
  background-image: url("../assets/user-popup/gift.png") !important;
}

.profile-wrap .checkin-icon {
  width: 56px;
  height: 52px;
  background-image: url("../assets/user-popup/checkin-calendar.png") !important;
}

.user-action-icon {
  width: 44px;
  height: 44px;
  background-image: none !important;
}

.user-action-icon.resource {
  background-image: url("../assets/user-popup/action-upload.png") !important;
}

.user-action-icon.favorite {
  background-image: url("../assets/user-popup/action-heart.png") !important;
}

.user-action-icon.order {
  background-image: url("../assets/user-popup/action-order.png") !important;
}

.user-action-icon.achievement {
  background-image: url("../assets/user-popup/action-achievement.png") !important;
}

.user-tip span {
  width: 34px;
  height: 34px;
  background-image: url("../assets/user-popup/tip-bulb.png") !important;
}

.logout-action i {
  background-image: url("../assets/icons/line-icons/log-out-outline.png") !important;
  background-color: transparent !important;
  -webkit-mask: none !important;
  mask: none !important;
}

.user-hero {
  grid-template-columns: 108px minmax(0, 1fr) 180px;
  align-items: center;
}

.profile-wrap .user-menu .user-hero {
  grid-template-columns: 108px minmax(0, 1fr);
  min-height: 106px;
  margin-bottom: 14px;
  padding-right: 10px;
}

.profile-wrap .user-menu .user-identity {
  align-self: center;
}

.user-avatar-orbit {
  width: 102px;
  height: 112px;
  margin-left: -4px;
}

.user-exp-card {
  min-height: 126px;
  padding: 18px 18px 16px;
}

.user-exp-card::after {
  width: 58px;
  height: 68px;
  right: 12px;
  top: 13px;
}

.user-exp-card strong {
  margin: 7px 0 7px;
  font-size: 24px;
}

.user-exp-card p {
  max-width: 104px;
  margin-bottom: 20px;
  font-size: 11px;
  line-height: 1.1;
  white-space: nowrap;
}

.user-exp-card p b {
  margin-right: 8px;
}

.exp-progress small {
  top: -17px;
  font-size: 11px;
}

.user-identity blockquote {
  padding: 0 12px;
  font-size: 12px;
  white-space: nowrap;
}

.user-identity blockquote::before,
.user-identity blockquote::after {
  font-size: 20px;
}

/* Final pass: match the recut popup assets and reference typography scale. */
.user-avatar-orbit {
  width: 94px;
  height: 102px;
}

.user-identity h3 {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 800;
}

.user-identity h3 b {
  height: 20px;
  padding: 0 9px;
  font-size: 11px;
}

.user-identity p {
  margin-bottom: 6px;
  font-size: 12px;
}

.user-identity {
  align-self: center;
}

.user-identity p:last-child {
  margin-bottom: 0;
}

.user-identity blockquote {
  padding: 0 10px;
  font-size: 11px;
}

.user-exp-card span {
  font-size: 11px;
}

.user-exp-card strong {
  font-size: 22px;
}

.user-exp-card strong em {
  font-size: 11px;
}

.user-exp-card p,
.exp-progress small {
  font-size: 10px;
}

.user-exp-card::after {
  width: 60px;
  height: 67px;
  right: 13px;
  top: 14px;
}

.user-exp-card {
  min-height: 108px;
  padding: 28px 18px 16px;
}

.user-exp-card span,
.user-exp-card strong em {
  display: none;
}

.user-exp-card strong {
  margin: 0 0 8px;
  color: #754cff;
  font-size: 30px;
  line-height: 1;
}

.user-exp-card p {
  max-width: 116px;
  margin: 0 0 26px;
  color: #667692;
  font-size: 12px;
  line-height: 1.1;
}

.user-exp-card p b {
  margin-right: 8px;
  color: #203250;
}

.user-exp-card::after {
  width: 58px;
  height: 64px;
  right: 14px;
  top: 18px;
}

.exp-progress {
  width: calc(100% - 10px);
}

.exp-progress small {
  top: -17px;
  right: 6px;
  color: #687895;
  font-size: 11px;
}

.profile-wrap .wallet-card span {
  font-size: 12px;
}

.profile-wrap .wallet-card strong {
  margin-top: 12px;
  font-size: 20px;
}

.profile-wrap .wallet-card em {
  right: 18px;
  top: 10px;
  z-index: 3;
  font-size: 11px;
}

.wallet-visual {
  width: 58px;
  height: 52px;
  right: 12px;
  bottom: 8px;
}

.gift-visual {
  width: 66px;
  height: 56px;
  right: 22px;
  bottom: -3px;
}

.profile-wrap .checkin-icon {
  width: 48px;
  height: 48px;
}

.profile-wrap .checkin-card strong {
  font-size: 14px;
}

.profile-wrap .checkin-card small {
  font-size: 11px;
}

.profile-wrap .checkin-card button {
  font-size: 13px;
}

.user-action-icon {
  width: 34px;
  height: 34px;
  transform: translateY(3px);
}

.user-action-card strong {
  font-size: 13px;
}

.user-action-card small {
  font-size: 11px;
}

.user-tip span {
  width: 28px;
  height: 32px;
}

.user-tip strong {
  font-size: 11px;
}

.user-tip p,
.logout-action {
  font-size: 11px;
}

.user-avatar-orbit {
  width: 92px;
  height: 96px;
  position: relative;
  display: grid !important;
  place-items: center;
  margin-left: 8px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.98) 0 43%, rgba(226, 239, 255, 0.72) 44% 57%, transparent 58%),
    conic-gradient(from 320deg, transparent 0 16%, rgba(96, 139, 255, 0.9) 17% 35%, transparent 36% 100%) !important;
}

.user-avatar-orbit::before {
  content: "";
  position: absolute;
  inset: 11px;
  display: block !important;
  border: 1px solid rgba(112, 159, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 0 20px rgba(76, 128, 255, 0.08);
}

.user-avatar-orbit img {
  width: 58px;
  height: 58px;
  position: relative;
  z-index: 1;
  display: block !important;
  border: 4px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
}

.user-avatar-orbit i {
  width: 26px;
  height: 26px;
  position: absolute;
  right: 7px;
  bottom: 12px;
  z-index: 2;
  display: block !important;
  border-radius: 0;
  background: url("../assets/user-popup/avatar-sparkle.png") center / contain no-repeat !important;
  box-shadow: none;
}

.user-avatar-orbit i::before,
.orbit-star::before,
.orbit-star::after {
  display: none !important;
}

.orbit-star {
  width: 28px;
  height: 36px;
  position: absolute;
  left: -2px;
  top: 3px;
  z-index: 2;
  display: block !important;
  background: url("../assets/user-popup/avatar-sparkle.png") center / contain no-repeat !important;
  filter: none;
}

.user-avatar-orbit {
  margin-left: 4px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.98) 0 43%, rgba(226, 239, 255, 0.62) 44% 56%, transparent 57%),
    conic-gradient(from 326deg, transparent 0 18%, rgba(96, 139, 255, 0.86) 19% 31%, transparent 32% 100%) !important;
}

.wallet-visual {
  right: 20px;
  bottom: 12px;
}

.user-action-icon {
  transform: translateY(1px);
}

.user-tip {
  gap: 7px;
}

.user-tip span {
  margin-left: -2px;
}

/* Final user popup compact sizing overrides. */
.profile-wrap .user-menu {
  width: min(360px, calc(100vw - 48px));
  padding: 16px 18px;
}

.profile-wrap .user-menu .user-hero {
  grid-template-columns: 122px minmax(0, 1fr);
  min-height: 112px;
  margin-bottom: 10px;
}

.profile-wrap .user-menu .user-avatar-orbit {
  width: 112px;
  height: 118px;
  margin-left: 2px;
}

.profile-wrap .user-menu .user-avatar-orbit::before {
  inset: 12px;
}

.profile-wrap .user-menu .user-avatar-orbit img {
  width: 70px;
  height: 70px;
  border-width: 5px;
}

.profile-wrap .user-menu .user-avatar-orbit i {
  width: 30px;
  height: 30px;
  right: 8px;
  bottom: 12px;
}

/* Final user popup height compression. */
.profile-wrap .user-menu {
  padding: 16px 14px;
}

.profile-wrap .user-menu .user-hero {
  grid-template-columns: 104px minmax(0, 1fr);
  min-height: 92px;
  margin-bottom: 4px;
}

.profile-wrap .user-menu .user-avatar-orbit {
  width: 96px;
  height: 92px;
}

.profile-wrap .user-menu .user-avatar-orbit::before {
  inset: 10px;
}

.profile-wrap .user-menu .user-avatar-orbit img {
  width: 72px;
  height: 72px;
}

.profile-wrap .user-menu .user-avatar-orbit i {
  width: 27px;
  height: 27px;
  right: 3px;
  bottom: 7px;
}

.profile-wrap .user-wallet {
  margin-bottom: 10px;
}

.profile-wrap .wallet-card {
  min-height: 70px;
  padding: 15px 12px 10px;
}

.profile-wrap .wallet-card span {
  font-size: 10px;
  font-weight: 500;
}

.profile-wrap .wallet-card strong {
  margin-top: 7px;
  font-size: 18px;
}

.profile-wrap .wallet-card em {
  top: 8px;
  right: 14px;
  font-size: 10px;
  font-weight: 500;
}

.wallet-visual {
  width: 38px;
  height: 34px;
  right: 16px;
  bottom: 13px;
}

.gift-visual {
  width: 42px;
  height: 36px;
  right: 20px;
  bottom: 6px;
}

.profile-wrap .checkin-card {
  min-height: 58px;
  grid-template-columns: 40px minmax(0, 1fr) 78px;
  gap: 10px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  overflow: hidden;
}

.profile-wrap .checkin-icon {
  width: 30px;
  height: 30px;
  border-radius: 0;
  background-color: transparent !important;
  box-shadow: none;
}

.profile-wrap .checkin-card strong {
  font-size: 12px;
  font-weight: 500;
}

.profile-wrap .checkin-card small {
  margin-top: 4px;
  font-size: 10px;
}

.profile-wrap .checkin-card small i {
  height: 10px;
  margin: 0 7px;
}

.profile-wrap .checkin-card button {
  width: 78px;
  height: 28px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 580;
  transform: none;
}

.profile-wrap .checkin-card small {
  font-weight: 400;
}

.user-action-grid {
  gap: 8px;
  margin-bottom: 10px;
}

.user-action-card {
  min-height: 70px;
  gap: 6px;
  border-radius: 10px;
}

.user-action-icon {
  width: 28px;
  height: 28px;
  transform: none;
}

.user-action-card strong {
  font-size: 10px;
  font-weight: 500;
}

.user-action-card small {
  font-size: 10px;
}

.new-badge {
  padding: 3px 6px;
  font-size: 9px;
}

.user-menu-foot {
  min-height: 42px;
  padding: 8px 10px;
}

.user-tip {
  gap: 6px;
}

.user-tip span {
  width: 22px;
  height: 25px;
}

.user-tip strong,
.user-tip p,
.logout-action {
  font-size: 10px;
}

.profile-wrap .user-menu .user-tip {
  min-width: 0;
}

.profile-wrap .user-menu .user-tip p {
  display: block;
  overflow: hidden;
  line-height: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.profile-wrap .user-menu .user-tip strong {
  display: inline;
  margin: 0 6px 0 0;
  line-height: 16px;
}

.profile-wrap .user-menu .user-wallet {
  margin-top: 0;
  border-color: rgba(226, 234, 248, 0.42);
  box-shadow: 0 12px 26px rgba(35, 72, 130, 0.075);
}

.profile-wrap .user-menu .wallet-card + .wallet-card {
  position: relative;
  border-left-color: transparent;
}

.profile-wrap .user-menu .wallet-card + .wallet-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: rgba(226, 234, 248, 0.62);
}

.profile-wrap .user-menu .checkin-card {
  position: relative;
  border: 0;
  box-shadow: none;
  background-clip: padding-box;
}

.profile-wrap .user-menu .checkin-card::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 0;
  bottom: 1px;
  width: 3px;
  border-radius: 0 12px 12px 0;
  background: #c5bbff;
  pointer-events: none;
}

.profile-wrap .user-menu .user-action-card {
  border-color: rgba(226, 234, 248, 0.46);
  box-shadow: 0 10px 24px rgba(35, 72, 130, 0.07);
}

.profile-wrap .user-menu .user-menu-foot {
  border: 1px solid rgba(235, 241, 250, 0.42);
  box-shadow: none;
}

.profile-wrap .user-menu {
  background:
    radial-gradient(circle at 8% 4%, rgba(172, 195, 255, 0.58) 0, rgba(203, 218, 255, 0.34) 22%, rgba(255, 255, 255, 0) 48%),
    radial-gradient(circle at 92% 0%, rgba(215, 247, 255, 0.42) 0, rgba(255, 255, 255, 0) 36%),
    linear-gradient(135deg, #edf4ff 0%, #f8fbff 28%, #ffffff 62%);
}

.profile-wrap .user-menu::before {
  background: #f6fbff;
  border-color: rgba(226, 234, 248, 0.42);
}

.profile-wrap .user-menu .logout-action {
  gap: 6px;
  color: #45516A;
  font-size: 11px;
  font-weight: 580;
}

.profile-wrap .user-menu .logout-action i {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  display: inline-block;
  opacity: 1;
  background: #5d6f8b !important;
  -webkit-mask: url("../assets/icons/line-icons/log-out-outline.png") center / contain no-repeat !important;
  mask: url("../assets/icons/line-icons/log-out-outline.png") center / contain no-repeat !important;
}

.profile-wrap .user-menu .logout-action .logout-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  display: block;
  object-fit: contain;
  opacity: 0.82;
}

.profile-wrap .user-menu .orbit-star {
  width: 48px;
  height: 60px;
  left: -12px;
  top: -8px;
}

.profile-wrap .user-menu .user-identity h3,
.profile-wrap .user-menu .wallet-card span,
.profile-wrap .user-menu .checkin-card strong,
.profile-wrap .user-menu .user-action-card strong,
.profile-wrap .user-menu .user-tip strong {
  color: #45516A;
  font-weight: 600;
}

.profile-wrap .user-menu .checkin-card strong {
  color: #ffffff;
  font-weight: 400;
}

.profile-wrap .user-menu .user-hero {
  grid-template-columns: 88px minmax(0, 1fr) 78px;
  align-items: center;
  gap: 9px;
  min-height: 108px;
  margin-top: -6px;
  margin-bottom: 4px;
}

.profile-wrap .user-menu .user-avatar-orbit {
  width: 96px;
  height: 104px;
  margin-left: 0;
  cursor: default;
  text-decoration: none;
  overflow: visible;
  position: relative;
  transform: translateX(-6px);
  border-radius: 0;
  background: none !important;
}

.profile-wrap .user-menu .user-avatar-orbit > img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  z-index: 2;
  border: 3px solid var(--avatar-ring-surface) !important;
  border-radius: 50%;
  background: transparent !important;
  object-fit: cover;
  object-position: center 24%;
  box-shadow:
    0 0 0 2px var(--avatar-ring-line),
    0 0 0 6px var(--avatar-ring-halo),
    0 8px 18px var(--avatar-ring-shadow);
  transform: translate(-50%, -50%);
}

.profile-wrap .user-menu .user-avatar-orbit::before,
.profile-wrap .user-menu .user-avatar-orbit::after {
  display: none !important;
  content: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.profile-wrap .user-menu .user-avatar-orbit .orbit-star,
.profile-wrap .user-menu .user-avatar-orbit i,
.profile-wrap .user-menu .user-avatar-orbit small {
  display: none !important;
}

.profile-wrap .user-menu .user-identity {
  min-width: 0;
  padding-top: 2px;
}

.profile-wrap .user-menu .user-identity h3 {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  min-width: 0;
  gap: 6px;
  margin: 0 0 7px;
  color: #45516A;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
}

.profile-wrap .user-menu .user-identity h3 b {
  min-width: 0;
  padding: 4px 8px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #8c6cff 0%, #6840ee 100%);
  box-shadow: 0 6px 14px rgba(112, 72, 238, 0.18);
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.profile-wrap .user-menu .user-id-line {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 10px;
  color: #68758d;
  font-size: 11px;
  font-weight: 500;
}

.profile-wrap .user-menu .copy-user-id {
  width: 15px;
  height: 15px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.profile-wrap .user-menu .copy-user-id::after {
  content: "\5df2\590d\5236";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  padding: 3px 7px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(38, 54, 82, 0.92);
  font-size: 10px;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.profile-wrap .user-menu .copy-user-id.is-copied::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.profile-wrap .user-menu .copy-user-id img {
  width: 12px;
  height: 12px;
  display: block;
  opacity: 0.68;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.profile-wrap .user-menu .copy-user-id:hover img,
.profile-wrap .user-menu .copy-user-id.is-copied img {
  opacity: 1;
  transform: scale(1.08);
}

.profile-wrap .user-menu .user-fans-line span {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: #68758d;
  -webkit-mask: url("../assets/icons/line-icons/people-outline.png") center / contain no-repeat;
  mask: url("../assets/icons/line-icons/people-outline.png") center / contain no-repeat;
}

.profile-wrap .user-menu .user-fans-line img {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  display: block;
  object-fit: contain;
  opacity: 0.82;
}

.profile-wrap .user-menu .user-fans-line b {
  color: inherit;
  font-size: inherit;
  font-weight: 600;
}

.profile-wrap .user-menu .user-fans-line i {
  margin: 0 5px;
  color: #c5cfdd;
  font-style: normal;
}

.profile-wrap .user-menu .user-exp-meta {
  width: min(100%, 132px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: #7d8aa2;
  font-size: 10px;
  line-height: 1.2;
}

.profile-wrap .user-menu .user-exp-meta span {
  display: none;
}

.profile-wrap .user-menu .user-exp-meta em {
  font-style: normal;
  font-weight: 500;
}

.profile-wrap .user-menu .user-exp-meta strong {
  color: #7d8aa2;
  font-size: 10px;
  font-weight: 650;
}

.profile-wrap .user-menu .user-exp-progress {
  width: min(100%, 132px);
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(221, 229, 244, 0.86);
}

.profile-wrap .user-menu .user-exp-progress i {
  width: 46.8%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #1265ff 0%, #49a8ff 100%);
  transform-origin: left center;
}

.profile-wrap.is-open .user-exp-progress i {
  animation: expFill 0.58s ease-out both;
}

.profile-wrap .user-menu .user-level-visual {
  width: 90px;
  height: 74px;
  position: relative;
  align-self: center;
  justify-self: end;
  transform: translateX(6px);
}

.profile-wrap .user-menu .user-level-visual img {
  width: 84px;
  height: 80px;
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.profile-wrap .user-menu .user-level-visual strong,
.profile-wrap .user-menu .user-level-visual span {
  position: absolute;
  left: 50%;
  z-index: 1;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 5px rgba(60, 60, 180, 0.25);
  transform: translateX(-50%);
  white-space: nowrap;
}

.profile-wrap .user-menu .user-level-visual strong {
  top: 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.profile-wrap .user-menu .user-level-visual span {
  top: 39px;
  font-size: 9px;
  font-weight: 500;
}

.profile-wrap .user-menu .user-member-badge {
  width: auto;
  height: 24px;
  max-width: 96px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.profile-wrap .user-menu .user-display-name {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-wrap .user-menu .user-action-card {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.profile-wrap .user-menu .user-action-card:hover {
  border-color: rgba(18, 101, 255, 0.16);
  background-color: #ffffff;
  box-shadow: 0 12px 26px rgba(35, 72, 130, 0.1);
  transform: translateY(-2px);
}

.profile-wrap .user-menu .user-action-card:hover .user-action-icon {
  transform: translateY(-2px) scale(1.04);
}

@keyframes expFill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media not all {
/* Disabled redesign history: restored the original compact user popup. */
/* User popup · reference-layout final overrides (no close button). */
.profile-wrap .user-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  display: block;
  padding: 0;
  border: 0;
  background: rgba(23, 35, 58, 0.48);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(5px);
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.profile-wrap.is-open .user-menu-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.profile-wrap .user-menu {
  position: absolute;
  left: auto;
  right: -10px;
  top: calc(100% + 10px);
  z-index: 999;
  width: min(560px, calc(100vw - 40px));
  max-height: calc(100vh - 84px);
  padding: 22px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(221, 232, 250, 0.78);
  border-radius: 22px;
  background:
    radial-gradient(circle at 9% 7%, rgba(155, 183, 255, 0.44), transparent 31%),
    radial-gradient(circle at 92% 4%, rgba(216, 246, 255, 0.48), transparent 29%),
    linear-gradient(145deg, #eff5ff 0%, #fbfdff 38%, #ffffff 72%);
  box-shadow: 0 28px 80px rgba(18, 34, 62, 0.28);
  transform: translateY(-10px) !important;
}

.profile-wrap.is-open > .user-menu {
  transform: translateY(0) !important;
}

.profile-wrap .user-menu::before {
  display: none;
  content: none;
}

.profile-wrap .user-menu .user-hero {
  grid-template-columns: 108px minmax(0, 1fr) 180px;
  align-items: center;
  gap: 14px;
  min-height: 126px;
  margin: 0 0 17px;
}

.profile-wrap .user-menu .user-avatar-orbit {
  width: 106px;
  height: 112px;
  margin: 0;
  transform: none;
}

.profile-wrap .user-menu .user-avatar-orbit > .user-avatar-image {
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  z-index: 2;
  border: 5px solid rgba(248, 252, 255, 0.98) !important;
  box-shadow:
    0 0 0 2px rgba(99, 154, 255, 0.58),
    0 14px 30px rgba(26, 66, 133, 0.2);
  transform: translate(-50%, -50%);
}

.profile-wrap .user-menu .user-identity {
  align-self: center;
  padding: 0;
}

.profile-wrap .user-menu .user-identity h3 {
  gap: 9px;
  margin: 0 0 12px;
  color: #132344;
  font-size: 21px;
  font-weight: 700;
}

.profile-wrap .user-menu .user-member-badge {
  height: 21px;
}

.profile-wrap .user-menu .user-account-line {
  margin: 0 0 15px;
  color: #667792;
  font-size: 12px;
  font-weight: 500;
}

.profile-wrap .user-menu .user-identity blockquote {
  min-height: auto;
  margin: 0;
  padding: 0 18px;
  color: #6e7f99;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
}

.profile-wrap .user-menu .user-identity blockquote::before,
.profile-wrap .user-menu .user-identity blockquote::after {
  color: #a8c2ff;
  font-size: 30px;
  line-height: 1;
}

.profile-wrap .user-menu .user-exp-card {
  min-height: 116px;
  padding: 15px 15px 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 32px rgba(75, 91, 140, 0.1);
}

.profile-wrap .user-menu .user-exp-card::before,
.profile-wrap .user-menu .user-exp-card::after {
  display: none;
  content: none;
}

.profile-wrap .user-menu .user-exp-card > span {
  color: #60708a;
  font-size: 13px;
  font-weight: 650;
}

.profile-wrap .user-menu .user-exp-card > strong {
  margin: 8px 0;
  color: #7248ff;
  font-size: 23px;
}

.profile-wrap .user-menu .user-exp-card > p {
  margin-bottom: 18px;
  font-size: 12px;
}

.profile-wrap .user-menu .user-exp-badge {
  width: 62px;
  height: 62px;
  position: absolute;
  right: 7px;
  top: 7px;
  display: block;
  object-fit: contain;
}

.profile-wrap .user-menu .exp-progress {
  height: 6px;
}

.profile-wrap .user-menu .exp-progress small {
  top: -20px;
  font-size: 10px;
}

.profile-wrap .user-menu .user-wallet {
  min-height: 104px;
  margin: 0 0 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(40, 76, 134, 0.1);
}

.profile-wrap .user-menu .wallet-card {
  min-height: 104px;
  padding: 23px 28px;
}

.profile-wrap .user-menu .wallet-card span {
  font-size: 14px;
  font-weight: 650;
}

.profile-wrap .user-menu .wallet-card strong {
  margin-top: 12px;
  font-size: 28px;
}

.profile-wrap .user-menu .wallet-card em {
  top: 19px;
  right: 27px;
  font-size: 12px;
}

.profile-wrap .user-menu .wallet-visual,
.profile-wrap .user-menu .gift-visual {
  width: 76px;
  height: 66px;
  right: 18px;
  bottom: 6px;
  border-radius: 0;
  background: center / contain no-repeat;
  box-shadow: none;
}

.profile-wrap .user-menu .wallet-visual {
  background-image: url("../assets/user-popup/wallet.png");
}

.profile-wrap .user-menu .gift-visual {
  background-image: url("../assets/user-popup/gift.png");
}

.profile-wrap .user-menu .wallet-visual::before,
.profile-wrap .user-menu .wallet-visual::after,
.profile-wrap .user-menu .gift-visual::before,
.profile-wrap .user-menu .gift-visual::after {
  display: none;
  content: none;
}

.profile-wrap .user-menu .checkin-card {
  min-height: 88px;
  grid-template-columns: 68px minmax(0, 1fr) 112px;
  gap: 18px;
  margin: 0 0 18px;
  padding: 15px 24px;
  border-radius: 16px;
  background: linear-gradient(105deg, #557eff 0%, #889cff 47%, #c7baff 100%);
  box-shadow: 0 14px 30px rgba(91, 111, 224, 0.22);
}

.profile-wrap .user-menu .checkin-card::after {
  display: none;
  content: none;
}

.profile-wrap .user-menu .checkin-icon {
  width: 58px;
  height: 58px;
  background: url("../assets/user-popup/checkin-calendar.png") center / contain no-repeat !important;
}

.profile-wrap .user-menu .checkin-icon::before,
.profile-wrap .user-menu .checkin-icon::after {
  display: none;
  content: none;
}

.profile-wrap .user-menu .checkin-card strong {
  font-size: 16px;
  font-weight: 650;
}

.profile-wrap .user-menu .checkin-card small {
  margin-top: 8px;
  font-size: 12px;
}

.profile-wrap .user-menu .checkin-card button {
  width: 112px;
  height: 40px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 650;
}

.profile-wrap .user-menu .user-action-grid {
  gap: 16px;
  margin: 0 0 22px;
}

.profile-wrap .user-menu .user-action-card {
  min-height: 122px;
  gap: 9px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.86);
}

.profile-wrap .user-menu .user-action-icon {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background-color: transparent;
  background-position: center;
  background-size: contain;
  box-shadow: none;
}

.profile-wrap .user-menu .user-action-icon.resource { background-image: url("../assets/user-popup/action-upload.png"); }
.profile-wrap .user-menu .user-action-icon.favorite { background-image: url("../assets/user-popup/action-heart.png"); }
.profile-wrap .user-menu .user-action-icon.order { background-image: url("../assets/user-popup/action-order.png"); }
.profile-wrap .user-menu .user-action-icon.achievement { background-image: url("../assets/user-popup/action-achievement.png"); }

.profile-wrap .user-menu .user-action-card strong {
  color: #172542;
  font-size: 15px;
  font-weight: 650;
}

.profile-wrap .user-menu .user-action-card small {
  color: #71809a;
  font-size: 12px;
}

.profile-wrap .user-menu .new-badge {
  padding: 4px 7px;
  border-radius: 0 15px 0 10px;
  font-size: 10px;
}

.profile-wrap .user-menu .user-menu-foot {
  min-height: 62px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(247, 250, 255, 0.9);
}

.profile-wrap .user-menu .user-tip span {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  background: url("../assets/user-popup/tip-bulb.png") center / contain no-repeat;
}

.profile-wrap .user-menu .user-tip p {
  overflow: visible;
  color: #73819a;
  font-size: 11px;
  line-height: 1.55;
  white-space: normal;
  text-overflow: clip;
}

.profile-wrap .user-menu .user-tip strong {
  display: block;
  margin: 0 0 2px;
  color: #354664;
  font-size: 12px;
}

.profile-wrap .user-menu .logout-action {
  font-size: 13px;
  font-weight: 650;
}

@media (max-width: 760px) {
  .profile-wrap .user-menu {
    right: 0;
    width: min(520px, calc(100vw - 24px));
    max-height: calc(100vh - 72px);
    padding: 18px;
    border-radius: 18px;
  }

  .profile-wrap .user-menu .user-hero {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 14px;
  }

  .profile-wrap .user-menu .user-avatar-orbit {
    width: 106px;
    height: 112px;
  }

  .profile-wrap .user-menu .user-avatar-orbit > .user-avatar-image {
    width: 88px;
    height: 88px;
  }

  .profile-wrap .user-menu .user-identity h3 {
    font-size: 21px;
  }

  .profile-wrap .user-menu .user-identity blockquote {
    padding: 0;
    white-space: normal;
  }

  .profile-wrap .user-menu .user-identity blockquote::before,
  .profile-wrap .user-menu .user-identity blockquote::after {
    display: none;
  }

  .profile-wrap .user-menu .user-exp-card {
    grid-column: 1 / -1;
  }

  .profile-wrap .user-menu .user-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-wrap .user-menu .user-menu-foot {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .profile-wrap .user-menu .user-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .profile-wrap .user-menu .user-wallet {
    grid-template-columns: 1fr;
  }

  .profile-wrap .user-menu .wallet-card + .wallet-card::before {
    left: 18px;
    right: 18px;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .profile-wrap .user-menu .checkin-card {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 14px 16px;
  }

  .profile-wrap .user-menu .checkin-card button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .profile-wrap .user-menu .user-menu-foot {
    flex-direction: column;
  }

  .profile-wrap .user-menu .logout-action {
    align-self: flex-end;
  }
}

/* User popup · vertical level card hierarchy. */
.profile-wrap .user-menu .user-exp-card {
  min-height: 126px;
  display: grid;
  grid-template-rows: auto 44px auto auto;
  justify-items: center;
  align-content: center;
  gap: 3px;
  padding: 8px 10px 10px;
}

.profile-wrap .user-menu .user-exp-card > .user-level-number {
  max-width: none;
  margin: 0;
  color: #5f43e8;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.profile-wrap .user-menu .user-exp-card > .user-exp-badge {
  width: 44px;
  height: 44px;
  position: static;
  display: block;
  object-fit: contain;
  transform: none;
}

.profile-wrap .user-menu .user-exp-card > .user-level-name {
  max-width: 100%;
  overflow: hidden;
  color: #687892;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.profile-wrap .user-menu .user-exp-card > .exp-progress {
  width: 100%;
  align-self: end;
  margin-top: 14px;
}

/* User popup · final level hierarchy with badge kept on the right. */
.profile-wrap .user-menu .user-exp-card {
  min-height: 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  grid-template-rows: auto auto 1fr;
  justify-items: stretch;
  align-content: stretch;
  gap: 3px 4px;
  padding: 10px;
}

.profile-wrap .user-menu .user-exp-card > .user-level-number {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  justify-self: start;
  margin: 0;
  color: #5f43e8;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  text-align: left;
}

.profile-wrap .user-menu .user-exp-card > .user-level-name {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  color: #687892;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}

.profile-wrap .user-menu .user-exp-card > .user-exp-badge {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: end;
  width: 44px;
  height: 44px;
  position: static;
  transform: none;
}

.profile-wrap .user-menu .user-exp-card > .exp-progress {
  grid-column: 1 / -1;
  grid-row: 3;
  width: 100%;
  align-self: end;
  margin-top: 14px;
}

@media (max-width: 480px) {
  .profile-wrap .user-menu .user-exp-card {
    grid-column: 1 / -1;
  }
}

/* User popup · compact experience card redesign. */
.profile-wrap .user-menu .user-exp-card {
  min-height: 90px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  padding: 11px 10px 10px;
  overflow: hidden;
  border: 1px solid rgba(211, 221, 244, 0.88);
  border-radius: 12px;
  background: #fbfcff;
  box-shadow: none;
}

.profile-wrap .user-menu .user-exp-card > span {
  max-width: calc(100% - 48px);
  color: #74819a;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.profile-wrap .user-menu .user-exp-card > strong {
  max-width: calc(100% - 46px);
  margin: 7px 0 5px;
  color: #6f49f5;
  font-size: 22px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.profile-wrap .user-menu .user-exp-card > strong em {
  margin-left: 3px;
  color: #a28cf7;
  font-size: 8px;
  font-weight: 700;
}

.profile-wrap .user-menu .user-exp-card > p {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 8px 0 0;
  padding-right: 2px;
  overflow: hidden;
  color: #6c7b93;
  font-size: 9px;
  font-weight: 550;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.profile-wrap .user-menu .user-exp-card > p b {
  flex: 0 0 auto;
  margin: 0;
  padding: 3px 5px;
  border-radius: 4px;
  color: #4f68bd;
  background: #edf2ff;
  font-size: 9px;
  font-weight: 700;
}

.profile-wrap .user-menu .user-exp-badge {
  width: 46px;
  height: 46px;
  right: 5px;
  top: 7px;
}

.profile-wrap .user-menu .exp-progress {
  width: 100%;
  height: 4px;
  position: relative;
  align-self: end;
  margin-top: 18px;
  overflow: visible;
  border-radius: 999px;
  background: #e9e7f8;
}

.profile-wrap .user-menu .exp-progress i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #6745ef 0%, #aa89ff 100%);
}

.profile-wrap .user-menu .exp-progress small {
  position: absolute;
  right: 0;
  top: -13px;
  color: #7c88a0;
  font-size: 8px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .profile-wrap .user-menu,
  .profile-wrap .user-menu-backdrop,
  .profile-wrap .user-menu .user-action-card,
  .profile-wrap .user-menu .user-action-icon {
    transition-duration: 0.01ms !important;
  }

  .profile-wrap.is-open .user-exp-progress i,
  .profile-wrap.is-open .exp-progress i {
    animation: none !important;
  }
}

/* User popup · compact anchored size, without page mask or outer shadow. */
.profile-wrap .user-menu-backdrop,
.profile-wrap.is-open .user-menu-backdrop {
  background: transparent;
  backdrop-filter: none;
}

.profile-wrap .user-menu {
  width: min(430px, calc(100vw - 28px));
  max-height: calc(100vh - 76px);
  padding: 16px;
  border-radius: 16px;
  box-shadow: none;
}

.profile-wrap .user-menu .user-hero {
  grid-template-columns: 78px minmax(0, 1fr) 132px;
  gap: 10px;
  min-height: 94px;
  margin-bottom: 12px;
}

.profile-wrap .user-menu .user-avatar-orbit {
  width: 76px;
  height: 84px;
}

.profile-wrap .user-menu .user-avatar-orbit > .user-avatar-image {
  width: 66px;
  height: 66px;
  border-width: 3px !important;
  box-shadow: 0 0 0 1px rgba(99, 154, 255, 0.58);
}

.profile-wrap .user-menu .user-identity h3 {
  gap: 5px;
  margin-bottom: 7px;
  font-size: 14px;
}

.profile-wrap .user-menu .user-member-badge {
  height: 16px;
}

.profile-wrap .user-menu .user-account-line {
  margin-bottom: 9px;
  font-size: 10px;
}

.profile-wrap .user-menu .user-identity blockquote {
  padding: 0;
  font-size: 9px;
  white-space: nowrap;
}

.profile-wrap .user-menu .user-identity blockquote::before,
.profile-wrap .user-menu .user-identity blockquote::after {
  display: none;
}

.profile-wrap .user-menu .user-exp-card {
  min-height: 88px;
  padding: 10px;
  border-radius: 12px;
  box-shadow: none;
}

.profile-wrap .user-menu .user-exp-card > span {
  font-size: 10px;
}

.profile-wrap .user-menu .user-exp-card > strong {
  margin: 6px 0;
  font-size: 18px;
}

.profile-wrap .user-menu .user-exp-card strong em,
.profile-wrap .user-menu .user-exp-card > p,
.profile-wrap .user-menu .exp-progress small {
  font-size: 8px;
}

.profile-wrap .user-menu .user-exp-card > p {
  margin-bottom: 13px;
}

.profile-wrap .user-menu .user-exp-badge {
  width: 46px;
  height: 46px;
  right: 4px;
  top: 5px;
}

.profile-wrap .user-menu .exp-progress {
  height: 4px;
}

.profile-wrap .user-menu .user-wallet {
  min-height: 76px;
  margin-bottom: 12px;
  border-radius: 12px;
  box-shadow: none;
}

.profile-wrap .user-menu .wallet-card {
  min-height: 76px;
  padding: 14px 16px;
}

.profile-wrap .user-menu .wallet-card span,
.profile-wrap .user-menu .wallet-card em {
  font-size: 10px;
}

.profile-wrap .user-menu .wallet-card strong {
  margin-top: 8px;
  font-size: 20px;
}

.profile-wrap .user-menu .wallet-card em {
  top: 12px;
  right: 14px;
}

.profile-wrap .user-menu .wallet-visual,
.profile-wrap .user-menu .gift-visual {
  width: 52px;
  height: 46px;
  right: 9px;
  bottom: 4px;
}

.profile-wrap .user-menu .checkin-card {
  min-height: 64px;
  grid-template-columns: 44px minmax(0, 1fr) 84px;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: none;
}

.profile-wrap .user-menu .checkin-icon {
  width: 40px;
  height: 40px;
}

.profile-wrap .user-menu .checkin-card strong {
  font-size: 12px;
}

.profile-wrap .user-menu .checkin-card small {
  margin-top: 5px;
  font-size: 9px;
}

.profile-wrap .user-menu .checkin-card button {
  width: 84px;
  height: 30px;
  border-radius: 15px;
  font-size: 10px;
}

.profile-wrap .user-menu .user-action-grid {
  gap: 8px;
  margin-bottom: 12px;
}

.profile-wrap .user-menu .user-action-card {
  min-height: 78px;
  gap: 6px;
  border-radius: 10px;
  box-shadow: none;
}

.profile-wrap .user-menu .user-action-icon {
  width: 34px;
  height: 34px;
}

.profile-wrap .user-menu .user-action-card strong {
  font-size: 11px;
}

.profile-wrap .user-menu .user-action-card small {
  display: none;
}

.profile-wrap .user-menu .new-badge {
  padding: 3px 5px;
  border-radius: 0 10px 0 8px;
  font-size: 8px;
}

.profile-wrap .user-menu .user-menu-foot {
  min-height: 46px;
  padding: 7px 10px;
  border-radius: 10px;
}

.profile-wrap .user-menu .user-tip span {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}

.profile-wrap .user-menu .user-tip p {
  font-size: 8px;
}

.profile-wrap .user-menu .user-tip strong,
.profile-wrap .user-menu .logout-action {
  font-size: 9px;
}

@media (max-width: 480px) {
  .profile-wrap .user-menu {
    right: 0;
    width: calc(100vw - 16px);
    padding: 14px;
  }

  .profile-wrap .user-menu .user-hero {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .profile-wrap .user-menu .user-exp-card {
    grid-column: 1 / -1;
  }

  .profile-wrap .user-menu .user-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* User popup · restored original compact experience card. */
.profile-wrap .user-menu .user-exp-card {
  min-height: 90px;
  display: block;
  position: relative;
  padding: 10px;
}

.profile-wrap .user-menu .user-exp-card > span {
  display: none;
}

.profile-wrap .user-menu .user-exp-card > strong {
  max-width: calc(100% - 48px);
  display: block;
  margin: 0 0 7px;
  color: #6f49f5;
  font-size: 22px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.profile-wrap .user-menu .user-exp-card > strong em {
  margin-left: 3px;
  color: #a28cf7;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.profile-wrap .user-menu .user-exp-card > p {
  max-width: calc(100% - 44px);
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  overflow: hidden;
  color: #687892;
  font-size: 8px;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.profile-wrap .user-menu .user-exp-card > p b {
  flex: 0 0 auto;
  margin: 0;
  color: #4f68bd;
  font-size: 8px;
  font-weight: 700;
}

.profile-wrap .user-menu .user-exp-card > .user-exp-badge {
  width: 46px;
  height: 46px;
  position: absolute;
  right: 4px;
  top: 5px;
  display: block;
  object-fit: contain;
  transform: none;
}

.profile-wrap .user-menu .user-exp-card > .exp-progress {
  width: auto;
  height: 4px;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  margin: 0;
}
}

@media not all {
/* Disabled later badge/avatar experiments: restored the original compact popup. */
/* Original compact popup · avatar ring drawn outside the image. */
.profile-wrap .user-menu .user-avatar-orbit > img {
  width: 72px;
  height: 72px;
  border: 0 !important;
  background: transparent !important;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.96),
    0 0 0 5px rgba(78, 143, 255, 0.68),
    0 8px 18px rgba(39, 82, 150, 0.14);
  object-fit: cover;
  box-sizing: content-box;
}

/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V4
 * Hallmark · component: level badge · genre: polished-playful · theme: cobalt medal
 * states: static display · contrast: pass
 */
:root {
  --level-badge-light: oklch(88% 0.09 228);
  --level-badge-mid: oklch(68% 0.18 239);
  --level-badge-deep: oklch(48% 0.21 252);
  --level-badge-core: oklch(65% 0.2 246);
  --level-badge-core-deep: oklch(43% 0.2 257);
  --level-badge-edge: oklch(97% 0.025 225);
  --level-badge-metal: oklch(82% 0.045 230);
  --level-badge-metal-shadow: oklch(63% 0.09 242);
  --level-badge-ribbon-light: oklch(78% 0.16 224);
  --level-badge-ribbon-mid: oklch(61% 0.2 239);
  --level-badge-ribbon-deep: oklch(45% 0.2 254);
  --level-badge-ink: oklch(99% 0.01 240);
  --level-badge-shadow: oklch(35% 0.14 253 / 0.34);
  --level-badge-glow: oklch(82% 0.12 225 / 0.5);
  --level-badge-shine: oklch(99% 0.01 230 / 0.72);
}

.profile-wrap .user-menu .user-level-visual[data-level="1"] {
  --level-badge-light: oklch(88% 0.1 38);
  --level-badge-mid: oklch(68% 0.2 29);
  --level-badge-deep: oklch(49% 0.22 21);
  --level-badge-core: oklch(65% 0.22 27);
  --level-badge-core-deep: oklch(44% 0.2 19);
  --level-badge-edge: oklch(97% 0.03 72);
  --level-badge-metal: oklch(87% 0.07 65);
  --level-badge-metal-shadow: oklch(66% 0.12 45);
  --level-badge-ribbon-light: oklch(79% 0.16 35);
  --level-badge-ribbon-mid: oklch(61% 0.22 25);
  --level-badge-ribbon-deep: oklch(44% 0.2 18);
  --level-badge-shadow: oklch(34% 0.14 20 / 0.34);
  --level-badge-glow: oklch(82% 0.12 38 / 0.48);
}

.profile-wrap .user-menu .user-level-visual[data-level="2"] {
  --level-badge-light: oklch(88% 0.09 228);
  --level-badge-mid: oklch(68% 0.18 239);
  --level-badge-deep: oklch(48% 0.21 252);
  --level-badge-core: oklch(65% 0.2 246);
  --level-badge-core-deep: oklch(43% 0.2 257);
  --level-badge-edge: oklch(97% 0.025 225);
  --level-badge-metal: oklch(82% 0.045 230);
  --level-badge-metal-shadow: oklch(63% 0.09 242);
  --level-badge-ribbon-light: oklch(78% 0.16 224);
  --level-badge-ribbon-mid: oklch(61% 0.2 239);
  --level-badge-ribbon-deep: oklch(45% 0.2 254);
  --level-badge-shadow: oklch(35% 0.14 253 / 0.34);
  --level-badge-glow: oklch(82% 0.12 225 / 0.5);
}

.profile-wrap .user-menu .user-level-visual[data-level="3"] {
  --level-badge-light: oklch(96% 0.035 82);
  --level-badge-mid: oklch(84% 0.09 78);
  --level-badge-deep: oklch(65% 0.13 68);
  --level-badge-core: oklch(86% 0.14 82);
  --level-badge-core-deep: oklch(65% 0.16 70);
  --level-badge-edge: oklch(99% 0.02 86);
  --level-badge-metal: oklch(89% 0.07 78);
  --level-badge-metal-shadow: oklch(69% 0.12 66);
  --level-badge-ribbon-light: oklch(77% 0.16 28);
  --level-badge-ribbon-mid: oklch(61% 0.22 22);
  --level-badge-ribbon-deep: oklch(45% 0.2 17);
  --level-badge-shadow: oklch(39% 0.12 48 / 0.32);
  --level-badge-glow: oklch(91% 0.1 82 / 0.5);
}

.profile-wrap .user-menu .user-level-visual[data-level="4"] {
  --level-badge-light: oklch(94% 0.1 88);
  --level-badge-mid: oklch(79% 0.17 78);
  --level-badge-deep: oklch(60% 0.19 61);
  --level-badge-core: oklch(82% 0.18 80);
  --level-badge-core-deep: oklch(61% 0.2 60);
  --level-badge-edge: oklch(99% 0.025 90);
  --level-badge-metal: oklch(91% 0.08 84);
  --level-badge-metal-shadow: oklch(71% 0.14 68);
  --level-badge-ribbon-light: oklch(86% 0.16 76);
  --level-badge-ribbon-mid: oklch(71% 0.2 65);
  --level-badge-ribbon-deep: oklch(54% 0.19 52);
  --level-badge-shadow: oklch(39% 0.13 52 / 0.32);
  --level-badge-glow: oklch(91% 0.13 85 / 0.5);
}

.profile-wrap .user-menu .user-level-visual[data-level="5"] {
  --level-badge-light: oklch(98% 0.012 245);
  --level-badge-mid: oklch(84% 0.035 247);
  --level-badge-deep: oklch(65% 0.055 251);
  --level-badge-core: oklch(88% 0.04 248);
  --level-badge-core-deep: oklch(66% 0.065 254);
  --level-badge-edge: oklch(100% 0.008 240);
  --level-badge-metal: oklch(90% 0.025 245);
  --level-badge-metal-shadow: oklch(70% 0.055 252);
  --level-badge-ribbon-light: oklch(89% 0.035 242);
  --level-badge-ribbon-mid: oklch(74% 0.06 250);
  --level-badge-ribbon-deep: oklch(56% 0.075 257);
  --level-badge-shadow: oklch(38% 0.07 255 / 0.3);
  --level-badge-glow: oklch(94% 0.04 236 / 0.52);
}

.profile-wrap .user-menu .user-level-visual {
  width: 90px;
  height: 82px;
  position: relative;
  isolation: isolate;
  align-self: center;
  justify-self: end;
  filter: drop-shadow(0 5px 6px var(--level-badge-shadow));
}

.profile-wrap .user-menu .user-level-visual > img {
  display: none;
}

.profile-wrap .user-menu .user-level-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 7px 5px;
  background:
    linear-gradient(145deg, var(--level-badge-light) 0 12%, var(--level-badge-mid) 43%, var(--level-badge-deep) 78%),
    var(--level-badge-mid);
  clip-path: polygon(50% 0, 63% 14%, 82% 11%, 84% 31%, 100% 50%, 84% 68%, 83% 89%, 63% 86%, 50% 100%, 36% 86%, 17% 89%, 16% 68%, 0 50%, 16% 31%, 18% 11%, 37% 14%);
  box-shadow:
    inset 0 2px 0 var(--level-badge-shine),
    inset 0 -5px 8px var(--level-badge-shadow),
    0 0 16px var(--level-badge-glow);
}

.profile-wrap .user-menu .user-level-visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 9px;
  width: 47px;
  height: 47px;
  border: 5px solid var(--level-badge-edge);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 25%, var(--level-badge-light), var(--level-badge-core) 42%, var(--level-badge-core-deep) 100%);
  box-shadow:
    0 0 0 2px var(--level-badge-metal-shadow),
    0 0 0 4px var(--level-badge-mid),
    inset 0 0 0 2px var(--level-badge-deep),
    inset 0 5px 8px var(--level-badge-glow),
    inset 0 -6px 8px var(--level-badge-shadow);
  transform: translateX(-50%);
}

.profile-wrap .user-menu .user-level-visual > strong {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 25px;
  width: 58px;
  color: var(--level-badge-ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
  text-align: center;
  text-shadow:
    0 1px 0 var(--level-badge-metal-shadow),
    0 2px 2px var(--level-badge-shadow),
    0 0 5px var(--level-badge-shine);
  transform: translateX(-50%);
  white-space: nowrap;
}

.profile-wrap .user-menu .user-level-visual > strong::before {
  content: "◆";
  position: absolute;
  left: 50%;
  top: -20px;
  color: var(--level-badge-edge);
  font-size: 9px;
  line-height: 1;
  text-shadow: 0 1px 2px var(--level-badge-shadow);
  transform: translateX(-50%);
}

.profile-wrap .user-menu .user-level-visual > strong::after {
  content: "";
  width: 4px;
  height: 4px;
  position: absolute;
  left: 50%;
  top: -8px;
  border-radius: 50%;
  background: var(--level-badge-edge);
  box-shadow:
    -28px 8px 0 var(--level-badge-metal),
    28px 8px 0 var(--level-badge-metal);
  transform: translateX(-50%);
}

.profile-wrap .user-menu .user-level-visual > span {
  min-width: 80px;
  height: 22px;
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 48px;
  bottom: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px 1px;
  clip-path: polygon(0 13%, 13% 20%, 17% 0, 83% 0, 87% 20%, 100% 13%, 94% 50%, 100% 87%, 84% 81%, 80% 100%, 20% 100%, 16% 81%, 0 87%, 6% 50%);
  color: var(--level-badge-ink);
  border: 1px solid var(--level-badge-edge);
  background: linear-gradient(180deg, var(--level-badge-ribbon-light), var(--level-badge-ribbon-mid) 42%, var(--level-badge-ribbon-deep));
  box-sizing: border-box;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-shadow:
    0 1px 0 var(--level-badge-deep),
    0 2px 2px var(--level-badge-shadow);
  box-shadow:
    inset 0 1px 0 var(--level-badge-shine),
    inset 0 -3px 4px var(--level-badge-shadow),
    0 2px 3px var(--level-badge-shadow);
  transform: translateX(-50%);
  white-space: nowrap;
}

/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5
 * Hallmark · component: verified avatar · genre: modern-minimal · theme: asymmetric cobalt orbit
 * states: static display · contrast: pass
 */
:root {
  --avatar-orbit-surface: oklch(99% 0.008 235);
  --avatar-orbit-line: oklch(68% 0.18 248);
  --avatar-orbit-line-soft: oklch(84% 0.1 237);
  --avatar-orbit-frame: oklch(91% 0.055 238);
  --avatar-orbit-shadow: oklch(45% 0.11 250 / 0.15);
  --avatar-orbit-accent: oklch(80% 0.16 78);
  --avatar-orbit-mask: oklch(0% 0 0);
  --avatar-auth-light: oklch(79% 0.14 231);
  --avatar-auth-mid: oklch(64% 0.2 244);
  --avatar-auth-deep: oklch(49% 0.21 257);
  --avatar-auth-ink: oklch(99% 0.008 235);
}

.profile-wrap .user-menu .user-avatar-orbit::before {
  width: 84px;
  height: 84px;
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  display: block !important;
  content: "" !important;
  border: 0 !important;
  border-radius: 50%;
  background: conic-gradient(
    from 218deg,
    var(--avatar-orbit-line) 0 19%,
    transparent 19% 34%,
    var(--avatar-orbit-line-soft) 34% 56%,
    transparent 56% 78%,
    var(--avatar-orbit-line) 78% 91%,
    transparent 91% 100%
  ) !important;
  box-shadow: none !important;
  pointer-events: none;
  transform: translate(-50%, -50%);
  -webkit-mask: radial-gradient(circle, transparent 0 72%, var(--avatar-orbit-mask) 73% 100%);
  mask: radial-gradient(circle, transparent 0 72%, var(--avatar-orbit-mask) 73% 100%);
}

.profile-wrap .user-menu .user-avatar-orbit::after {
  width: 7px;
  height: 7px;
  position: absolute;
  z-index: 3;
  right: 13px;
  top: 16px;
  display: block !important;
  content: "" !important;
  border: 2px solid var(--avatar-orbit-surface);
  border-radius: 50%;
  background: var(--avatar-orbit-accent) !important;
  box-shadow: 0 2px 5px var(--avatar-orbit-shadow) !important;
  pointer-events: none;
}

.profile-wrap .user-menu .user-avatar-orbit > img {
  width: 68px;
  height: 68px;
  z-index: 2;
  border: 3px solid var(--avatar-orbit-surface) !important;
  background: transparent !important;
  box-shadow:
    0 0 0 1px var(--avatar-orbit-frame),
    0 5px 12px var(--avatar-orbit-shadow);
  box-sizing: content-box;
}

.profile-wrap .user-menu .user-avatar-spark {
  display: none;
}

.profile-wrap .user-menu .user-avatar-spark::after {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  left: 23px;
  top: 20px;
  background: var(--avatar-orbit-surface);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}

.profile-wrap .user-menu .user-avatar-auth {
  width: 22px;
  height: 24px;
  position: absolute;
  z-index: 4;
  right: 7px;
  bottom: 12px;
  display: block;
  border: 0;
  background: var(--avatar-auth-ink);
  box-sizing: border-box;
  clip-path: polygon(50% 0, 94% 17%, 90% 68%, 50% 100%, 10% 68%, 6% 17%);
  filter: drop-shadow(0 3px 5px var(--avatar-orbit-shadow));
  pointer-events: none;
}

.profile-wrap .user-menu .user-avatar-auth::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: linear-gradient(145deg, var(--avatar-auth-light), var(--avatar-auth-mid) 48%, var(--avatar-auth-deep));
  clip-path: inherit;
}

.profile-wrap .user-menu .user-avatar-auth::after {
  content: "";
  width: 6px;
  height: 10px;
  position: absolute;
  z-index: 1;
  left: 7px;
  top: 4px;
  border-right: 2px solid var(--avatar-auth-ink);
  border-bottom: 2px solid var(--avatar-auth-ink);
  transform: rotate(45deg);
}

}



/* Product matrix advertisements retain uploaded image colors. */
.product-matrix-item.is-ad > span img,
.product-matrix-item.is-ad:hover > span img {
  width: 30px !important;
  height: 30px !important;
  filter: none !important;
}
.product-matrix-item.is-ad strong {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
