﻿                                                               
                       
                                                     
                                       
                             
                                                                  

.wf-float {
  position: fixed;
  right: 60px;
  bottom: 40px;
  z-index: 1200;
  width: 88px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wf-help {
  width: 88px;
  padding: 7px 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1.5px 14.6px rgba(23, 23, 27, .10);
  overflow: hidden;
}

.wf-float button {
  width: 100%;
  height: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #3f4758;
  font-family: var(--font-sans, "Source Han Sans CN", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "微软雅黑", Arial, sans-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  cursor: pointer;
  transition: color .18s ease, background .18s ease;
}
.wf-float button:hover { color: #1677ff; background: #f6f9ff; }
.wf-float button svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wf-float .wf-float-back {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  background: #fff;
  color: #17171b;
  box-shadow: 0 1.5px 14.6px rgba(23, 23, 27, .10);
}
.wf-float .wf-float-back svg { width: 30px; height: 30px; }
.wf-line {
  width: 50px;
  height: 1px;
  margin: 0 auto;
  background: #e5ebff;
}

                                          
.wf-modal[hidden] { display: none; }
.wf-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  font-family: var(--font-sans, "Source Han Sans CN", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "微软雅黑", Arial, sans-serif);
}
.wf-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .46);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.wf-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 24rem;
  padding: 1.625rem 1.5rem 1.375rem;
  border: 1px solid #e7ecf5;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1.75rem 4.375rem rgba(15, 23, 42, .24);
  text-align: center;
  font-family: inherit;
  animation: wfPop .18s ease-out;
}
@keyframes wfPop {
  from { opacity: 0; transform: translateY(.5rem) scale(.98); }
  to { opacity: 1; transform: none; }
}
.wf-modal-x {
  position: absolute;
  top: .625rem;
  right: .75rem;
  width: 1.875rem;
  height: 1.875rem;
  border: 0;
  border-radius: .5rem;
  background: transparent;
  color: #98a1b2;
  font-family: inherit;
  font-size: 1.375rem;
  line-height: 1;
  cursor: pointer;
}
.wf-modal-x:hover { background: #f2f5fa; color: #3d4a61; }
.wf-modal-card h3 {
  margin: 0 0 .5rem;
  color: #101828;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -.01em;
}
.wf-modal-card p {
  margin: 0;
  color: #5b6577;
  font-size: .875rem;
  line-height: 1.8;
}
.wf-mail {
  display: flex;
  align-items: center;
  gap: .375rem;
  margin: 1.125rem 0 .25rem;
  padding: .375rem .4375rem .375rem .75rem;
  border: 1px solid #e4eaf3;
  border-radius: .625rem;
  background: #f7f9fd;
}
.wf-mail span {
  flex: 1 1 auto;
  min-width: 0;
  color: #1f2a3d;
  font-family: inherit;
  font-size: .9375rem;
  text-align: left;
  overflow-wrap: anywhere;
}
.wf-copy {
  flex: 0 0 auto;
  height: 2.125rem;
  padding: 0 .75rem;
  border: 0;
  border-radius: .4375rem;
  background: #1677ff;
  color: #fff;
  font-family: inherit;
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
}
.wf-copy:hover { background: #0b66e4; }
.wf-copy.done { background: #12a150; }
.wf-tip { margin-top: .5rem !important; color: #12a150 !important; font-size: .75rem !important; }
.wf-tip[hidden] { display: none; }

.wf-wx-qr {
  position: relative;
  width: 14rem;
  height: 14rem;
  margin: 1rem auto .75rem;
  padding: .5rem;
  border: 1px solid #e6ecf5;
  border-radius: .875rem;
  background: #fff;
  box-shadow: 0 .625rem 1.75rem rgba(16, 24, 40, .08);
}
.wf-wx-qr img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: .5rem;
}
.wf-wx-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .875rem;
  background: #fff;
  box-shadow: 0 0 0 .1875rem #fff;
}
.wf-wx-logo span {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .6875rem;
  background: #07c160;
}
.wf-wx-logo svg { width: 1.75rem; height: 1.75rem; display: block; }
.wf-wx-tip { color: #8a93a5 !important; font-size: .75rem !important; }

.icp-token { color: inherit; text-decoration: none; }
.icp-token:hover { color: #1677ff; text-decoration: underline; }

@media (max-width: 760px) {
  .wf-float {
    right: 12px;
    bottom: 16px;
    width: 64px;
  }
  .wf-help { width: 64px; }
  .wf-float .wf-float-back { width: 64px; height: 58px; }
  .wf-float button { height: 54px; font-size: 12px; }
  .wf-float button svg { width: 22px; height: 22px; }
  .wf-float .wf-float-back svg { width: 22px; height: 22px; }
  .wf-line { width: 34px; }
  .wf-modal { padding: .875rem; }
  .wf-modal-card { padding: 1.5rem 1.125rem 1.125rem; }
  .wf-wx-qr { width: 12.5rem; height: 12.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .wf-float button { transition: none; }
  .wf-modal-card { animation: none; }
}
