.pivx {
  --staking-purple: #b876ff;
  --staking-purple-deep: #7448df;
  --staking-green: #55f5ac;
  --staking-cyan: #48d8ff;
  --staking-gold: #ffca63;
  --staking-ink: #090713;
  --staking-panel: rgba(18, 14, 32, 0.92);
  --staking-border: rgba(184, 118, 255, 0.28);
  --staking-muted: #bdb5cf;
}

.pivx .calculator {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--staking-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 0%, rgba(116, 72, 223, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(24, 20, 42, 0.97), rgba(10, 8, 19, 0.97));
  box-shadow: 0 24px 70px rgba(4, 2, 10, 0.38), inset 0 1px rgba(255, 255, 255, 0.035);
}

.live-rate-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(360px, 1fr);
  gap: 18px 28px;
  align-items: center;
  margin-bottom: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(72, 216, 255, 0.22);
  border-radius: 16px;
  background: rgba(5, 13, 24, 0.68);
}

.live-rate-panel__copy,
.live-rate-panel__metrics span {
  display: flex;
  flex-direction: column;
}

.live-rate-panel__eyebrow,
.staking-history__eyebrow {
  color: var(--staking-cyan);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.live-rate-panel__copy strong {
  margin-top: 5px;
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.live-rate-panel__copy > span:last-child {
  margin-top: 5px;
  color: var(--staking-muted);
  font-size: 0.86rem;
}

.live-rate-panel__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 9px;
}

.live-rate-panel__metrics span {
  min-height: 67px;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.live-rate-panel__metrics small {
  color: #9e97af;
  font-size: 0.7rem;
}

.live-rate-panel__metrics b {
  margin-top: 3px;
  color: #fff;
  font-size: 1.03rem;
}

.live-rate-panel__source {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9e97af;
  font-size: 0.76rem;
}

.live-rate-panel__source a {
  margin-left: auto;
  color: var(--staking-green);
  font-weight: 700;
  text-decoration: none;
}

.live-rate-panel__source a:hover {
  color: #fff;
}

.live-rate-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--staking-gold);
  box-shadow: 0 0 12px rgba(255, 202, 99, 0.75);
}

.live-rate-dot.is-live {
  background: var(--staking-green);
  box-shadow: 0 0 14px rgba(85, 245, 172, 0.85);
}

.live-rate-dot.is-fallback {
  background: var(--staking-gold);
}

.pivx .calc-inputs {
  align-items: flex-start;
  gap: 14px;
}

.pivx .calc-inputs label {
  min-width: 190px;
  color: #d9d4e3;
  font-weight: 700;
}

.pivx .calc-inputs input {
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(4, 3, 9, 0.7);
  outline: none;
}

.pivx .calc-inputs input:focus {
  border-color: var(--staking-purple);
  box-shadow: 0 0 0 3px rgba(184, 118, 255, 0.13), 0 0 24px rgba(116, 72, 223, 0.14);
}

.rate-field__control {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) auto;
  gap: 8px;
  margin-top: 5px;
}

.rate-field__control input {
  margin-top: 0 !important;
}

.pivx .calculator #useLiveRate {
  min-height: 46px;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid rgba(85, 245, 172, 0.42);
  border-radius: 8px;
  background: rgba(85, 245, 172, 0.1);
  color: var(--staking-green);
  white-space: nowrap;
}

.pivx .calculator #useLiveRate:hover {
  border-color: var(--staking-green);
  box-shadow: 0 0 18px rgba(85, 245, 172, 0.16);
}

#rateMode {
  min-height: 17px;
  margin-top: 6px;
  color: #9e97af;
  font-size: 0.7rem;
  font-weight: 500;
}

#rateMode.is-manual {
  color: var(--staking-gold);
}

.staking-history {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(184, 118, 255, 0.3);
  border-radius: 24px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 92% 4%, rgba(72, 216, 255, 0.13), transparent 30%),
    linear-gradient(145deg, rgba(17, 13, 31, 0.98), rgba(7, 9, 18, 0.98));
  background-size: 42px 42px, 42px 42px, auto, auto;
  box-shadow: 0 26px 80px rgba(3, 2, 8, 0.45);
}

.staking-history::after {
  content: "";
  position: absolute;
  top: -130px;
  right: -110px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(72, 216, 255, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.staking-history__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.staking-history__header h2 {
  margin: 6px 0 5px !important;
  padding: 0 !important;
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 2.7rem) !important;
}

.staking-history__header p {
  max-width: 760px;
  margin: 0;
  color: var(--staking-muted);
}

.staking-history__ranges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.staking-history__ranges button {
  box-sizing: border-box;
  width: auto;
  min-width: 45px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #aaa3ba;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
}

.staking-history__ranges button:hover,
.staking-history__ranges button.is-active {
  border-color: rgba(184, 118, 255, 0.72);
  background: rgba(184, 118, 255, 0.16);
  color: #fff;
  box-shadow: 0 0 18px rgba(184, 118, 255, 0.15);
}

.staking-history__metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 16px;
}

.staking-history__metrics article {
  min-height: 100px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(5, 4, 12, 0.58);
}

