/* Shared visual refinements for PEPEPOW Lab Pool public pages. */
.page-lead {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.8vw, 1.08rem);
  line-height: 1.5;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head h2,
.section-head h3 {
  margin: 0;
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.quick-guide-link {
  width: fit-content !important;
  margin-top: 0.65rem !important;
  padding: 0.48rem 0.75rem !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--accent), #b8ffd3) !important;
  color: #05210f !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  line-height: 1 !important;
  box-shadow: 0 4px 12px rgba(129, 247, 176, 0.18) !important;
}

.status-strip,
.compact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.status-strip > div,
.compact-grid > div {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-strip span,
.compact-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-strip strong,
.compact-grid strong {
  display: block;
  margin-top: 0.25rem;
  overflow-wrap: anywhere;
}

.two-col-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 1rem;
  align-items: start;
}

.stack-panels {
  display: grid;
  gap: 1rem;
}

.panel.compact-panel {
  padding: 1.15rem;
}

.notice-line {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.42;
}

.table-wrap {
  overflow-x: auto;
}

.table-wrap table {
  min-width: 760px;
}

.payments-table-wide .table-wrap table {
  min-width: 980px;
}

.payment-amount {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.payment-source-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.payment-source-list code {
  font-size: 0.82rem;
}

.calc-results {
  display: grid;
  gap: 0.75rem;
}

.calc-pepew-stack {
  display: grid;
  gap: 0.6rem;
}

.calc-pepew-stack > div,
.calc-usdt-row > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.78rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.calc-pepew-stack span,
.calc-usdt-row span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calc-pepew-stack strong,
.calc-usdt-row strong {
  white-space: nowrap;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  text-align: right;
}

.calc-usdt-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.code-block {
  white-space: pre-wrap;
  word-break: break-word;
}

.endpoint-grid .item-card p:last-child {
  margin-bottom: 0;
}

.leaderboard-row {
  position: relative;
}

.leaderboard-row .leaderboard-wallet {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.leaderboard-row .leaderboard-wallet:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .two-col-layout,
  .status-strip,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }
}

@media (max-width: 640px) {
  .calc-usdt-row {
    grid-template-columns: 1fr;
  }
}