/* Mine profile details and first-level merchant support, 2026-10-24. */
.mine-page .mine-name {
  min-width: 0;
}
.mine-page .mine-profile-detail {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  overflow-wrap: anywhere;
}
.mine-page .mine-name .mine-profile-detail {
  color: #fff;
}
.mine-page .profile-main .mine-profile-detail {
  color: #666;
}
.mine-page .mine-profile-actions {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 10px;
}
.mine-page .mine-profile-actions .big-menu {
  box-sizing: border-box;
  min-width: 0;
  height: 110px;
  padding: 14px 4px;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}
.mine-page .mine-profile-actions .big-menu > text:first-child {
  white-space: nowrap;
  font-size: 14px !important;
}
.mine-page .mine-profile-actions .round-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  font-size: 21px;
}
.mine-page .agent-support-icon {
  background: #4bbf73;
}
/* Keep the existing recharge action below settings instead of over the cards. */
.mine-page.merchant > .charge-float {
  position: static;
  display: block;
  margin: 12px 0 0 auto;
  right: auto;
  bottom: auto;
  z-index: auto;
}
.mine-page .agent-support-mask {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 24px;
  background: rgba(0, 0, 0, .52);
}
.mine-page .agent-support-dialog {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 340px;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  color: #252525;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
}
.mine-page .agent-support-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 700;
}
.mine-page .agent-support-close {
  display: block;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin: -6px -6px -6px 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f5f5f5;
  color: #777;
  font-size: 25px;
  font-weight: 400;
  line-height: 30px;
}
.mine-page .agent-support-qr {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto 16px;
  object-fit: contain;
}
.mine-page .agent-support-contact {
  display: block;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  user-select: text;
  -webkit-user-select: text;
}
.mine-page .agent-support-message {
  display: block;
  padding: 22px 0;
  color: #777;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}
.mine-page .agent-support-done {
  display: block;
  width: 100%;
  margin: 20px 0 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 24px;
  background: #e8293e;
  color: #fff;
  font-size: 15px;
  line-height: 22px;
}
@media (max-width: 360px) {
  .mine-page .mine-user .mine-avatar {
    width: 60px;
    height: 60px;
    margin-right: 12px;
  }
  .mine-page .mine-user .edit-pill {
    width: 72px;
    padding: 0 8px;
    flex-shrink: 0;
  }
  .mine-page .mine-profile-actions {
    gap: 8px;
  }
  .mine-page .mine-profile-actions .big-menu > text:first-child {
    font-size: 13px !important;
  }
}