.staking-history__metrics small,
.staking-history__metrics span {
  display: block;
  color: #968fa7;
  font-size: 0.7rem;
}

.staking-history__metrics strong {
  display: block;
  margin: 5px 0 3px;
  color: #fff;
  font-size: clamp(1.15rem, 2.5vw, 1.62rem);
}

.staking-history__metrics article:nth-child(1) strong {
  color: var(--staking-purple);
}

.staking-history__metrics article:nth-child(2) strong {
  color: var(--staking-green);
}

.staking-history__chart {
  position: relative;
  z-index: 1;
  height: 360px;
  padding: 16px;
  border: 1px solid rgba(72, 216, 255, 0.13);
  border-radius: 16px;
  background: rgba(2, 7, 14, 0.72);
}

.staking-history__empty {
  position: absolute;
  inset: auto 50% 24px auto;
  width: min(88%, 620px);
  transform: translateX(50%);
  padding: 10px 14px;
  border: 1px solid rgba(255, 202, 99, 0.25);
  border-radius: 10px;
  background: rgba(255, 202, 99, 0.08);
  color: #e8d4a7;
  text-align: center;
  font-size: 0.76rem;
}

.staking-history__footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  color: #8f889f;
  font-size: 0.72rem;
}

#historyStatus {
  color: #c7c0d4;
}

@media (max-width: 900px) {
  .live-rate-panel {
    grid-template-columns: 1fr;
  }

  .staking-history__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .staking-history__ranges {
    justify-content: flex-start;
  }

  .staking-history__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .live-rate-panel {
    padding: 15px;
  }

  .live-rate-panel__metrics {
    grid-template-columns: 1fr;
  }

  .live-rate-panel__metrics span {
    min-height: 52px;
  }

  .live-rate-panel__source {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .live-rate-panel__source a {
    width: 100%;
    margin-left: 16px;
  }

  .pivx .calc-inputs label {
    min-width: 100%;
  }

  .rate-field__control {
    grid-template-columns: 1fr;
  }

  .staking-history {
    margin-inline: -4px;
    padding: 18px 14px;
    border-radius: 18px;
  }

  .staking-history__metrics {
    grid-template-columns: 1fr 1fr;
  }

  .staking-history__ranges {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .staking-history__ranges button {
    width: 100%;
  }

  .staking-history__metrics article {
    min-height: 88px;
    padding: 12px;
  }

  .staking-history__chart {
    height: 330px;
    padding: 10px 6px;
  }

  .staking-history__footer {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .staking-history__metrics {
    grid-template-columns: 1fr;
  }
}

/* === PIVX staking control deck === */
body.pivx-staking-page {
  --staking-bg: #061016;
  --staking-panel-strong: rgba(8, 19, 29, 0.97);
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 11%, rgba(72, 216, 255, 0.11), transparent 29rem),
    radial-gradient(circle at 88% 36%, rgba(184, 118, 255, 0.13), transparent 34rem),
    radial-gradient(circle at 48% 88%, rgba(85, 245, 172, 0.075), transparent 32rem),
    linear-gradient(180deg, #061016 0%, #0a0a15 51%, #05090d 100%);
  color: #f7f6fb;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 16px;
}

body.pivx-staking-page::before {
  content: "";
  position: fixed;
  inset: 72px 0 0;
  z-index: -1;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(72, 216, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 118, 255, 0.075) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.pivx-staking-page #export-area.container {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  box-sizing: border-box;
  margin: 24px auto 64px;
  padding: 18px 20px 24px !important;
  overflow: hidden;
  border: 1px solid rgba(72, 216, 255, 0.17);
  border-radius: 28px;
  background:
    linear-gradient(rgba(72, 216, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 118, 255, 0.026) 1px, transparent 1px),
    linear-gradient(145deg, rgba(10, 22, 31, 0.985), rgba(9, 7, 15, 0.99));
  background-size: 48px 48px, 48px 48px, auto;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: #f7f6fb;
  font-size: 16px;
}

.pivx-staking-page #export-area.container::before {
  content: "";
  position: absolute;
  top: -390px;
  right: -260px;
  width: 670px;
  height: 670px;
  border: 1px solid rgba(72, 216, 255, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 82px rgba(72, 216, 255, 0.009), 0 0 0 164px rgba(184, 118, 255, 0.008);
  pointer-events: none;
}

.pivx-staking-page #export-area > * {
  position: relative;
  z-index: 1;
}

.pivx-staking-page #export-area > .pivx-subnav {
  margin: 0 0 14px;
  padding: 9px;
  border: 1px solid rgba(72, 216, 255, 0.15);
  border-radius: 15px;
  background: rgba(5, 11, 17, 0.72);
  backdrop-filter: blur(12px);
}

.pivx-staking-page .pivx-subnav .pivx-sub-btn {
  border: 1px solid rgba(184, 118, 255, 0.18);
  border-radius: 8px;
  background: rgba(184, 118, 255, 0.1);
  color: #e7dcf5;
  box-shadow: none;
}

.pivx-staking-page .pivx-subnav .pivx-sub-btn:hover,
.pivx-staking-page .pivx-subnav .pivx-sub-btn.is-active {
  border-color: rgba(72, 216, 255, 0.55);
  background: rgba(72, 216, 255, 0.12);
  color: #d9f8ff;
  box-shadow: 0 0 18px rgba(72, 216, 255, 0.16);
}

.pivx-staking-page .pivx-subnav .earn-btn,
.pivx-staking-page .pivx-subnav .earn-btn:hover {
  border-color: rgba(85, 245, 172, 0.38);
  background: rgba(85, 245, 172, 0.13);
  color: #c4ffdd;
}

.staking-hero {
  display: grid;
  grid-template-columns: minmax(310px, 0.88fr) minmax(0, 1.12fr);
  min-height: 205px;
  align-items: center;
  gap: 30px;
  margin-bottom: 14px;
  padding: 24px 30px;
  overflow: hidden;
  border: 1px solid rgba(72, 216, 255, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 13% 45%, rgba(72, 216, 255, 0.15), transparent 27%),
    radial-gradient(circle at 76% 12%, rgba(184, 118, 255, 0.11), transparent 33%),
    linear-gradient(125deg, rgba(8, 26, 37, 0.98), rgba(13, 9, 22, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 20px 46px rgba(0, 0, 0, 0.25);
}

.staking-hero__title {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.staking-eyebrow,
.staking-chart-eyebrow,
.staking-panel__index,
.staking-preview-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--staking-cyan);
  font-family: "Bahnschrift SemiCondensed", "Aptos", "Trebuchet MS", sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.staking-eyebrow::before,
.staking-chart-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.staking-hero__core {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(72, 216, 255, 0.44);
  border-radius: 21px;
  background: rgba(72, 216, 255, 0.08);
  box-shadow: 0 0 32px rgba(72, 216, 255, 0.17), inset 0 0 22px rgba(72, 216, 255, 0.07);
}

.staking-hero__core::before,
.staking-hero__orbit {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px dashed rgba(72, 216, 255, 0.22);
  border-radius: 25px;
  animation: staking-orbit 14s linear infinite;
}

.staking-hero__orbit {
  inset: -19px;
  border-color: transparent rgba(85, 245, 172, 0.32);
  border-radius: 50%;
  animation-duration: 9s;
  animation-direction: reverse;
}

.staking-hero__core svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: var(--staking-cyan);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 9px rgba(72, 216, 255, 0.58));
}

.pivx-staking-page .staking-hero h1 {
  max-width: 470px;
  margin: 0;
  background: linear-gradient(100deg, #fff 9%, #7fe8ff 51%, #bd84ff 93%);
  background-clip: text;
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 4.5vw, 4.25rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-align: left;
  -webkit-background-clip: text;
}

.staking-hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}

.staking-hero__signals span {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(3, 8, 13, 0.48);
  color: #b9b4c3;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.staking-hero__signals i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--staking-green);
  box-shadow: 0 0 10px var(--staking-green);
}

.staking-hero__signals span:first-child i {
  background: var(--staking-purple);
  box-shadow: 0 0 10px var(--staking-purple);
}

.pivx-staking-page .pivx-preview-box {
  padding: 22px 25px;
  border: 1px solid rgba(184, 118, 255, 0.26);
  border-left: 3px solid var(--staking-cyan);
  border-radius: 18px;
  background: rgba(5, 8, 15, 0.58);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  text-align: left;
}

.staking-preview-label {
  margin-bottom: 11px;
  color: var(--staking-green);
  font-size: 0.6rem;
}

.pivx-staking-page .pivx-preview-box h3 {
  margin: 0 0 10px;
  color: #eefcff;
  font-family: "Bahnschrift SemiCondensed", "Aptos", "Trebuchet MS", sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.72rem);
  line-height: 1.1;
}

