/* taoke owner-presence: blink / bob / green dot on the live 淘客 circular brand mark.
   Does not use the Wukong monkey artwork. Does not restyle /admin or /agent-admin. */
html body.new-store-page .new-store .site-header .header-inner .brand .brand-icon,
html body.new-store-page .new-store .site-header .brand .brand-icon.taoke-brand-holder,
html body.new-store-page .new-store .member-workspace .workspace-header .workspace-brand > span,
html body.new-store-page .new-store .workspace-brand > span.taoke-brand-holder {
  position: relative !important;
  isolation: isolate;
  border-radius: 50% !important;
  overflow: visible !important;
  transform-origin: 50% 60%;
}
html body.new-store-page .new-store .site-header .header-inner .brand .brand-icon::before,
html body.new-store-page .new-store .site-header .brand .brand-icon.taoke-brand-holder::before,
html body.new-store-page .new-store .member-workspace .workspace-header .workspace-brand > span::before,
html body.new-store-page .new-store .workspace-brand > span.taoke-brand-holder::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 43.6%;
  height: 16%;
  z-index: 2;
  pointer-events: none;
  background-image: linear-gradient(#f7f3ea, #f7f3ea), linear-gradient(#f7f3ea, #f7f3ea);
  background-repeat: no-repeat;
  background-size: 12% 100%, 12% 100%;
  background-position: 37.4% 0, 62.6% 0;
  transform-origin: 50% 0;
  transform: scaleY(0);
}
html.wk-owner-online body.new-store-page .new-store .site-header .header-inner .brand .brand-icon,
html.wk-owner-online body.new-store-page .new-store .site-header .brand .brand-icon.taoke-brand-holder,
html.wk-owner-online body.new-store-page .new-store .member-workspace .workspace-header .workspace-brand > span,
html.wk-owner-online body.new-store-page .new-store .workspace-brand > span.taoke-brand-holder {
  outline: 2px solid rgba(35, 138, 155, 0);
  outline-offset: 0;
  animation: tk-owner-bob 3.2s ease-in-out infinite, tk-owner-ring 2.4s ease-out infinite;
}
html.wk-owner-online body.new-store-page .new-store .site-header .header-inner .brand .brand-icon::before,
html.wk-owner-online body.new-store-page .new-store .site-header .brand .brand-icon.taoke-brand-holder::before,
html.wk-owner-online body.new-store-page .new-store .member-workspace .workspace-header .workspace-brand > span::before,
html.wk-owner-online body.new-store-page .new-store .workspace-brand > span.taoke-brand-holder::before {
  animation: tk-owner-blink 4.6s ease-in-out infinite;
}
html.wk-owner-online body.new-store-page .new-store .site-header .header-inner .brand .brand-icon::after,
html.wk-owner-online body.new-store-page .new-store .site-header .brand .brand-icon.taoke-brand-holder::after,
html.wk-owner-online body.new-store-page .new-store .member-workspace .workspace-header .workspace-brand > span::after,
html.wk-owner-online body.new-store-page .new-store .workspace-brand > span.taoke-brand-holder::after {
  background-image:
    radial-gradient(circle at 76% 76%, #22c55e 0 8%, #ffffff 8.5% 12%, transparent 12.5%),
    url('/assets/taoke-brand-bbf191d6a47d.png') !important;
  background-image:
    radial-gradient(circle at 76% 76%, #22c55e 0 8%, #ffffff 8.5% 12%, transparent 12.5%),
    image-set(url('/assets/taoke-brand-bbf191d6a47d.webp') type('image/webp'), url('/assets/taoke-brand-bbf191d6a47d.png') type('image/png')) !important;
  background-size: 100% 100%, 100% 100% !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}
@keyframes tk-owner-bob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-1.5px) scale(1.035); }
}
@keyframes tk-owner-ring {
  0% { outline-color: rgba(35, 138, 155, .55); outline-offset: 0; }
  75% { outline-color: rgba(35, 138, 155, 0); outline-offset: 6px; }
  100% { outline-color: rgba(35, 138, 155, 0); outline-offset: 6px; }
}
@keyframes tk-owner-blink {
  0%, 86%, 100% { transform: scaleY(0); }
  88% { transform: scaleY(1); }
  90% { transform: scaleY(0); }
  94% { transform: scaleY(0); }
  95.5% { transform: scaleY(1); }
  97% { transform: scaleY(0); }
}
@media (prefers-reduced-motion: reduce) {
  html.wk-owner-online body.new-store-page .new-store .site-header .header-inner .brand .brand-icon,
  html.wk-owner-online body.new-store-page .new-store .site-header .brand .brand-icon.taoke-brand-holder,
  html.wk-owner-online body.new-store-page .new-store .member-workspace .workspace-header .workspace-brand > span,
  html.wk-owner-online body.new-store-page .new-store .workspace-brand > span.taoke-brand-holder {
    animation: none !important;
    outline: 2px solid rgba(35, 138, 155, .3) !important;
    outline-offset: 2px !important;
  }
  html.wk-owner-online body.new-store-page .new-store .site-header .header-inner .brand .brand-icon::before,
  html.wk-owner-online body.new-store-page .new-store .site-header .brand .brand-icon.taoke-brand-holder::before,
  html.wk-owner-online body.new-store-page .new-store .member-workspace .workspace-header .workspace-brand > span::before,
  html.wk-owner-online body.new-store-page .new-store .workspace-brand > span.taoke-brand-holder::before {
    animation: none !important;
  }
}
