.pg-sponsor {
  box-sizing: border-box;
  width: min(500px, calc(100% - 32px));
  max-height: min(850px, calc(100dvh - 40px));
  margin: auto;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line, #29292c);
  border-radius: 20px;
  background: var(--bg, #080808);
  color: var(--fg, #f5f5f7);
  box-shadow: 0 28px 100px rgb(0 0 0 / 28%), 0 1px 0 rgb(255 255 255 / 8%) inset;
  font: inherit;
}
.pg-sponsor:not([open]) { display: none; }
.pg-sponsor::backdrop {
  background: rgb(0 0 0 / 48%);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.pg-sponsor .pg-sponsor__panel {
  padding: 26px 30px 24px;
}
.pg-sponsor .pg-sponsor__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.pg-sponsor .pg-sponsor__mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line, #29292c);
  border-radius: 12px;
  background: var(--card, #141416);
}
.pg-sponsor .pg-sponsor__icon {
  display: block;
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pg-sponsor .pg-sponsor__mark .pg-sponsor__icon { width: 21px; height: 21px; }
.pg-sponsor .pg-sponsor__close {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin: -8px -10px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--muted, #99999f);
  background: transparent;
  cursor: pointer;
}
.pg-sponsor .pg-sponsor__close:hover {
  color: var(--fg, #f5f5f7);
  background: var(--card, #141416);
}
.pg-sponsor .pg-sponsor__title {
  margin: 0;
  font-size: clamp(24px, 5vw, 29px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.35;
}
.pg-sponsor .pg-sponsor__intro {
  margin: 10px 0 0;
  color: var(--muted, #99999f);
  font-size: 14px;
  line-height: 1.7;
}
.pg-sponsor .pg-sponsor__options { margin-top: 26px; }
.pg-sponsor .pg-sponsor__paypal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 18px 20px;
  border: 1px solid var(--line, #29292c);
  border-radius: 14px;
  background: var(--card, #141416);
  color: var(--fg, #f5f5f7);
  text-decoration: none;
  transition: border-color .18s, background .18s;
}
.pg-sponsor .pg-sponsor__paypal:hover {
  border-color: var(--muted, #99999f);
  background: color-mix(in srgb, var(--card, #141416) 92%, var(--fg, #f5f5f7));
}
.pg-sponsor .pg-sponsor__paypal-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pg-sponsor .pg-sponsor__paypal-copy strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.pg-sponsor .pg-sponsor__paypal-copy > span {
  color: var(--muted, #99999f);
  font-size: 12px;
  line-height: 1.5;
}
.pg-sponsor .pg-sponsor__wallet { margin-top: 24px; }
.pg-sponsor .pg-sponsor__wallet + .pg-sponsor__wallet {
  padding-top: 22px;
  border-top: 1px solid var(--line, #29292c);
}
.pg-sponsor .pg-sponsor__wallet-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.pg-sponsor .pg-sponsor__wallet-label {
  display: flex;
  align-items: center;
  gap: 9px;
}
.pg-sponsor .pg-sponsor__wallet-label h3 {
  margin: 0;
  color: var(--fg, #f5f5f7);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: 0;
}
.pg-sponsor .pg-sponsor__wallet-label .pg-sponsor__icon { width: 16px; height: 19px; }
.pg-sponsor .pg-sponsor__assets {
  color: var(--muted, #99999f);
  font-size: 11px;
  text-align: right;
  overflow-wrap: anywhere;
}
.pg-sponsor .pg-sponsor__network {
  margin: 12px 0 11px;
  color: var(--muted, #99999f);
  font-size: 11px;
  line-height: 1.8;
}
.pg-sponsor .pg-sponsor__network strong { font-weight: 500; color: var(--fg, #f5f5f7); }
.pg-sponsor .pg-sponsor__address {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line, #29292c);
  border-radius: 10px;
  background: var(--card, #141416);
  color: var(--fg, #f5f5f7);
  font: 12px/1.9 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: normal;
  user-select: all;
  -webkit-user-select: all;
}
.pg-sponsor .pg-sponsor__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  margin-top: 12px;
  padding: 9px 15px;
  border: 1px solid var(--line, #29292c);
  border-radius: 10px;
  background: transparent;
  color: var(--fg, #f5f5f7);
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}
.pg-sponsor .pg-sponsor__button:hover:not(:disabled) {
  border-color: var(--muted, #99999f);
  background: var(--card, #141416);
}
.pg-sponsor .pg-sponsor__button:disabled { opacity: .6; cursor: wait; }
.pg-sponsor .pg-sponsor__button .pg-sponsor__icon { width: 14px; height: 14px; }
.pg-sponsor .pg-sponsor__status {
  margin: 8px 0 0;
  color: var(--fg, #f5f5f7);
  font-size: 11px;
  line-height: 1.7;
}
.pg-sponsor .pg-sponsor__status:empty { margin: 0; }
.pg-sponsor .pg-sponsor__note {
  margin: 12px 0 0;
  color: var(--muted, #99999f);
  font-size: 11px;
  line-height: 1.8;
}
.pg-sponsor .pg-sponsor__availability {
  margin: 0;
  padding: 14px 0;
  color: var(--muted, #99999f);
  font-size: 13px;
  line-height: 1.8;
}
.pg-sponsor .pg-sponsor__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line, #29292c);
}
.pg-sponsor .pg-sponsor__footer p {
  margin: 0;
  color: var(--muted, #99999f);
  font-size: 10px;
  line-height: 1.8;
}
.pg-sponsor .pg-sponsor__privacy {
  flex: none;
  color: var(--muted, #99999f);
  font-size: 10px;
  line-height: 1.8;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pg-sponsor .pg-sponsor__privacy:hover { color: var(--fg, #f5f5f7); }
.pg-sponsor a:focus-visible,
.pg-sponsor button:focus-visible,
.pg-sponsor code:focus-visible {
  outline: 2px solid var(--fg, #f5f5f7);
  outline-offset: 4px;
}
@media (max-width: 480px) {
  .pg-sponsor {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }
  .pg-sponsor .pg-sponsor__panel { padding: 22px 22px 20px; }
  .pg-sponsor .pg-sponsor__options { margin-top: 22px; }
  .pg-sponsor .pg-sponsor__paypal { padding-inline: 16px; }
  .pg-sponsor .pg-sponsor__address { font-size: 11px; padding-inline: 12px; }
  .pg-sponsor .pg-sponsor__footer { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-sponsor .pg-sponsor__paypal { transition: none; }
}