.pivx-staking-page .pivx-preview-box p {
  margin: 0;
  color: var(--staking-muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.staking-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  margin-bottom: 14px;
}

.staking-mode-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--mode-border);
  border-radius: 21px;
  background:
    radial-gradient(circle at 95% 2%, var(--mode-glow), transparent 39%),
    linear-gradient(145deg, var(--mode-panel), rgba(8, 7, 14, 0.985));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.23), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.staking-mode-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  left: 22px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--mode-accent), transparent);
  box-shadow: 0 0 16px var(--mode-glow);
}

.staking-mode-card::after {
  content: "";
  position: absolute;
  top: -105px;
  right: -105px;
  width: 240px;
  height: 240px;
  border: 1px solid color-mix(in srgb, var(--mode-accent) 18%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 34px color-mix(in srgb, var(--mode-accent) 2.5%, transparent);
  pointer-events: none;
}

.staking-mode-card--cold {
  --mode-accent: var(--staking-green);
  --mode-border: rgba(85, 245, 172, 0.22);
  --mode-glow: rgba(85, 245, 172, 0.11);
  --mode-panel: rgba(8, 29, 29, 0.96);
}

.staking-mode-card--hot {
  --mode-accent: var(--staking-gold);
  --mode-border: rgba(255, 202, 99, 0.22);
  --mode-glow: rgba(255, 202, 99, 0.1);
  --mode-panel: rgba(29, 23, 20, 0.96);
}

.staking-mode-card .staking-panel__index {
  position: relative;
  z-index: 1;
  color: var(--mode-accent);
}

.pivx-staking-page .staking-mode-card h2 {
  position: relative;
  z-index: 1;
  margin: 10px 0 15px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--mode-accent) 22%, transparent);
  color: #f7f4fa;
  font-family: "Bahnschrift SemiCondensed", "Aptos", "Trebuchet MS", sans-serif;
  font-size: clamp(1.38rem, 2.2vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.staking-mode-card__lead {
  position: relative;
  z-index: 1;
  min-height: 108px;
  margin: 0;
  padding: 16px 17px;
  border: 1px solid color-mix(in srgb, var(--mode-accent) 19%, transparent);
  border-left: 3px solid var(--mode-accent);
  border-radius: 13px;
  background: color-mix(in srgb, var(--mode-accent) 5%, rgba(4, 5, 9, 0.52));
  color: #d8d1dd;
  font-size: 0.88rem;
  line-height: 1.62;
}

.staking-mode-card__lead strong {
  color: var(--mode-accent);
}

.staking-mode-card__lead a {
  color: var(--staking-gold);
  font-weight: 900;
  text-decoration: none;
}

.staking-mode-card__lead a:hover {
  color: #fff1bd;
  text-shadow: 0 0 12px rgba(255, 202, 99, 0.3);
}

.staking-mode-card__detail {
  position: relative;
  z-index: 1;
  flex: 1;
  margin-top: 13px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  background: rgba(3, 5, 9, 0.38);
}

.pivx-staking-page .staking-mode-card__detail h3 {
  margin: 0 0 10px;
  color: #f0ebf4;
  font-family: "Bahnschrift SemiCondensed", "Aptos", "Trebuchet MS", sans-serif;
  font-size: 1.05rem;
}

.staking-mode-card__detail p {
  margin: 0;
  color: #c7bfce;
  font-size: 0.88rem;
  line-height: 1.68;
}

.staking-mode-card__detail ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.staking-mode-card__detail li {
  position: relative;
  margin: 0;
  padding: 10px 11px 10px 34px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.16);
  color: #d3ccd8;
  font-size: 0.8rem;
  line-height: 1.45;
}

