/* ============================================================
   bycToast — 居中卡片 Icon Disc 范式 (1:1 frontend-user BycToast.vue)
   屏幕居中, 白底卡片, 3s 自动消失, type: success / info / warn / error
   ============================================================ */
.byc-toast-wrap {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  flex-direction: column;
  gap: 12px;
}
.byc-toast {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
  max-width: 440px;
  padding: 18px 30px;
  background: #fff;
  border: 1px solid #ebeef5;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  font-size: 16px;
  line-height: 24px;
  color: #303133;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Microsoft Yahei", sans-serif;
  word-break: break-word;
}
.byc-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.byc-toast.hide {
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
}
.byc-toast-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.byc-toast-icon svg { width: 34px; height: 34px; }
.byc-toast-text { flex: 1; line-height: 24px; }
.byc-toast-close {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  border: none;
  background: none;
  cursor: pointer;
  color: #c0c4cc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.2s;
}
.byc-toast-close:hover { color: #606266; }
.byc-toast-close svg { width: 14px; height: 14px; }
