.contact-us-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: none; /* 默认隐藏，js控制显示 */
}

.contact-us-widget-btn {
  width: 60px;
  height: 60px;
  border: 1px solid transparent;
  border-radius: 50%;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  background-image: linear-gradient(
      to right,
      rgba(24, 24, 27, 1),
      rgba(24, 24, 27, 1)
    ),
    linear-gradient(0deg, rgba(255, 255, 255, 0.7), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.contact-us-widget-btn:hover {
  background-image: linear-gradient(
      0deg,
      rgba(24, 24, 27, 0.5),
      rgba(24, 24, 27, 1)
    ),
    linear-gradient(0deg, rgba(255, 255, 255, 0.7), transparent);
}

.contact-us-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../../images/contact_widget_icon.png");
}

.contact-us-tip {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translate(-50%, 0) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  z-index: 10;
}

.contact-us-tip-content {
  width: 86px;
  height: 26px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eef7ff;
}

.contact-us-tip-triangle {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 7px solid rgba(40, 40, 45, 0.95);
  margin: 0 auto;
  margin-top: -2px;
}

.message-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(40, 40, 50, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.message-modal-content {
  background: #232228;
  border: 1px solid transparent;
  border-image: linear-gradient(
      to bottom,
      rgba(228, 25, 54, 0.7),
      rgba(228, 25, 54, 0.3)
    )
    1;
  border-radius: 6px;
  width: 408px;
  height: 262px;
  padding: 28px 24px 20px 24px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.18);
  position: relative;
  text-align: center;
  color: #fff;
  font-family: "Funnel Display", "Magnita", serif;
}
.message-modal-title {
  font-size: 14px;
  text-align: left;
  font-weight: 400;
}
.message-modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2em;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.message-modal-close:hover {
  opacity: 1;
}
.message-modal-icon {
  margin: 18px 0 18px 0;
}
.message-modal-icon svg {
  display: block;
  margin: 0 auto;
}
.message-modal-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}
.message-modal-ok {
  width: 100%;
  padding: 6px 0;
  border-radius: 2px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.message-modal-ok:hover {
  background: #fff;
  color: #232228;
}