.staking-mode-card__detail li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 13px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--mode-accent);
  border-radius: 50%;
  box-shadow: 0 0 9px var(--mode-accent);
}

.staking-operations-grid.staking-operations-grid--single {
  grid-template-columns: 1fr;
}

.staking-mode-card {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 260ms ease;
}

.staking-mode-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--mode-accent) 45%, transparent);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3), 0 0 30px var(--mode-glow);
}

.staking-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: start;
  gap: 14px;
  margin-bottom: 14px;
}

.staking-side-stack {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.pivx-staking-page .staking-panel,
.pivx-staking-page .staking-thesis,
.staking-wallet-visual,
.staking-calculator-section,
.pivx-staking-page .staking-projection {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(72, 216, 255, 0.16);
  border-radius: 21px;
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 118, 255, 0.085), transparent 38%),
    linear-gradient(145deg, rgba(10, 23, 32, 0.96), rgba(9, 7, 15, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.23), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.pivx-staking-page .staking-panel,
.pivx-staking-page .staking-thesis {
  padding: 25px;
}

.pivx-staking-page .staking-panel::before,
.pivx-staking-page .staking-thesis::before,
.staking-wallet-visual::before,
.staking-calculator-section::before,
.pivx-staking-page .staking-projection::before {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  left: 22px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--staking-cyan), transparent);
  box-shadow: 0 0 15px rgba(72, 216, 255, 0.3);
  opacity: 0.7;
}

