.wf-mod {
  box-sizing: border-box;
  color: #fff;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
.wf-mod * { box-sizing: border-box; }
.wf-card {
  background: rgba(8, 22, 64, 0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 12px;
  margin: 0 12px 12px;
}
.wf-card h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #d7e6ff;
}
.wf-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
}
.wf-row:last-child { border-bottom: 0; }
.wf-muted { color: rgba(255,255,255,0.65); font-size: 12px; }
.wf-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex: 0 0 44px;
}
.wf-switch input { display: none; }
.wf-switch span {
  position: absolute;
  inset: 0;
  background: #3a4d7a;
  border-radius: 12px;
}
.wf-switch span:after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
}
.wf-switch input:checked + span { background: #498fff; }
.wf-switch input:checked + span:after { left: 23px; }
.wf-menu {
  margin: 0 16px 8px;
}
.wf-menu .menu-item-title {
  padding-left: .24rem;
  color: #fff;
  font-size: .38rem;
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: bold;
  margin: 12px 0 8px;
}
.wf-menu .menu-item-title .left {
  width: 3px;
  background: #fff;
  height: 20px;
  display: inline-block;
}
.wf-menu .menu-drawer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.wf-fixed {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 40;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.wf-pool-panel {
  top: 46px;
  max-height: 58vh;
  padding-top: 6px;
}
body.wf-route-pool .exchange-container {
  padding-top: 58vh;
}
.wf-page {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: #071536;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 24px;
}
.wf-page-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 12px;
  background: #071536;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.wf-page-head .wf-back {
  width: 32px;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
}
.wf-empty { text-align: center; color: rgba(255,255,255,0.5); padding: 12px 0; font-size: 12px; }

.wf-menu .icon-side-menu .menu-drawer-item {
  height: auto !important;
  min-height: 49px;
  padding: 10px 4px 10px 0 !important;
  line-height: 1.35;
  text-align: left;
}
.wf-menu .menu-drawer-item .itemtitle .ico {
  background: #fff;
  border-radius: 50%;
  box-shadow: 2px 2px 9px rgba(255, 255, 255, .39);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.wf-menu .menu-drawer-item .itemtitle img {
  width: 18px;
  height: 18px;
  display: block;
}
.wf-menu .menu-drawer-item .itemtitle {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wf-menu .menu-drawer-item .itemtitle span:last-child {
  white-space: nowrap;
}
