/* taoke-bg-avatar: page canvas uses the live Wukong coastal meadow bitmap.
   Source: https://aiwkgpt.com/assets/coastal-meadow-bg.png (sha256 5cddb0b779752879c7ac6005460227cc12cf8531249c6a4a1b6a29d9414e232f).
   Replaces the previous mountain-moon photo and the admin CSS gradient.
   Login page uses the same bitmap because that is what Wukong live does.
   Default user portraits stay the Taoke silhouette; only the circular mint liner, crop, and header bar are aligned.
   Shop mark stays the Taoke four-color circular logo.
*/

html:not(.legacy-page):has(body.new-store-page),
html body.new-store-page {
  background: #74cde2 url("/assets/coastal-meadow-bg-5cddb0b77975.png") center top / cover fixed no-repeat !important;
  color: #183c4d;
}
html body.new-store-page .new-store,
html body.new-store-page .new-store main,
html body.new-store-page .new-store .member-workspace,
html body.new-store-page .new-store .site-admin-layout,
html body.new-store-page .new-store .site-admin-main {
  background: transparent !important;
}

html body.new-store-page .new-store .site-header {
  background: #dbfaffe0 !important;
  border: 1px solid rgba(255, 255, 255, .65) !important;
  border-radius: 20px;
  box-shadow: 0 8px 24px #3c8faa1c;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

html body.new-admin-page:has(.admin-shell) {
  background: #bcebf0 url("/assets/coastal-meadow-bg-5cddb0b77975.png") center top / cover fixed no-repeat !important;
}
html body.new-admin-page:has(.admin-shell) #root,
html body.new-admin-page:has(.admin-shell) .admin-shell,
html body.new-admin-page:has(.admin-shell) .admin-shell :is(.admin-main, .admin-content) {
  background: transparent !important;
}

html body.new-admin-page .admin-login-page {
  min-height: 100dvh;
  background: #aeeaf4 url("/assets/coastal-meadow-bg-5cddb0b77975.png") center center / cover no-repeat fixed !important;
  padding: 32px 18px;
}
html body.new-admin-page .admin-login-page::before,
html body.new-admin-page .admin-login-page::after {
  display: none !important;
}
html body.new-admin-page .admin-loading-page {
  min-height: 100dvh;
  background: #eef6f7 !important;
  background-image: none !important;
}
html body.new-admin-page .admin-login-page .admin-login-card {
  width: min(100%, 480px);
  box-sizing: border-box;
  background: rgba(238, 255, 253, .88) !important;
  border: 1px solid rgba(255, 255, 255, .8) !important;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(17, 79, 94, .16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

html body.new-store-page .user-menu-avatar,
html body .new-store .user-menu-avatar,
html body.new-store-page .workspace-avatar,
html body .new-store .workspace-avatar,
html body.new-admin-page .admin-shell .admin-avatar,
.user-menu-avatar,
.workspace-avatar {
  position: relative !important;
  display: grid !important;
  place-items: center;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  color: transparent !important;
  font-size: 0 !important;
  background-color: #d8f5f5 !important;
  background-image: url("/assets/taoke-user-avatar-961026040075.png") !important;
  background-image: image-set(url("/assets/taoke-user-avatar-961026040075.webp") type("image/webp"), url("/assets/taoke-user-avatar-961026040075.png") type("image/png")) !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body.new-store-page .user-menu-avatar::after,
html body .new-store .user-menu-avatar::after,
html body.new-store-page .workspace-avatar::after,
html body .new-store .workspace-avatar::after,
html body.new-admin-page .admin-shell .admin-avatar::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 50% !important;
  background: url("/assets/taoke-user-avatar-961026040075.png") center / cover no-repeat !important;
  background-image: image-set(url("/assets/taoke-user-avatar-961026040075.webp") type("image/webp"), url("/assets/taoke-user-avatar-961026040075.png") type("image/png")) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}
.user-menu-avatar > *,
.workspace-avatar > *,
html body.new-admin-page .admin-shell .admin-avatar > * {
  opacity: 0 !important;
}