.pivx-staking-page .staking-panel h2,
.pivx-staking-page .staking-thesis h2,
.staking-section-heading h2,
.pivx-staking-page .staking-projection h2 {
  margin: 10px 0 16px !important;
  padding: 0 0 11px !important;
  border: 0;
  border-bottom: 1px solid rgba(72, 216, 255, 0.16);
  color: #f3eff9;
  font-family: "Bahnschrift SemiCondensed", "Aptos", "Trebuchet MS", sans-serif;
  font-size: clamp(1.22rem, 2vw, 1.52rem) !important;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.pivx-staking-page .staking-panel p,
.pivx-staking-page .staking-thesis p {
  color: #c5bdcf;
  line-height: 1.7;
}

.staking-mode-list {
  display: grid;
  grid-template-columns: minmax(170px, 0.72fr) minmax(0, 1.28fr);
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.staking-mode-list li {
  position: relative;
  margin: 0;
  padding: 17px 16px 16px 19px;
  border: 1px solid rgba(255, 202, 99, 0.2);
  border-radius: 14px;
  background: rgba(255, 202, 99, 0.055);
  color: #d9d0de;
  font-size: 0.86rem;
  line-height: 1.58;
}

.staking-mode-list li::before {
  content: "";
  position: absolute;
  inset: 13px auto 13px 0;
  width: 2px;
  border-radius: 9px;
  background: var(--staking-gold);
  box-shadow: 0 0 12px rgba(255, 202, 99, 0.55);
}

.staking-mode-list li:nth-child(2) {
  border-color: rgba(85, 245, 172, 0.22);
  background: rgba(85, 245, 172, 0.055);
}

.staking-mode-list li:nth-child(2)::before {
  background: var(--staking-green);
  box-shadow: 0 0 12px rgba(85, 245, 172, 0.55);
}

.staking-mode-list a {
  color: var(--staking-gold) !important;
  text-decoration: none;
}

.staking-mode-list a:hover {
  color: #fff3c7 !important;
  text-shadow: 0 0 12px rgba(255, 202, 99, 0.3);
}

.pivx-staking-page .staking-thesis {
  border-color: rgba(85, 245, 172, 0.19);
  background:
    radial-gradient(circle at 90% 12%, rgba(85, 245, 172, 0.1), transparent 36%),
    linear-gradient(145deg, rgba(8, 28, 28, 0.94), rgba(8, 9, 15, 0.98));
}

.pivx-staking-page .staking-thesis::before {
  background: linear-gradient(90deg, transparent, var(--staking-green), transparent);
}

.pivx-staking-page .staking-thesis .staking-panel__index {
  color: var(--staking-green);
}

.staking-wallet-visual {
  display: grid;
  align-content: center;
  min-height: 310px;
  padding: 20px;
  border-color: rgba(184, 118, 255, 0.2);
  background:
    radial-gradient(circle at 50% 42%, rgba(184, 118, 255, 0.14), transparent 44%),
    linear-gradient(145deg, rgba(16, 12, 28, 0.97), rgba(7, 10, 15, 0.98));
}

.staking-wallet-visual::before {
  background: linear-gradient(90deg, transparent, var(--staking-purple), transparent);
}

.staking-wallet-visual__frame {
  position: relative;
  padding: 7px;
  border: 1px solid rgba(184, 118, 255, 0.36);
  border-radius: 16px;
  background: rgba(5, 4, 10, 0.62);
  box-shadow: 0 0 30px rgba(184, 118, 255, 0.13), inset 0 1px rgba(255, 255, 255, 0.035);
}

.staking-wallet-visual__frame::before,
.staking-wallet-visual__frame::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--staking-cyan);
  pointer-events: none;
}

.staking-wallet-visual__frame::before {
  top: -2px;
  left: -2px;
  border-top: 2px solid;
  border-left: 2px solid;
  border-radius: 8px 0 0;
}

.staking-wallet-visual__frame::after {
  right: -2px;
  bottom: -2px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  border-radius: 0 0 8px;
}

.staking-wallet-visual img {
  display: block;
  width: 100%;
  max-width: none;
  border: 0;
  border-radius: 11px;
  box-shadow: none;
}

.staking-wallet-visual figcaption {
  margin-top: 12px;
  color: #a89fb4;
  font-size: 0.75rem;
  text-align: center;
}

.staking-operations-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: 14px;
  margin-bottom: 14px;
}

.pivx-staking-page .staking-panel--requirements {
  border-color: rgba(255, 202, 99, 0.2);
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 202, 99, 0.105), transparent 40%),
    linear-gradient(145deg, rgba(26, 22, 20, 0.96), rgba(9, 8, 14, 0.98));
}

.pivx-staking-page .staking-panel--requirements::before {
  background: linear-gradient(90deg, transparent, var(--staking-gold), transparent);
}

.pivx-staking-page .staking-panel--requirements .staking-panel__index {
  color: var(--staking-gold);
}

.staking-panel--requirements ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.staking-panel--requirements li {
  position: relative;
  margin: 0;
  padding: 12px 12px 12px 40px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 11px;
  background: rgba(4, 4, 8, 0.3);
  color: #d2cbd9;
  font-size: 0.84rem;
  line-height: 1.5;
}

.staking-panel--requirements li::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--staking-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 202, 99, 0.45);
}

.pivx-staking-page .staking-panel--rewards {
  min-width: 0;
}

.pivx-staking-page .staking-panel--rewards > p strong {
  color: var(--staking-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16em;
}

.pivx-staking-page .staking-panel--rewards .table-wrapper {
  padding-bottom: 3px;
  overflow-x: auto;
}

.pivx-staking-page .staking-rewards-table,
.pivx-staking-page #rewardsTable {
  width: 100%;
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid rgba(72, 216, 255, 0.14);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  font-size: 0.85rem;
}

.pivx-staking-page .staking-rewards-table {
  min-width: 620px;
}

.pivx-staking-page .staking-rewards-table th,
.pivx-staking-page .staking-rewards-table td,
.pivx-staking-page #rewardsTable th,
.pivx-staking-page #rewardsTable td {
  padding: 11px 12px;
  border: 0;
  border-right: 1px solid rgba(72, 216, 255, 0.09);
  border-bottom: 1px solid rgba(72, 216, 255, 0.09);
  background: rgba(4, 9, 14, 0.46);
  color: #e0dbe7;
  text-align: center;
}

.pivx-staking-page .staking-rewards-table th,
.pivx-staking-page #rewardsTable th {
  background: rgba(72, 216, 255, 0.09);
  color: #dffaff;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.055em;
}

