.recharge-help-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin: 4px 0 -6px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #334583;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.recharge-help-trigger[hidden] { display: none; }
.recharge-help-trigger:hover { text-decoration: underline; text-underline-offset: 3px; }
.recharge-help-trigger__icon {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
}

.recharge-help {
  box-sizing: border-box;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dce3ee;
  border-radius: 16px;
  background: #fff;
  color: #17233a;
  box-shadow: 0 22px 68px #182e5b38;
}

.recharge-help[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.recharge-help::backdrop { background: #131f3c70; }

.recharge-help__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid #e8edf5;
  background: #f8faff;
}

.recharge-help__head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 730;
  letter-spacing: -.02em;
}

.recharge-help__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e0e6f0;
  border-radius: 8px;
  background: #fff;
  color: #3c4b66;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.recharge-help__body {
  padding: 4px 22px 22px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.recharge-help__steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: recharge-help-step;
}

.recharge-help__steps li {
  position: relative;
  padding: 12px 0 12px 36px;
  counter-increment: recharge-help-step;
}

.recharge-help__steps li + li { border-top: 1px solid #e8edf5; }
.recharge-help__steps li::before {
  position: absolute;
  top: 12px;
  left: 0;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  background: #edf1ff;
  color: #344b94;
  content: counter(recharge-help-step);
  font-size: 13px;
  font-weight: 750;
}

.recharge-help__steps strong, .recharge-help__support h3 {
  display: block;
  margin: 0 0 4px;
  color: #18253b;
  font-size: 14px;
  line-height: 1.6;
}

.recharge-help__steps p, .recharge-help__support p {
  margin: 0;
  color: #46556e;
  font-size: 13.5px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.recharge-help__steps a {
  color: #344b94;
  font-weight: 650;
  text-underline-offset: 2px;
  text-decoration: underline;
}

.recharge-help__support {
  margin-top: 6px;
  padding: 14px;
  border: 1px solid #e1e8f4;
  border-radius: 8px;
  background: #f6f8fd;
}

.recharge-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.recharge-help__join, .recharge-help__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #cdd7ec;
  border-radius: 8px;
  background: #fff;
  color: #263964;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.recharge-help__join {
  border-color: #344b94;
  background: #344b94;
  color: #fff;
}

.recharge-help__join:hover { background: #293d80; }
.recharge-help__copy:hover, .recharge-help__close:hover { background: #eef2fa; }
.recharge-help__copy strong { font-variant-numeric: tabular-nums; user-select: text; }
.recharge-help__copy-status { display: block; margin-top: 6px; color: #384b70; font-size: 12px; }
.recharge-help__copy-status:empty { display: none; }

.recharge-help :focus-visible, .recharge-help-trigger:focus-visible {
  outline: 2px solid #5266b3;
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .recharge-help {
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 16px);
    margin: 0;
    border-radius: 16px 16px 0 0;
    border-bottom: 0;
  }

  .recharge-help__head { padding: 10px 16px; }
  .recharge-help__head h2 { font-size: 20px; }
  .recharge-help__body { padding: 3px 16px calc(16px + env(safe-area-inset-bottom)); }
  .recharge-help__support { padding: 12px; }
  .recharge-help__actions > * { flex: 1 1 auto; }
}
