body.vpt-app-theme .vup-page,
.vup-page {
  width: min(1120px, calc(100vw - 32px));
  margin: 70px auto;
  color: #f4f7f6;
  font-family: "Inter", system-ui, sans-serif;
}

.vup-hero,
.vup-panel,
.vup-empty,
.vup-card,
.vup-design-card {
  border: 1px solid rgba(0, 240, 138, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 240, 138, 0.10), transparent 38%),
    rgba(15, 18, 17, 0.93);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.vup-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
}

.vup-kicker {
  color: #00f08a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vup-hero h1,
.vup-panel h2,
.vup-card h2,
.vup-empty h2,
.vup-design-card h2 {
  margin: 8px 0;
  color: #fff;
}

.vup-hero p,
.vup-card p,
.vup-empty p,
.vup-design-card p {
  margin: 0;
  color: #8f9896;
  line-height: 1.55;
}

.vup-balance-card {
  min-width: 220px;
  border: 1px solid rgba(0, 240, 138, 0.30);
  border-radius: 18px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.24);
  text-align: right;
}

.vup-balance-card span,
.vup-summary span {
  display: block;
  color: #8f9896;
  font-size: 0.78rem;
}

.vup-balance-card strong {
  display: block;
  margin-top: 6px;
  color: #00f08a;
  font-size: 2rem;
}

.vup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.vup-card {
  display: block;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

a.vup-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 240, 138, 0.48);
}

.vup-card__icon,
.vup-empty__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgba(0, 240, 138, 0.12);
  color: #00f08a;
  font-size: 1.2rem;
}

.vup-panel {
  margin-top: 18px;
  padding: 26px;
}

.vup-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.vup-summary div {
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.vup-summary strong {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.vup-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: #00f08a;
  color: #04150d;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
}

.vup-button--ghost {
  border: 1px solid rgba(0, 240, 138, 0.34);
  background: transparent;
  color: #d9ffef;
}

.vup-button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.vup-empty {
  display: grid;
  justify-items: center;
  margin-top: 18px;
  padding: 52px 24px;
  text-align: center;
}

.vup-empty p {
  max-width: 520px;
  margin-bottom: 18px;
}

.vup-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.vup-design-card {
  overflow: hidden;
}

.vup-design-card__image {
  display: grid;
  aspect-ratio: 8 / 10;
  place-items: center;
  background: #111;
}

.vup-design-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vup-design-card__body {
  padding: 18px;
}

.vup-design-card small {
  display: block;
  margin-top: 6px;
  color: #75807d;
}

.vup-design-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

@media (max-width: 920px) {
  .vup-grid,
  .vup-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vup-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.vpt-app-theme .vup-page,
  .vup-page {
    width: min(100% - 20px, 1120px);
    margin: 48px auto;
  }

  .vup-hero {
    align-items: stretch;
    flex-direction: column;
    padding: 24px 18px;
  }

  .vup-balance-card {
    min-width: 0;
    text-align: left;
  }

  .vup-grid,
  .vup-library-grid {
    grid-template-columns: 1fr;
  }
}