.pivx-staking-page .staking-rewards-table tr:last-child td,
.pivx-staking-page #rewardsTable tr:last-child td { border-bottom: 0; }
.pivx-staking-page .staking-rewards-table th:last-child,
.pivx-staking-page .staking-rewards-table td:last-child,
.pivx-staking-page #rewardsTable th:last-child,
.pivx-staking-page #rewardsTable td:last-child { border-right: 0; }

.pivx-staking-page .staking-rewards-table td:first-child {
  color: var(--staking-cyan);
  font-weight: 900;
}

.pivx-staking-page .highlight-cell {
  background: linear-gradient(135deg, rgba(116, 72, 223, 0.86), rgba(85, 245, 172, 0.62)) !important;
  color: #fff !important;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.08), 0 0 20px rgba(85, 245, 172, 0.13);
}

.staking-calculator-section {
  margin-bottom: 14px;
  padding: 28px 24px 24px;
}

.staking-calculator-section::before {
  background: linear-gradient(90deg, transparent, var(--staking-purple), var(--staking-cyan), transparent);
}

.staking-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.staking-section-heading h2 {
  flex: 1;
  margin-bottom: 0 !important;
}

.pivx-staking-page .calculator {
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pivx-staking-page .live-rate-panel {
  padding: 20px 22px;
  border-color: rgba(72, 216, 255, 0.25);
  background:
    radial-gradient(circle at 90% 0%, rgba(72, 216, 255, 0.11), transparent 36%),
    rgba(3, 11, 18, 0.72);
  box-shadow: inset 0 1px rgba(255,255,255,0.025), 0 15px 35px rgba(0,0,0,0.18);
}

.pivx-staking-page .live-rate-panel__metrics span {
  border-color: rgba(72, 216, 255, 0.11);
  background: rgba(72, 216, 255, 0.035);
}

.pivx-staking-page .calc-inputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 13px;
}

.pivx-staking-page .calc-inputs label {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 13px;
  background: rgba(4, 5, 10, 0.43);
  color: #cfc8d8;
  font-size: 0.76rem;
  font-weight: 800;
}

.pivx-staking-page .calc-inputs input {
  min-height: 48px;
  margin-top: 8px;
  border-color: rgba(72, 216, 255, 0.13);
  border-radius: 9px;
  background: rgba(2, 6, 11, 0.78);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}

.pivx-staking-page .rate-field__control {
  margin-top: 8px;
}

.pivx-staking-page .rate-field__control input {
  margin-top: 0;
}

.pivx-staking-page .calculator > button[onclick] {
  min-width: 190px;
  min-height: 46px;
  margin: 0;
  padding: 0 23px;
  border: 1px solid rgba(85, 245, 172, 0.48);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(85, 245, 172, 0.22), rgba(72, 216, 255, 0.13));
  color: #dffff0;
  font-family: "Bahnschrift SemiCondensed", "Aptos", "Trebuchet MS", sans-serif;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(85, 245, 172, 0.09);
}

.pivx-staking-page .calculator > button[onclick]:hover {
  border-color: var(--staking-green);
  box-shadow: 0 0 24px rgba(85, 245, 172, 0.18);
}

.pivx-staking-page #rewardsTable {
  min-width: 560px;
  margin-top: 17px;
}

.pivx-staking-page .reward-interval {
  margin-top: 14px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 202, 99, 0.18);
  border-left: 3px solid var(--staking-gold);
  border-radius: 12px;
  background: rgba(255, 202, 99, 0.055);
  color: #d9d1df;
}

.pivx-staking-page .reward-interval strong {
  color: var(--staking-gold);
}

.pivx-staking-page .staking-history {
  margin: 0 0 14px;
  border-color: rgba(184, 118, 255, 0.22);
  box-shadow: 0 22px 58px rgba(0,0,0,0.29), inset 0 1px rgba(255,255,255,0.025);
}

.pivx-staking-page .staking-history__header h2 {
  border-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.04em;
}

.pivx-staking-page .staking-history__metrics article {
  position: relative;
  overflow: hidden;
  border-color: rgba(255,255,255,0.085);
  background: rgba(3, 5, 11, 0.58);
}

.pivx-staking-page .staking-history__metrics article::after {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -35px;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(184, 118, 255, 0.11);
  border-radius: 50%;
}

.pivx-staking-page .staking-history__chart {
  border-color: rgba(72, 216, 255, 0.15);
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
    rgba(2, 7, 14, 0.76);
  background-size: 38px 38px;
}

.pivx-staking-page .staking-projection {
  display: block;
  margin: 0;
  padding: 28px 25px 24px;
  border-color: rgba(85, 245, 172, 0.17);
  background:
    radial-gradient(circle at 88% 4%, rgba(85, 245, 172, 0.08), transparent 31%),
    radial-gradient(circle at 12% 100%, rgba(184, 118, 255, 0.1), transparent 38%),
    linear-gradient(145deg, rgba(9, 21, 29, 0.97), rgba(8, 7, 14, 0.99));
}

.pivx-staking-page .staking-projection::before {
  background: linear-gradient(90deg, transparent, var(--staking-green), var(--staking-purple), transparent);
}

