.ob {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 100002;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.ob[hidden] { display: none; }
.ob__card {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 560px;
  padding: 10px 11px;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(22, 24, 36, 0.97), rgba(10, 11, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(123, 92, 255, 0.12) inset;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #eef1ff;
  animation: obUp 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes obUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.ob__txt { flex: 1; min-width: 0; line-height: 1.35; }
.ob__txt b {
  display: block;
  font-size: 12.5px;
  font-weight: 900;
  color: #eef1ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ob__txt span {
  display: block;
  font-size: 11px;
  color: #9aa3bd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ob__btn {
  flex: none;
  padding: 8px 13px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  color: #0a0616;
  background: linear-gradient(100deg, #c9b7ff, #7b5cff 55%, #22d3ee);
}
.ob__btn--ghost {
  color: #eef1ff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.ob__btn:active { transform: scale(0.97); }
.ob__x {
  flex: none;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font: inherit;
  font-size: 15px;
  line-height: 1;
}
.ob__toast {
  position: absolute;
  left: 50%;
  bottom: 64px;
  transform: translate(-50%, 10px);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: #d9ffe6;
  background: rgba(126, 231, 135, 0.16);
  border: 1px solid rgba(126, 231, 135, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.ob__toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}
