body {
  margin: 0;
  background: var(--growth-cloud);
  color: var(--growth-ink);
  font: 16px/1.5 MiSans, Inter, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button:disabled { cursor: default; }
.portal-header-brand img { height: 25px; width: auto; display: block; }

.staking-page { gap: 14px; }

.staking-cover {
  padding: 28px 20px;
  min-height: 144px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  color: white;
  background: #352174 url('/staking-hero.png') center / cover no-repeat;
}

.staking-cover h1 { margin: 0; font-size: clamp(26px, 6vw, 36px); line-height: 1.25; }
.staking-cover p { margin: 8px 0 0; color: #f0e8ff; font-size: 14px; }
.staking-rate { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.staking-rate h2, .staking-panel h1, .staking-panel h2 { margin: 0; font-size: 18px; line-height: 1.4; }
.staking-rate p, .staking-panel p { margin: 6px 0 0; color: var(--growth-muted); font-size: 14px; }
.staking-rate strong { color: #187451; font-size: 36px; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.staking-rate strong span { margin-inline-start: 2px; font-size: 22px; }
.staking-eligibility { margin: 0; color: var(--growth-muted); font-size: 13px; }

.staking-panel dl { margin: 12px 0 0; }
.staking-panel dl > div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--growth-line); padding: 10px 0; font-size: 14px; }
.staking-panel dt { color: var(--growth-muted); }
.staking-panel dd { margin: 0; text-align: right; }
.staking-panel .staking-action { width: 100%; margin-top: 16px; background: var(--growth-lavender); color: var(--growth-muted); }
.staking-region { padding: 20px; }
.staking-region a { color: var(--growth-violet); }

/* HeroUI semantic theme roles mapped to ASIA brand values. */
.staking-page {
  --accent: var(--growth-violet);
  --success: #187451;
  --surface: var(--growth-surface);
  --muted: var(--growth-muted);
}
.staking-rate strong { color: var(--success); }
.growth-shell .staking-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.staking-panel .staking-empty { padding: 18px 0 2px; text-align: center; }
.staking-panel .staking-empty .empty-state__title { color: var(--growth-muted); font-size: 14px; font-weight: 550; }
.staking-schedule dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.staking-schedule dt, .staking-schedule p { font-size: 13px; color: var(--muted); }
.staking-schedule dd { margin: 4px 0 0; font-size: 16px; font-weight: 650; }
.staking-schedule p { margin: 10px 0 0; }


@media (max-width: 430px) {
  .staking-cover { min-height: 132px; padding-block: 22px; background-position: right center; }
  .growth-shell .staking-page > .growth-panel { padding-block: 15px; }
}

.staking-login { border-top: 2px solid var(--growth-lavender); }
.staking-login-button {
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  border-radius: 12px;
  background: var(--growth-violet);
  color: #fff;
  font-weight: 650;
}
.staking-login-button[data-disabled] { opacity: .68; }
.staking-login #staking-login-status { min-height: 2.8em; margin-top: 10px; font-size: 13px; }
.staking-cover {
  background-image: linear-gradient(90deg, #2c145daa, transparent 76%), url('/staking-hero.png');
}
@media (prefers-reduced-motion: no-preference) {
  .staking-page > :is(.staking-cover, .growth-panel) { animation: staking-enter 180ms ease-out both; }
  @keyframes staking-enter { from { opacity: .85; transform: translateY(4px); } to { opacity: 1; transform: none; } }
  .staking-login-button { transition: background-color 140ms ease, opacity 140ms ease; }
  .staking-login-button[data-hovered] { background-color: #5f34d4; }
}

.staking-logout { margin: 0; }
.growth-shell.portal-chrome-shell > .growth-header.portal-header .staking-logout .growth-wallet {
  max-width: none;
}
