/* Wallet drawer with three wallet buttons - replaces iframe version */
.wallet-panel-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 420;
  background: rgba(15, 23, 42, 0.4);
}
[data-theme="light"] .wallet-panel-backdrop {
  background: rgba(15, 23, 42, 0.35);
}
.wallet-panel-backdrop.is-open {
  display: block;
}
.wallet-panel {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 94vw);
  z-index: 430;
  background: var(--card);
  border-left: 1px solid var(--stroke-strong);
  transform: translateX(calc(100% + 24px));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.18);
  min-height: 0;
}
[data-theme="dark"] .wallet-panel {
  box-shadow: -12px 0 56px rgba(0, 0, 0, 0.45);
}
.wallet-panel.is-open {
  transform: translateX(0);
}
.wallet-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid var(--stroke);
  background: linear-gradient(
    165deg,
    rgba(255, 207, 102, 0.18) 0%,
    rgba(255, 153, 66, 0.06) 42%,
    var(--card) 78%
  );
  flex-shrink: 0;
}
[data-theme="dark"] .wallet-panel-top {
  background: linear-gradient(
    165deg,
    rgba(120, 90, 20, 0.2) 0%,
    rgba(60, 45, 10, 0.08) 45%,
    var(--card) 78%
  );
}
.wallet-panel-top-text {
  flex: 1;
  min-width: 0;
}
.wallet-panel-title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.wallet-panel-lead {
  margin: 10px 0 0 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.wallet-panel-lead-accent {
  color: var(--text);
  font-weight: 800;
  background: linear-gradient(120deg, #ea580c, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wallet-panel-close {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--stroke-strong);
  background: var(--out-bg);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.wallet-panel-close:hover {
  background: var(--sb-ico-bg);
}
.wallet-panel-body-inner {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wallet-pick-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wallet-pick-li {
  margin: 0;
  padding: 0;
  width: 100%;
  list-style: none;
}
.wallet-pick-card {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
}
.wallet-pick-card--action[role='button'] {
  cursor: pointer;
  outline: none;
}
.wallet-pick-card--action[role='button'][aria-disabled='true'] {
  cursor: default;
}
.wallet-pick-card--action[role='button'][aria-disabled='true'] .wallet-pick-title-link {
  cursor: pointer;
}
.wallet-pick-title-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.wallet-pick-title-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wallet-pick-title-link .wallet-pick-name {
  font-weight: 400;
  letter-spacing: -0.01em;
}
.wallet-pick-external-icon {
  flex-shrink: 0;
  display: block;
  opacity: 0.72;
  color: var(--text-soft);
}
.wallet-pick-title-link:hover .wallet-pick-external-icon {
  opacity: 0.95;
  color: var(--text);
}
.wallet-pick-card-inner {
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: var(--out-bg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wallet-pick-card--mydoge.wallet-pick-card--action:not([aria-disabled='true']) .wallet-pick-card-inner:hover {
  border-color: rgba(242, 216, 138, 0.65);
  box-shadow:
    0 0 0 1px rgba(242, 216, 138, 0.2),
    0 4px 22px rgba(242, 216, 138, 0.16);
}
[data-theme="dark"] .wallet-pick-card--mydoge.wallet-pick-card--action:not([aria-disabled='true']) .wallet-pick-card-inner:hover {
  box-shadow:
    0 0 0 1px rgba(242, 216, 138, 0.18),
    0 4px 26px rgba(242, 216, 138, 0.12);
}
.wallet-pick-card--spooky.wallet-pick-card--action:not([aria-disabled='true']) .wallet-pick-card-inner:hover {
  border-color: rgba(139, 54, 212, 0.58);
  box-shadow:
    0 0 0 1px rgba(139, 54, 212, 0.22),
    0 4px 22px rgba(139, 54, 212, 0.2);
}
[data-theme="dark"] .wallet-pick-card--spooky.wallet-pick-card--action:not([aria-disabled='true']) .wallet-pick-card-inner:hover {
  box-shadow:
    0 0 0 1px rgba(139, 54, 212, 0.2),
    0 4px 26px rgba(139, 54, 212, 0.18);
}
.wallet-pick-card--spooky.wallet-pick-card--action.is-active .wallet-pick-card-inner {
  border-color: #8b36d4;
  box-shadow:
    0 0 0 1px rgba(139, 54, 212, 0.28),
    0 4px 22px rgba(139, 54, 212, 0.18);
}
.wallet-pick-card--mydoge.wallet-pick-card--action.is-active .wallet-pick-card-inner {
  border-color: #f2d88a;
  box-shadow:
    0 0 0 1px rgba(242, 216, 138, 0.55),
    0 4px 22px rgba(242, 216, 138, 0.2);
}
.wallet-pick-card--soon .wallet-pick-card-inner {
  opacity: 0.88;
  filter: grayscale(0.25);
}
[data-theme="dark"] .wallet-pick-card--soon .wallet-pick-card-inner {
  filter: grayscale(0.35);
}
.wallet-pick-card--action[aria-disabled='true'] .wallet-pick-card-inner {
  opacity: 0.5;
}
.wallet-pick-visual {
  display: block;
  background: var(--card);
  line-height: 0;
}
.wallet-pick-img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}
.wallet-pick-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--stroke);
}
.wallet-pick-name {
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.wallet-pick-card--soon .wallet-pick-soon {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #da8016;
}
[data-theme="dark"] .wallet-pick-card--soon .wallet-pick-soon {
  color: #ffffff;
  background: #da8016;
  border-color: rgba(0, 0, 0, 0.22);
}
.wallet-pick-connect-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  max-width: 100%;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--card);
}
.wallet-pick-connect-cta--mydoge {
  border-color: rgba(242, 216, 138, 0.42);
  background: rgba(242, 216, 138, 0.1);
  --wallet-light: #f2d88a;
  --wallet-light-off-ring: rgba(242, 216, 138, 0.38);
}
[data-theme="dark"] .wallet-pick-connect-cta--mydoge {
  border-color: rgba(242, 216, 138, 0.32);
  background: rgba(242, 216, 138, 0.08);
  --wallet-light-off-ring: rgba(242, 216, 138, 0.45);
}
.wallet-pick-connect-cta--spooky {
  border-color: rgba(139, 54, 212, 0.42);
  background: rgba(139, 54, 212, 0.1);
  --wallet-light: #8b36d4;
  --wallet-light-off-ring: rgba(139, 54, 212, 0.38);
}
[data-theme="dark"] .wallet-pick-connect-cta--spooky {
  border-color: rgba(139, 54, 212, 0.38);
  background: rgba(139, 54, 212, 0.12);
  --wallet-light-off-ring: rgba(139, 54, 212, 0.5);
}
.wallet-pick-connect-lights {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.wallet-pick-light {
  flex-shrink: 0;
  border-radius: 50%;
  box-sizing: border-box;
}
.wallet-pick-light--off {
  width: 9px;
  height: 9px;
  border: 2px solid var(--wallet-light-off-ring);
  background: transparent;
  opacity: 0.95;
}
.wallet-pick-light--on {
  width: 10px;
  height: 10px;
  border: none;
  background: var(--wallet-light);
}
.wallet-pick-connect-cta--mydoge .wallet-pick-light--on {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 0 10px rgba(242, 216, 138, 0.55);
}
.wallet-pick-connect-cta--spooky .wallet-pick-light--on {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 0 10px rgba(139, 54, 212, 0.48);
}
.wallet-pick-card--mydoge.wallet-pick-card--action:not([aria-disabled='true']):hover .wallet-pick-connect-cta--mydoge {
  border-color: rgba(242, 216, 138, 0.72);
  box-shadow: 0 0 14px rgba(242, 216, 138, 0.12);
}
.wallet-pick-card--spooky.wallet-pick-card--action:not([aria-disabled='true']):hover .wallet-pick-connect-cta--spooky {
  border-color: rgba(139, 54, 212, 0.62);
  box-shadow: 0 0 14px rgba(139, 54, 212, 0.14);
}
.wallet-pick-connect-text.wallet-pick-hint,
.wallet-pick-hint.wallet-pick-connect-text {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.wallet-pick-card--mydoge.is-connecting .wallet-pick-light--on,
.wallet-pick-card--spooky.is-connecting .wallet-pick-light--on {
  animation: wallet-pick-light-pulse 0.85s ease-in-out infinite;
}
@keyframes wallet-pick-light-pulse {
  0%,
  100% {
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    opacity: 0.65;
    filter: brightness(1.25);
  }
}
.wallet-eco-disclaimer {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-soft);
  opacity: 0.92;
}
@media (prefers-reduced-motion: reduce) {
  .wallet-panel {
    transition: none;
  }
  .wallet-pick-card-inner {
    transition: none;
  }
  .wallet-pick-card--mydoge.is-connecting .wallet-pick-light--on,
  .wallet-pick-card--spooky.is-connecting .wallet-pick-light--on {
    animation: none;
  }
}