.staking-chart-eyebrow {
  color: var(--staking-green);
}

.pivx-staking-page .staking-projection h2 {
  margin: 9px 0 17px !important;
  font-size: clamp(1.28rem, 2.3vw, 1.8rem) !important;
}

.staking-chart-stage {
  position: relative;
  height: 370px;
  padding: 13px 8px 4px;
  border: 1px solid rgba(72, 216, 255, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
    rgba(3, 7, 12, 0.55);
  background-size: 36px 36px;
}

.staking-chart-stage canvas {
  width: 100% !important;
  height: 100% !important;
}

.staking-chart-note {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 202, 99, 0.17);
  border-radius: 12px;
  background: rgba(255, 202, 99, 0.05);
  color: #e8d695;
  font-size: 0.88rem;
  line-height: 1.6;
}

.staking-export-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.pivx-staking-page .download-btn {
  min-height: 42px;
  margin: 0;
  padding: 0 17px;
  border: 1px solid rgba(184, 118, 255, 0.38);
  border-radius: 10px;
  background: rgba(184, 118, 255, 0.1);
  color: #efe2ff;
  font-family: "Bahnschrift SemiCondensed", "Aptos", "Trebuchet MS", sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  box-shadow: none;
}

.pivx-staking-page .download-btn:hover,
.pivx-staking-page .download-btn:focus-visible {
  border-color: var(--staking-purple);
  outline: none;
  background: rgba(184, 118, 255, 0.16);
  box-shadow: 0 0 22px rgba(184, 118, 255, 0.18);
}

.pivx-staking-page .staking-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(72, 216, 255, 0.12);
  border-radius: 15px;
  background: rgba(4, 9, 14, 0.65);
  text-align: left;
}

.pivx-staking-page .staking-footer img {
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 9px;
  object-fit: contain;
  box-shadow: 0 0 17px rgba(72, 216, 255, 0.14);
}

.pivx-staking-page .staking-footer span {
  color: #908a9b;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.pivx-staking-page .staking-panel,
.pivx-staking-page .staking-thesis,
.staking-wallet-visual,
.staking-calculator-section,
.pivx-staking-page .staking-history,
.pivx-staking-page .staking-projection {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 260ms ease;
}

.pivx-staking-page .staking-panel:hover,
.pivx-staking-page .staking-thesis:hover,
.staking-wallet-visual:hover,
.staking-calculator-section:hover,
.pivx-staking-page .staking-history:hover,
.pivx-staking-page .staking-projection:hover {
  transform: translateY(-3px);
  border-color: rgba(72, 216, 255, 0.34);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3), 0 0 30px rgba(72, 216, 255, 0.035);
}

/* Unified live dashboard: the network overview now lives in the hero. */
.pivx-staking-page .staking-hero {
  grid-template-areas:
    "kicker kicker"
    "title preview"
    "live live"
    "metrics metrics";
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  min-height: 0;
  align-items: center;
  gap: 16px 30px;
  padding: 21px 30px 24px;
}

