.rv-profile-theme-panel {
  display: grid;
  gap: 12px;
  margin: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  color: inherit;
}

.rv-profile-theme-panel h3 {
  margin: 0;
  font-size: 16px;
}

.rv-profile-theme-panel p {
  margin: 0;
  color: currentColor;
  opacity: .68;
  font-size: 13px;
  line-height: 1.4;
}

.rv-profile-theme-preview {
  min-height: 112px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: var(--rvpt-background, #2b2d31);
}

.rv-profile-theme-preview-banner {
  height: 48px;
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 255, 255, .22), transparent 7rem),
    linear-gradient(135deg, var(--rvpt-banner, #5865f2), var(--rvpt-accent, #eb459e));
}

.rv-profile-theme-preview-body {
  padding: 12px;
  color: var(--rvpt-foreground, #f2f3f5);
}

.rv-profile-theme-swatches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rv-profile-theme-swatch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.rv-profile-theme-swatch input {
  width: 42px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
}

.rv-profile-theme-actions {
  display: flex;
  gap: 8px;
}

.rv-profile-theme-actions button {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 7px;
  background: rgba(255, 255, 255, .08);
  color: inherit;
  cursor: pointer;
  padding: 0 12px;
}

.rv-profile-theme-actions button:first-child {
  background: var(--rvpt-banner, #5865f2);
  color: #fff;
}

.rv-themed-profile-card {
  position: relative;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--rvpt-banner, #5865f2) 60%, rgba(255,255,255,.18)) !important;
  background: var(--rvpt-background, #2b2d31) !important;
  color: var(--rvpt-foreground, #f2f3f5) !important;
}

.rv-themed-profile-card::before {
  content: "";
  display: block;
  height: 86px;
  margin: -16px -16px 12px;
  background:
    radial-gradient(circle at 18% 24%, rgba(255,255,255,.22), transparent 9rem),
    linear-gradient(135deg, var(--rvpt-banner, #5865f2), var(--rvpt-accent, #eb459e));
}
