.gme-wallet-hub {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  color: #eafff5;
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.gme-wallet-hub__header {
  margin-bottom: 16px;
}

.gme-wallet-hub__title {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #00ff88;
  text-shadow: 0 0 14px rgba(0, 255, 136, 0.4);
}

/* Override Elementor kit defaults on this component only. */
.elementor-kit-5 .gme-wallet-hub h1.gme-wallet-hub__title {
  color: #00ff88;
}

.gme-wallet-hub__status {
  margin: 0;
  font-size: 14px;
  opacity: 0.85;
}

.gme-wallet-hub__panel {
  background: rgba(17, 24, 34, 0.95);
  border: 2px solid #00ff88;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.15);
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.gme-wallet-hub__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gme-wallet-hub__row:last-of-type {
  border-bottom: none;
}

.gme-wallet-hub__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.75;
}

.gme-wallet-hub__value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 16px;
  word-break: break-all;
}

.gme-wallet-hub__actions {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  position: relative;
  z-index: 6;
  pointer-events: auto;
}

.gme-wallet-hub__btn {
  display: block;
  width: 100%;
  border: 1px solid rgba(0, 255, 136, 0.58);
  background: rgba(7, 26, 22, 0.86);
  color: #d8ffef;
  padding: 14px 14px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: auto;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

/* Override Elementor kit red button defaults on Wallet Hub only. */
.elementor-kit-5 .gme-wallet-hub .gme-wallet-hub__btn {
  border: 1px solid rgba(0, 255, 136, 0.58);
  background: rgba(7, 26, 22, 0.86);
  color: #d8ffef;
}

.gme-wallet-hub__btn:hover {
  box-shadow: 0 0 24px rgba(0, 255, 136, 0.24);
  transform: translateY(-1px);
}

.elementor-kit-5 .gme-wallet-hub .gme-wallet-hub__btn:hover,
.elementor-kit-5 .gme-wallet-hub .gme-wallet-hub__btn:focus-visible {
  border-color: rgba(0, 255, 221, 0.9);
  background: linear-gradient(180deg, rgba(5, 34, 30, 0.95) 0%, rgba(4, 24, 32, 0.95) 100%);
  color: #eafff7;
  box-shadow: 0 0 0 1px rgba(0, 255, 221, 0.35), 0 0 22px rgba(0, 255, 221, 0.35);
}

.gme-wallet-hub__btn:disabled,
.gme-wallet-hub__btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.gme-wallet-hub__btn--primary {
  border-color: #00ff88;
  background: linear-gradient(180deg, #00e27a 0%, #00b86a 100%);
  color: #03120d;
  box-shadow: 0 0 18px rgba(0, 255, 136, 0.24);
}

.elementor-kit-5 .gme-wallet-hub .gme-wallet-hub__btn--primary {
  border-color: #00ff88;
  background: linear-gradient(180deg, #00e27a 0%, #00b86a 100%);
  color: #03120d;
}

.gme-wallet-hub__hidden {
  display: none !important;
}

.gme-wallet-hub__btn--danger {
  border-color: rgba(0, 242, 255, 0.62);
  color: #dffcff;
  background: rgba(5, 24, 30, 0.9);
}

.elementor-kit-5 .gme-wallet-hub .gme-wallet-hub__btn--danger {
  border-color: rgba(0, 242, 255, 0.62);
  background: rgba(5, 24, 30, 0.9);
  color: #dffcff;
}

a.gme-wallet-hub__btn--link {
  text-decoration: none;
  border-color: rgba(0, 255, 136, 0.75);
  background: rgba(17, 24, 34, 0.95);
  color: #eafff5;
}

/* Hidden mount: the wallet chip UI is kept off-screen for shared logic + balance sync. */
.gme-wallet-hub__mount {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .gme-wallet-hub {
    padding: 40px 20px 56px;
  }
  .gme-wallet-hub__title {
    font-size: 34px;
  }
}

/* iPhone Safari safeguard: keep wallet hub page naturally scrollable. */
@media (max-width: 1024px) {
  html body.page-id-5013 {
    overflow-y: auto !important;
    overflow-x: visible !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.page-id-5013 #primary.site-main,
  body.page-id-5013 .site-main {
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    height: auto !important;
    max-height: none !important;
  }

  body.page-id-5013 #site-header,
  body.page-id-5013 #site-header * {
    touch-action: auto !important;
  }

  body.page-id-5013 .gme-wallet-hub {
    padding-bottom: 180px;
  }
}
