/* uc toast - extracted for browser cache */
/* 全局提示：宽度随文案自适应 + 主内容区/视口居中 */
#toast-container.toast-top-center {
  position: fixed !important;
  top: 40px;
  left: 50% !important;
  right: auto !important;
  width: auto !important;
  max-width: calc(100vw - 24px);
  margin: 0 !important;
  padding: 0 !important;
  transform: translateX(calc(-50% - 80px)) !important;
  pointer-events: none;
  display: block !important;
  text-align: center;
  box-sizing: border-box;
}
@media (min-width: 992px) {
  body:not(.uc-auth-page) #toast-container.toast-top-center {
    left: calc(50vw + var(--uc-sidebar-w, 208px) / 2) !important;
    transform: translateX(calc(-50% - 80px)) !important;
  }
}
#toast-container.toast-top-center > .toast,
#toast-container.toast-top-center > div {
  display: inline-flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: auto !important;
  max-width: min(360px, calc(100vw - 24px));
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 10px 16px 10px 12px !important;
  border-radius: 8px !important;
  border: 1px solid #e6ebf2 !important;
  background: #ffffff !important;
  background-image: none !important;
  background-position: initial !important;
  background-repeat: no-repeat !important;
  opacity: 1;
  color: #1f2329 !important;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45 !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
  pointer-events: auto;
  box-sizing: border-box;
  transform-origin: top center;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: anywhere;
  cursor: default;
  overflow: visible;
  vertical-align: top;
}
#toast-container.toast-top-center > .toast:hover,
#toast-container.toast-top-center > div:hover {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1) !important;
  opacity: 1 !important;
  cursor: default;
}
#toast-container.toast-top-center > .toast.uc-toast-enter,
#toast-container.toast-top-center > div.uc-toast-enter {
  animation: uc-toast-enter 0.32s cubic-bezier(0.22, 0.8, 0.22, 1) forwards;
}
#toast-container.toast-top-center > .toast.uc-toast-leave,
#toast-container.toast-top-center > div.uc-toast-leave {
  animation: uc-toast-leave 0.26s cubic-bezier(0.4, 0, 1, 1) forwards;
  pointer-events: none;
}
@keyframes uc-toast-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes uc-toast-leave {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}
#toast-container.toast-top-center > .toast::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}
#toast-container.toast-top-center > .toast-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='8' fill='%23F53F3F'/%3E%3Cpath d='M6.2 6.2l5.6 5.6M11.8 6.2l-5.6 5.6' stroke='%23fff' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
#toast-container.toast-top-center > .toast-success::before,
#toast-container.toast-top-center > .toast-info::before,
#toast-container.toast-top-center > .toast-warning::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='8' fill='%2300B42A'/%3E%3Cpath d='M5.5 9.1l2 2.1L12.5 6.6' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
#toast-container.toast-top-center > .toast .toast-title {
  display: none !important;
}
#toast-container.toast-top-center > .toast .toast-message {
  flex: 0 1 auto;
  display: block;
  padding: 0 !important;
  margin: 0 !important;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  line-height: 1.45 !important;
}
#toast-container.toast-top-center > .toast.toast-long,
#toast-container.toast-top-center > div.toast-long {
  white-space: normal;
  align-items: flex-start;
}
#toast-container.toast-top-center > .toast.toast-long .toast-message {
  white-space: normal;
  overflow-wrap: break-word;
  text-align: left;
}
#toast-container.toast-top-center > .toast-success,
#toast-container.toast-top-center > .toast-error,
#toast-container.toast-top-center > .toast-warning,
#toast-container.toast-top-center > .toast-info {
  color: #1f2329 !important;
}
@media (max-width: 767.98px) {
  #toast-container.toast-top-center {
    top: 16px;
    left: 50% !important;
    transform: translateX(calc(-50% - 40px)) !important;
    max-width: calc(100vw - 16px);
  }
  #toast-container.toast-top-center > .toast,
  #toast-container.toast-top-center > div {
    max-width: calc(100vw - 16px);
    padding: 9px 14px 9px 10px !important;
    font-size: 13px;
    border-radius: 8px !important;
  }
}