.pivx-staking-page .staking-hero__kicker {
  position: relative;
  z-index: 1;
  grid-area: kicker;
  color: var(--staking-cyan);
  font-family: "Bahnschrift SemiCondensed", "Aptos", "Trebuchet MS", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pivx-staking-page .staking-hero__title {
  grid-area: title;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  gap: 22px;
}

.pivx-staking-page .staking-hero__title h1 {
  max-width: none;
}

.pivx-staking-page .staking-hero__core {
  width: 68px;
  height: 68px;
}

.pivx-staking-page .staking-hero > .pivx-preview-box {
  grid-area: preview;
}

.pivx-staking-page .staking-hero__live {
  position: relative;
  z-index: 1;
  grid-area: live;
  display: grid;
  grid-template-columns: minmax(250px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 18px;
  padding: 11px 14px;
  border: 1px solid rgba(72, 216, 255, 0.17);
  border-radius: 12px;
  background: rgba(3, 11, 18, 0.66);
  color: var(--staking-muted);
  font-size: 0.76rem;
}

.pivx-staking-page .staking-hero__live-headline,
.pivx-staking-page .staking-hero__source {
  display: flex;
  align-items: center;
  gap: 9px;
}

.pivx-staking-page .staking-hero__live-headline strong {
  color: #f2fbff;
  font-size: 0.88rem;
}

.pivx-staking-page .staking-hero__source {
  justify-content: flex-end;
  white-space: nowrap;
}

.pivx-staking-page .staking-hero__source a {
  color: var(--staking-green);
  font-weight: 800;
  text-decoration: none;
}

.pivx-staking-page .staking-hero__source a:hover {
  color: #fff;
}

.pivx-staking-page .staking-hero__metrics {
  position: relative;
  z-index: 1;
  grid-area: metrics;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding-top: 15px;
  border-top: 1px solid rgba(72, 216, 255, 0.18);
}

.pivx-staking-page .staking-hero__metrics article {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(72, 216, 255, 0.16);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(72, 216, 255, 0.055), rgba(85, 245, 172, 0.025));
}

.pivx-staking-page .staking-hero__metrics small {
  display: block;
  margin-bottom: 6px;
  color: #9e97af;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pivx-staking-page .staking-hero__metrics strong {
  display: block;
  color: var(--staking-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.pivx-staking-page .staking-hero__metrics article:nth-child(4) strong,
.pivx-staking-page .staking-hero__metrics article:nth-child(6) strong {
  color: var(--staking-cyan);
}

.pivx-staking-page .staking-hero__metrics article:nth-child(5) strong {
  color: #fff;
}

@keyframes staking-orbit {
  to { transform: rotate(360deg); }
}

@media (max-width: 940px) {
  .pivx-staking-page .staking-hero {
    grid-template-areas:
      "kicker"
      "title"
      "preview"
      "live"
      "metrics";
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pivx-staking-page .staking-hero__title {
    justify-items: start;
  }

  .pivx-staking-page .staking-hero h1 {
    max-width: none;
    text-align: left;
  }

  .pivx-staking-page .staking-hero__metrics {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .staking-intro-grid,
  .staking-operations-grid {
    grid-template-columns: 1fr;
  }

  .staking-side-stack {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }

  .staking-wallet-visual {
    min-height: 0;
  }

  .pivx-staking-page .calc-inputs {
    grid-template-columns: 1fr 1fr;
  }

  .pivx-staking-page .calc-inputs label:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .pivx-staking-page #export-area.container {
    width: min(100% - 14px, 1180px);
    margin-top: 8px;
    margin-bottom: 38px;
    padding: 8px 9px 12px !important;
    border-radius: 18px;
  }

  .pivx-staking-page #export-area > .pivx-subnav {
    justify-content: center;
    padding: 7px;
  }

  .pivx-staking-page .staking-hero {
    min-height: 0;
    margin-bottom: 9px;
    gap: 15px;
    padding: 18px 14px;
    border-radius: 17px;
  }

  .pivx-staking-page .staking-hero__kicker {
    justify-self: center;
    font-size: 0.62rem;
    text-align: center;
  }

  .pivx-staking-page .staking-hero__title {
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    gap: 9px 13px;
  }

  .staking-eyebrow {
    grid-column: 1 / -1;
    justify-self: center;
    font-size: 0.58rem;
    text-align: center;
  }

  .pivx-staking-page .staking-hero__core {
    grid-column: 1;
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .staking-hero__core svg {
    width: 25px;
    height: 25px;
  }

  .pivx-staking-page .staking-hero h1 {
    grid-column: 2;
    font-size: clamp(1.82rem, 9.5vw, 2.45rem);
    text-align: left;
  }

  .pivx-staking-page .staking-hero__live {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 11px;
  }

  .pivx-staking-page .staking-hero__source {
    justify-content: flex-start;
    flex-wrap: wrap;
    white-space: normal;
  }

  .pivx-staking-page .staking-hero__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding-top: 12px;
  }

  .pivx-staking-page .staking-hero__metrics article {
    padding: 10px;
  }

  .pivx-staking-page .staking-hero__metrics strong {
    font-size: 1rem;
  }

  .pivx-staking-page .pivx-preview-box {
    padding: 17px;
    border-radius: 14px;
  }

  .pivx-staking-page .pivx-preview-box h3 {
    font-size: 1.16rem;
  }

  .pivx-staking-page .pivx-preview-box p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .staking-intro-grid,
  .staking-operations-grid,
  .staking-side-stack {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-bottom: 9px;
  }

  .staking-mode-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-bottom: 9px;
  }

  .staking-mode-card {
    padding: 20px 15px;
    border-radius: 16px;
  }

  .staking-mode-card__lead {
    min-height: 0;
  }

  .pivx-staking-page .staking-panel,
  .pivx-staking-page .staking-thesis,
  .staking-wallet-visual,
  .staking-calculator-section,
  .pivx-staking-page .staking-projection {
    padding: 20px 15px;
    border-radius: 16px;
  }

  .staking-mode-list {
    grid-template-columns: 1fr;
  }

  .staking-section-heading {
    display: block;
  }

  .staking-section-heading h2 {
    margin-top: 9px !important;
  }

  .pivx-staking-page .live-rate-panel {
    padding: 16px;
  }

  .pivx-staking-page .calc-inputs {
    grid-template-columns: 1fr;
  }

  .pivx-staking-page .calc-inputs label:last-child {
    grid-column: auto;
  }

  .pivx-staking-page .calculator > button[onclick] {
    width: 100%;
  }

  .pivx-staking-page .staking-history {
    margin-bottom: 9px;
  }

  .staking-chart-stage {
    height: 330px;
    padding-inline: 3px;
  }

  .staking-export-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pivx-staking-page .download-btn {
    padding: 0 8px;
    font-size: 0.66rem;
  }
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .staking-hero__core::before,
  .staking-hero__orbit {
    animation: none;
  }

  .pivx-staking-page .staking-panel:hover,
  .pivx-staking-page .staking-thesis:hover,
  .staking-wallet-visual:hover,
  .staking-calculator-section:hover,
  .pivx-staking-page .staking-history:hover,
  .pivx-staking-page .staking-projection:hover {
    transform: none;
  }

  .staking-mode-card:hover {
    transform: none;
  }
}
